Plugin Directory

Changeset 1667665


Ignore:
Timestamp:
05/31/2017 12:12:52 PM (9 years ago)
Author:
engelen
Message:

Releasing 1.1.2

Location:
bulk-actions/trunk
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • bulk-actions/trunk/assets/js/feedback.js

    r1656577 r1667665  
    88
    99    $( '#wpba-notice-feedback' ).on( 'click', '.notice-dismiss', function() {
    10         console.log('asd');
    1110        jQuery.post( ajaxurl, {
    1211            'action': 'wpba/dismiss_notice',
  • bulk-actions/trunk/bulk-actions.php

    r1656577 r1667665  
    33Plugin Name: Advanced Bulk Actions
    44Description: Supercharge the WordPress admin panel with additional bulk actions to manage your content. Advanced Bulk Actions supports pages, posts and custom post types. Update post status, visibility, featured image and post type for multiple posts at once.
    5 Version: 1.1.1
     5Version: 1.1.2
    66Author: Jesper van Engelen
    77Author URI: http://jespervanengelen.com
     
    2727if ( ! defined( 'ABSPATH' ) ) exit; // Exit if access directly
    2828
    29 define( 'WPBA_VERSION', '1.1.1' );
     29define( 'WPBA_VERSION', '1.1.2' );
    3030define( 'WPBA_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    3131define( 'WPBA_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
     
    5656     * @since 1.0
    5757     */
    58     protected $version = '1.1.1';
     58    protected $version = '1.1.2';
    5959
    6060    /**
     
    6666     */
    6767    private $_list_screens = array();
    68 
    69     /**
    70      * Get the admin class instance, instantiating it if it doesn't exist yet
    71      *
    72      * @since 1.0
    73      *
    74      * @return WPBA_Admin Admin class instance
    75      */
    76     public function admin() {
    77         if ( ! $this->_admin ) {
    78             $this->_admin = new WPBA_Admin( $this );
    79         }
    80 
    81         return $this->_admin;
    82     }
    8368   
    8469    /**
  • bulk-actions/trunk/library/AdminFeedback.php

    r1656577 r1667665  
    2626     */
    2727    public function is_feedback_notice_active() {
     28        // Check whether the current user has sufficient capabilities for the notice to be displayed
     29        if ( ! current_user_can( 'manage_options' ) ) {
     30            return false;
     31        }
     32
     33        // Check whether the plugin has been installed long enough for the notice to be displayed
    2834        $plugin_installed = get_option( 'wpba_installed_timestamp' );
    2935
  • bulk-actions/trunk/library/BulkAction/Post/ChangePostVisibility.php

    r1656577 r1667665  
    2424        }
    2525
    26         $post_visibility_label = $this->get_visibility_options()[ $params['post_visibility'] ];
     26        $visibility_options = $this->get_visibility_options();
     27        $post_visibility_label = $visibility_options[ $params['post_visibility'] ];
    2728
    2829        $messages = array();
  • bulk-actions/trunk/readme.txt

    r1656577 r1667665  
    44Requires at least: 4.7
    55Tested up to: 4.7
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.2
    77
    88Supercharge the WordPress admin panel with additional bulk actions to manage your content
     
    3636== Changelog ==
    3737
     38= 1.1.2 =
     39* Remove debugging information
     40* Only display the feedback notice to people who can `manage_options`
     41* Fix syntax error in PHP <= 5.3
     42
    3843= 1.1.1 =
    3944* Localization fix for featured image JavaScript
Note: See TracChangeset for help on using the changeset viewer.