Changeset 1809658
- Timestamp:
- 01/25/2018 10:13:27 PM (8 years ago)
- Location:
- publishpress/trunk
- Files:
-
- 2 added
- 8 edited
-
.babelrc (added)
-
includes.php (modified) (1 diff)
-
libraries/Notifications/Workflow/Controller.php (modified) (1 diff)
-
libraries/Notifications/Workflow/Step/Receiver/Follower.php (added)
-
modules/custom-status/custom-status.php (modified) (1 diff)
-
modules/custom-status/lib/custom-status.css (modified) (1 diff)
-
modules/improved-notifications/improved-notifications.php (modified) (1 diff)
-
modules/notifications/notifications.php (modified) (1 diff)
-
publishpress.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
publishpress/trunk/includes.php
r1805300 r1809658 41 41 42 42 // Define contants 43 define( 'PUBLISHPRESS_VERSION', '1.9. 3' );43 define( 'PUBLISHPRESS_VERSION', '1.9.4' ); 44 44 define( 'PUBLISHPRESS_ROOT', dirname( __FILE__ ) ); 45 45 define( 'PUBLISHPRESS_FILE_PATH', PUBLISHPRESS_ROOT . '/' . basename( __FILE__ ) ); -
publishpress/trunk/libraries/Notifications/Workflow/Controller.php
r1805300 r1809658 126 126 '\\PublishPress\\Notifications\\Workflow\\Step\\Receiver\\User', 127 127 '\\PublishPress\\Notifications\\Workflow\\Step\\Receiver\\User_Group', 128 '\\PublishPress\\Notifications\\Workflow\\Step\\Receiver\\Follower', 128 129 ]; 129 130 /** -
publishpress/trunk/modules/custom-status/custom-status.php
r1805300 r1809658 2027 2027 2028 2028 // Encourage a pretty permalink setting 2029 if ('' == get_option('permalink_structure') && current_user_can('manage_options') && !('page' == get_option('show_on_front') && $ id == get_option('page_on_front'))) {2029 if ('' == get_option('permalink_structure') && current_user_can('manage_options') && !('page' == get_option('show_on_front') && $post_id == get_option('page_on_front'))) { 2030 2030 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-small" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; 2031 2031 } -
publishpress/trunk/modules/custom-status/lib/custom-status.css
r1586663 r1809658 1 /* Hide the post-state (status) span since we display a custom column with post status */2 span.post-state {3 display: none;4 } -
publishpress/trunk/modules/improved-notifications/improved-notifications.php
r1805300 r1809658 412 412 } 413 413 414 if ( in_array( $hook_suffix, [ 'post.php' ] ) ) {414 if ( in_array( $hook_suffix, [ 'post.php', 'post-new.php' ] ) ) { 415 415 wp_enqueue_script( 'psppno-workflow-form', plugin_dir_url( __FILE__ ) . 'assets/js/workflow_form.js', [], PUBLISHPRESS_VERSION ); 416 416 wp_enqueue_script( 'psppno-multiple-select', plugin_dir_url( __FILE__ ) . 'assets/js/multiple-select.js', [], PUBLISHPRESS_VERSION ); -
publishpress/trunk/modules/notifications/notifications.php
r1805300 r1809658 978 978 case 'user_email': 979 979 $users[$key] = $new_user->user_email; 980 break; 981 case 'object': 982 $users[$key] = $new_user; 980 983 break; 981 984 } -
publishpress/trunk/publishpress.php
r1805300 r1809658 6 6 * Author: PressShack 7 7 * Author URI: https://publishpress.com 8 * Version: 1.9. 38 * Version: 1.9.4 9 9 * Text Domain: publishpress 10 10 * Domain Path: /languages … … 420 420 421 421 public function filter_custom_menu_order( $menu_ord ) { 422 global $submenu; 423 424 $submenu_pp = $submenu['pp-calendar']; 425 $new_submenu = array(); 426 427 // Calendar 428 if (isset($submenu_pp[0])) { 429 $new_submenu[] = $submenu_pp[0]; 430 } 431 432 // Content Overview 433 if (isset($submenu_pp[1])) { 434 $new_submenu[] = $submenu_pp[1]; 435 } 436 437 // Notifications 438 if (isset($submenu_pp[4])) { 439 $new_submenu[] = $submenu_pp[4]; 440 } 441 442 // Settings 443 if (isset($submenu_pp[3])) { 444 $new_submenu[] = $submenu_pp[3]; 445 } 446 447 // Add-ons 448 if (isset($submenu_pp[2])) { 449 $new_submenu[] = $submenu_pp[2]; 450 } 451 452 // Contact Us 453 if (isset($submenu_pp[5])) { 454 $new_submenu[] = $submenu_pp[5]; 455 } 456 457 // Check if we have additional items and add to the end 458 if ( count( $submenu_pp ) > 6 ) { 459 $new_submenu = array_merge( $new_submenu, array_splice( $submenu_pp, 6 ) ); 460 } 461 462 $submenu['pp-calendar'] = $new_submenu; 422 if ( isset( $submenu['pp-calendar'] ) ) { 423 global $submenu; 424 425 $submenu_pp = $submenu['pp-calendar']; 426 $new_submenu = array(); 427 428 // Calendar 429 if (isset($submenu_pp[0])) { 430 $new_submenu[] = $submenu_pp[0]; 431 } 432 433 // Content Overview 434 if (isset($submenu_pp[1])) { 435 $new_submenu[] = $submenu_pp[1]; 436 } 437 438 // Notifications 439 if (isset($submenu_pp[4])) { 440 $new_submenu[] = $submenu_pp[4]; 441 } 442 443 // Settings 444 if (isset($submenu_pp[3])) { 445 $new_submenu[] = $submenu_pp[3]; 446 } 447 448 // Add-ons 449 if (isset($submenu_pp[2])) { 450 $new_submenu[] = $submenu_pp[2]; 451 } 452 453 // Contact Us 454 if (isset($submenu_pp[5])) { 455 $new_submenu[] = $submenu_pp[5]; 456 } 457 458 // Check if we have additional items and add to the end 459 if ( count( $submenu_pp ) > 6 ) { 460 $new_submenu = array_merge( $new_submenu, array_splice( $submenu_pp, 6 ) ); 461 } 462 463 $submenu['pp-calendar'] = $new_submenu; 464 } 463 465 464 466 return $menu_ord; -
publishpress/trunk/readme.txt
r1807367 r1809658 7 7 Requires PHP: 5.4 8 8 Tested up to: 4.9 9 Stable tag: 1.9. 39 Stable tag: 1.9.4 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 156 156 and this project adheres to [Semantic Versioning](http://semver.org/). 157 157 158 = [1.9.4] - 2018-01-25 = 159 160 *Fixed:* 161 162 * Fixed the filters on the notification workflow form, allowing to creating new notifications again; 163 * Fixed PHP warning when user does not have permission to see the menu; 164 * Fixed a typo removing a PHP warning; 165 * Fixed the status description on the date column for posts; 166 * Fixed notifications for users who selected "Notify me" for the content; 167 * Fixed string "Draft" and "Pending" after the post title in the post lists; 168 169 *Added:* 170 171 * Added a new optional receiver to the notification workflow form, "Users who selected Notify Me for the content"; 172 158 173 = [1.9.3] - 2018-01-18 = 159 174
Note: See TracChangeset
for help on using the changeset viewer.