Plugin Directory

Changeset 1669335


Ignore:
Timestamp:
06/02/2017 08:29:59 AM (9 years ago)
Author:
engelen
Message:

Releasing 1.1.1

Location:
bulk-actions-select-all/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • bulk-actions-select-all/trunk/assets/js/admin.js

    r1463750 r1669335  
    22    var list = $( '#the-list' );
    33    var table = list.parents( 'table:first' );
    4     var colspan = list.find( 'tr:first > *' ).length;
     4    var colspan = list.find( 'tr:first > *:visible' ).length;
    55
    66    var notice_content = '';
     
    5454        }
    5555    } );
     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    } );
    5674} );
  • bulk-actions-select-all/trunk/bulk-actions-select-all.php

    r1463750 r1669335  
    22/*
    33Plugin 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 posts
     4Version: 1.1.1
     5Description: 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.
    66Author: Jesper van Engelen
    77Author URI: http://jespervanengelen.com
     
    2727if ( ! defined( 'ABSPATH' ) ) exit; // Exit if access directly
    2828
    29 define( 'BASA_VERSION', '1.1' );
     29define( 'BASA_VERSION', '1.1.1' );
    3030define( 'BASA_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    3131define( 'BASA_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
     
    5050     * @since 1.0
    5151     */
    52     protected $version = '1.1';
     52    protected $version = '1.1.1';
    5353
    5454    /**
     
    9595       
    9696        // Library
    97         require_once BASA_PLUGIN_DIR . 'library/admin.php';
     97        require_once BASA_PLUGIN_DIR . 'library/Admin.php';
    9898       
    9999        if ( is_admin() ) {
    100100            $this->admin();
     101
     102            // Load admin feedback class
     103            require_once BASA_PLUGIN_DIR . 'library/AdminFeedback.php';
     104            new BASA_AdminFeedback();
    101105        }
    102106       
  • bulk-actions-select-all/trunk/readme.txt

    r1463758 r1669335  
    44Requires at least: 3.5
    55Tested up to: 4.5.2
    6 Stable tag: 1.1
     6Stable tag: 1.1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    10 Adds an option to the admin posts and terms overviews to select all items (instead of just items on the current page) to bulk delete/restore posts and bulk delete terms. Supports CPTs and custom taxonomies.
     10Adds 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.
    1111
    1212== Description ==
     
    3838== Changelog ==
    3939
     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
    4045= 1.1 =
    4146* Added support for bulk selection of terms
Note: See TracChangeset for help on using the changeset viewer.