Changeset 1669335
- Timestamp:
- 06/02/2017 08:29:59 AM (9 years ago)
- Location:
- bulk-actions-select-all/trunk
- Files:
-
- 2 added
- 3 edited
-
assets/js/admin.js (modified) (2 diffs)
-
bulk-actions-select-all.php (modified) (4 diffs)
-
library/Admin.php (added)
-
library/AdminFeedback.php (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bulk-actions-select-all/trunk/assets/js/admin.js
r1463750 r1669335 2 2 var list = $( '#the-list' ); 3 3 var table = list.parents( 'table:first' ); 4 var colspan = list.find( 'tr:first > * ' ).length;4 var colspan = list.find( 'tr:first > *:visible' ).length; 5 5 6 6 var notice_content = ''; … … 54 54 } 55 55 } ); 56 57 // Update colspan of notice row when columns are shown/hidden 58 $( '.hide-column-tog' ).click( function() { 59 // Calculate current number of visible columns 60 var list = $( '#the-list' ); 61 var colspan = list.find( 'tr:not(.basa-selectall):first > *:visible' ).length; 62 63 // Update with new state 64 if ( $( this ).is( ':checked' ) ) { 65 colspan += 1; 66 } 67 else { 68 colspan -= 1; 69 } 70 71 // Change colspan 72 list.find( '.basa-selectall > td' ).attr( 'colspan', colspan.toString() ); 73 } ); 56 74 } ); -
bulk-actions-select-all/trunk/bulk-actions-select-all.php
r1463750 r1669335 2 2 /* 3 3 Plugin Name: Bulk Actions Select All 4 Version: 1.1 5 Description: Adds an option to the admin posts overview page to select all posts (instead of just the ones on the current page) to bulk trash, restore and delete posts4 Version: 1.1.1 5 Description: Adds an option to the admin posts and terms overview pages to select all items (instead of just the ones on the current page) to apply bulk actions. "Trash", "Restore", "Delete", and custom bulk actions are supported. 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( 'BASA_VERSION', '1.1 ' );29 define( 'BASA_VERSION', '1.1.1' ); 30 30 define( 'BASA_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 31 31 define( 'BASA_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 50 50 * @since 1.0 51 51 */ 52 protected $version = '1.1 ';52 protected $version = '1.1.1'; 53 53 54 54 /** … … 95 95 96 96 // Library 97 require_once BASA_PLUGIN_DIR . 'library/ admin.php';97 require_once BASA_PLUGIN_DIR . 'library/Admin.php'; 98 98 99 99 if ( is_admin() ) { 100 100 $this->admin(); 101 102 // Load admin feedback class 103 require_once BASA_PLUGIN_DIR . 'library/AdminFeedback.php'; 104 new BASA_AdminFeedback(); 101 105 } 102 106 -
bulk-actions-select-all/trunk/readme.txt
r1463758 r1669335 4 4 Requires at least: 3.5 5 5 Tested up to: 4.5.2 6 Stable tag: 1.1 6 Stable tag: 1.1.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Adds an option to the admin posts and terms overview s to select all items (instead of just items on the current page) to bulk delete/restore posts and bulk delete terms. SupportsCPTs and custom taxonomies.10 Adds an option to the admin posts and terms overview pages to select all items (instead of just the ones on the current page) to apply bulk actions. "Trash", "Restore", "Delete", and custom bulk actions are supported. Supports both CPTs and custom taxonomies. 11 11 12 12 == Description == … … 38 38 == Changelog == 39 39 40 = 1.1.1 = 41 * Added support for custom bulk actions 42 * Added feedback notification for feature suggestions etc. 43 * Fixed colspan issue when dynamically toggling columns' visibility 44 40 45 = 1.1 = 41 46 * Added support for bulk selection of terms
Note: See TracChangeset
for help on using the changeset viewer.