Changeset 1667665
- Timestamp:
- 05/31/2017 12:12:52 PM (9 years ago)
- Location:
- bulk-actions/trunk
- Files:
-
- 1 deleted
- 5 edited
-
assets/js/feedback.js (modified) (1 diff)
-
bulk-actions.php (modified) (4 diffs)
-
library/AdminFeedback.php (modified) (1 diff)
-
library/BulkAction/ChangePostType.php (deleted)
-
library/BulkAction/Post/ChangePostVisibility.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bulk-actions/trunk/assets/js/feedback.js
r1656577 r1667665 8 8 9 9 $( '#wpba-notice-feedback' ).on( 'click', '.notice-dismiss', function() { 10 console.log('asd');11 10 jQuery.post( ajaxurl, { 12 11 'action': 'wpba/dismiss_notice', -
bulk-actions/trunk/bulk-actions.php
r1656577 r1667665 3 3 Plugin Name: Advanced Bulk Actions 4 4 Description: 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. 15 Version: 1.1.2 6 6 Author: Jesper van Engelen 7 7 Author URI: http://jespervanengelen.com … … 27 27 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if access directly 28 28 29 define( 'WPBA_VERSION', '1.1. 1' );29 define( 'WPBA_VERSION', '1.1.2' ); 30 30 define( 'WPBA_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 31 31 define( 'WPBA_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 56 56 * @since 1.0 57 57 */ 58 protected $version = '1.1. 1';58 protected $version = '1.1.2'; 59 59 60 60 /** … … 66 66 */ 67 67 private $_list_screens = array(); 68 69 /**70 * Get the admin class instance, instantiating it if it doesn't exist yet71 *72 * @since 1.073 *74 * @return WPBA_Admin Admin class instance75 */76 public function admin() {77 if ( ! $this->_admin ) {78 $this->_admin = new WPBA_Admin( $this );79 }80 81 return $this->_admin;82 }83 68 84 69 /** -
bulk-actions/trunk/library/AdminFeedback.php
r1656577 r1667665 26 26 */ 27 27 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 28 34 $plugin_installed = get_option( 'wpba_installed_timestamp' ); 29 35 -
bulk-actions/trunk/library/BulkAction/Post/ChangePostVisibility.php
r1656577 r1667665 24 24 } 25 25 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'] ]; 27 28 28 29 $messages = array(); -
bulk-actions/trunk/readme.txt
r1656577 r1667665 4 4 Requires at least: 4.7 5 5 Tested up to: 4.7 6 Stable tag: 1.1. 16 Stable tag: 1.1.2 7 7 8 8 Supercharge the WordPress admin panel with additional bulk actions to manage your content … … 36 36 == Changelog == 37 37 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 38 43 = 1.1.1 = 39 44 * Localization fix for featured image JavaScript
Note: See TracChangeset
for help on using the changeset viewer.