Plugin Directory

Changeset 1809658


Ignore:
Timestamp:
01/25/2018 10:13:27 PM (8 years ago)
Author:
pressshack
Message:

Releasing 1.9.4

Location:
publishpress/trunk
Files:
2 added
8 edited

Legend:

Unmodified
Added
Removed
  • publishpress/trunk/includes.php

    r1805300 r1809658  
    4141
    4242    // Define contants
    43     define( 'PUBLISHPRESS_VERSION', '1.9.3' );
     43    define( 'PUBLISHPRESS_VERSION', '1.9.4' );
    4444    define( 'PUBLISHPRESS_ROOT', dirname( __FILE__ ) );
    4545    define( 'PUBLISHPRESS_FILE_PATH', PUBLISHPRESS_ROOT . '/' . basename( __FILE__ ) );
  • publishpress/trunk/libraries/Notifications/Workflow/Controller.php

    r1805300 r1809658  
    126126            '\\PublishPress\\Notifications\\Workflow\\Step\\Receiver\\User',
    127127            '\\PublishPress\\Notifications\\Workflow\\Step\\Receiver\\User_Group',
     128            '\\PublishPress\\Notifications\\Workflow\\Step\\Receiver\\Follower',
    128129        ];
    129130        /**
  • publishpress/trunk/modules/custom-status/custom-status.php

    r1805300 r1809658  
    20272027
    20282028                // 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'))) {
    20302030                    $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-small" target="_blank">' . __('Change Permalinks') . "</a></span>\n";
    20312031                }
  • 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  
    412412            }
    413413
    414             if ( in_array( $hook_suffix, [ 'post.php' ] ) ) {
     414            if ( in_array( $hook_suffix, [ 'post.php', 'post-new.php' ] ) ) {
    415415                wp_enqueue_script( 'psppno-workflow-form', plugin_dir_url( __FILE__ ) . 'assets/js/workflow_form.js', [], PUBLISHPRESS_VERSION );
    416416                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  
    978978                    case 'user_email':
    979979                        $users[$key] = $new_user->user_email;
     980                        break;
     981                    case 'object':
     982                        $users[$key] = $new_user;
    980983                        break;
    981984                }
  • publishpress/trunk/publishpress.php

    r1805300 r1809658  
    66 * Author: PressShack
    77 * Author URI: https://publishpress.com
    8  * Version: 1.9.3
     8 * Version: 1.9.4
    99 * Text Domain: publishpress
    1010 * Domain Path: /languages
     
    420420
    421421    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        }
    463465
    464466        return $menu_ord;
  • publishpress/trunk/readme.txt

    r1807367 r1809658  
    77Requires PHP: 5.4
    88Tested up to: 4.9
    9 Stable tag: 1.9.3
     9Stable tag: 1.9.4
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    156156and this project adheres to [Semantic Versioning](http://semver.org/).
    157157
     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
    158173= [1.9.3] - 2018-01-18 =
    159174
Note: See TracChangeset for help on using the changeset viewer.