Skip to content

Commit

Permalink
version bump & npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
shuvo7670 committed May 29, 2024
1 parent 9826f15 commit 8bfea2a
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 36 deletions.
10 changes: 9 additions & 1 deletion includes/Admin/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,19 @@ protected function advanced_scheduled_view( $posts, $allData ) {
}

public function get_advanced_post_data(){
$adv_data = get_post_meta(get_the_ID(), 'wpscp_pending_schedule', true);
$advance_schedule_date = $this->wpsp_get_advance_schedule_date( get_the_ID() );
$advance_schedule_date = get_gmt_from_date( $advance_schedule_date, 'Y-m-d H:i:s' );
$post_title = '';
if( !empty( $adv_data['post_title'] ) ) {
$post_title = wp_trim_words( $adv_data['post_title'], 3, '...');
}else{
$post_title = wp_trim_words(get_the_title(), 3, '...');
}

return array(
'postId' => get_the_ID(),
'title' => wp_trim_words(get_the_title(), 3, '...'),
'title' => $post_title,
'href' => get_the_permalink(),
'edit' => get_edit_post_link(get_the_ID(), null),
'postType' => get_post_type(),
Expand Down
4 changes: 2 additions & 2 deletions includes/Admin/Settings/assets/css/admin.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions includes/Admin/Settings/assets/css/calendar.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/admin.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'cbf719bf8f397e026b7b');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'd46b80f29fce2445d739');
2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/calendar.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => '6b283ac7896f93a2bf2c');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => 'fcfafa7802eef350089d');
2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/calendar.js

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions languages/wp-scheduled-posts.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the SchedulePress plugin.
msgid ""
msgstr ""
"Project-Id-Version: SchedulePress 5.1.0\n"
"Project-Id-Version: SchedulePress 5.1.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-scheduled-posts\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-04-30T08:32:29+00:00\n"
"POT-Creation-Date: 2024-05-29T07:44:06+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: wp-scheduled-posts\n"
Expand Down Expand Up @@ -235,19 +235,19 @@ msgstr ""
msgid "Your post successfully scheduled"
msgstr ""

#: includes/Admin/Calendar.php:460
#: includes/Admin/Calendar.php:624
#: includes/Admin/Calendar.php:652
#: includes/Admin/Calendar.php:468
#: includes/Admin/Calendar.php:632
#: includes/Admin/Calendar.php:660
msgid "Post type isn't allowed in Settings page."
msgstr ""

#: includes/Admin/Calendar.php:581
#: includes/Admin/Calendar.php:589
msgid "Type is required."
msgstr ""

#: includes/Admin/Calendar.php:584
#: includes/Admin/Calendar.php:606
#: includes/Social/SocialProfile.php:60
#: includes/Admin/Calendar.php:592
#: includes/Admin/Calendar.php:614
#: includes/Social/SocialProfile.php:61
msgid "Something went wrong."
msgstr ""

Expand Down Expand Up @@ -902,17 +902,17 @@ msgstr ""

#: includes/Social/InstantShare.php:325
#: includes/Social/InstantShare.php:425
#: includes/Social/SocialProfile.php:200
#: includes/Social/SocialProfile.php:272
#: includes/Social/SocialProfile.php:617
#: includes/Social/SocialProfile.php:201
#: includes/Social/SocialProfile.php:273
#: includes/Social/SocialProfile.php:637
msgid "Invalid nonce."
msgstr ""

#: includes/Social/InstantShare.php:330
#: includes/Social/InstantShare.php:431
#: includes/Social/SocialProfile.php:204
#: includes/Social/SocialProfile.php:278
#: includes/Social/SocialProfile.php:623
#: includes/Social/SocialProfile.php:205
#: includes/Social/SocialProfile.php:279
#: includes/Social/SocialProfile.php:643
msgid "You are unauthorized to access social profiles."
msgstr ""

Expand All @@ -928,7 +928,7 @@ msgstr ""
msgid "Your post has been successfully shared!"
msgstr ""

#: includes/Social/SocialProfile.php:24
#: includes/Social/SocialProfile.php:25
msgid "Multi Profile is a Premium Feature. To use this feature, Upgrade to Pro."
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wp-scheduled-posts",
"version": "5.1.0",
"version": "5.1.1",
"description": "=== WP Scheduled Posts ===\r Contributors: wpdevteam, Asif2BD, re_enter_rupok, onetarek, hakimcseru, nayanchamp7\r Tags: post schedule, editor calendar, schedule-calendar, schedule bar, scheduled posts, schedule, schedule widget, scheduler, schedule menu bar, admin bar, dashboard widget, missed scheduled, calendar, missed schedule, future post, schedule issue, post later, admin bar, admin, multi author\r Requires at least: 4.0\r Tested up to: 5.0\r Requires PHP: 5.4\r Stable tag: 2.0.2\r License: GPLv3\r License URI: https://opensource.org/licenses/GPL-3.0",
"scripts": {
"build": "wp-scripts build",
Expand Down
13 changes: 5 additions & 8 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: post schedule, schedule calendar, auto scheduler, auto sharing, social sha
Requires at least: 4.0
Tested up to: 6.5
Requires PHP: 7.2
Stable tag: 5.1.0
Stable tag: 5.1.1
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -208,6 +208,10 @@ No, SchedulePress doesn’t require any additional plugin. All you have to do is

== Changelog ==

= 5.1.1 - 2024-05-29 =
- Improved: Profile image visibility for connected Social Profiles.
- Few minor bug fixes & improvements.

= 5.1.0 - 2024-04-30 =
- Added: Instagram Social Share.
- Improved: Twitter Post sharing.
Expand All @@ -224,13 +228,6 @@ No, SchedulePress doesn’t require any additional plugin. All you have to do is
- Fixed: Uncaught TypeError: array_slice().
- Few minor bug fixes & improvements.

= 5.0.9 - 2024-03-07 =
- Added: Social Media selection option for Elementor.
- Improved: Security Enhancement.
- Improved: Overall social sharing option.
- Improved: LinkedIn API versioning.
- Few minor bug fix & improvements.

[See changelog for all versions](https://schedulepress.com/changelog)

== Upgrade Notice ==
Expand Down
4 changes: 2 additions & 2 deletions wp-scheduled-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* Plugin Name: SchedulePress
* Description: Automate your content workflow with SchedulePress. Take a quick glance at your content planning with Schedule Calendar, Dashboard widget & Sitewide admin bar. Instantly share your posts on social media platforms such as Facebook, Twitter & many more.
* Version: 5.1.0
* Version: 5.1.1
* Author: WPDeveloper
* Author URI: https://wpdeveloper.com
* Text Domain: wp-scheduled-posts
Expand Down Expand Up @@ -75,7 +75,7 @@ public function define_constants()
/**
* Defines CONSTANTS for Whole plugins.
*/
define('WPSP_VERSION', '5.1.0');
define('WPSP_VERSION', '5.1.1');
define('WPSP_SETTINGS_NAME_OLD', 'wpsp_settings');
define('WPSP_SETTINGS_NAME', 'wpsp_settings_v5');
define('WPSP_PLUGIN_FILE', __FILE__);
Expand Down

0 comments on commit 8bfea2a

Please sign in to comment.