Plugin Directory

Changeset 1680976


Ignore:
Timestamp:
06/19/2017 09:53:22 AM (9 years ago)
Author:
luistinygod
Message:

tested 4.8

Location:
select-all-terms/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • select-all-terms/trunk/js/select-all-terms.js

    r804396 r1680976  
    22 * Adds a button to select all / de-select all hierarchy terms under taxonomy hierarchy metabox
    33 */
    4  
     4
     5window.SAT_LABELS = window.SAT_LABELS || {};
    56
    67(function( $ ) {
     
    1415            var tax_name = tax_id.replace("taxonomy-", "");
    1516            $('#'+ tax_name +'-adder')
    16                 .prepend('<p><input type="button" data-tsl-tax="'+ tax_name +'" class="button tsl-select" value="'+ labels.select +'"><input type="button" data-tsl-tax="'+ tax_name +'" class="button tsl-deselect" value="'+ labels.deselect +'"></p>');
     17                .prepend('<p><input type="button" data-tsl-tax="'+ tax_name +'" class="button tsl-select" value="'+ SAT_LABELS.select +'"><input type="button" data-tsl-tax="'+ tax_name +'" class="button tsl-deselect" value="'+ SAT_LABELS.deselect +'"></p>');
    1718           
    1819        });
  • select-all-terms/trunk/readme.txt

    r1544807 r1680976  
    44Tags: taxonomies, metabox, select all, terms
    55Requires at least: 3.5.1
    6 Tested up to: 4.6.1
    7 Stable tag: 1.0.2
     6Tested up to: 4.8
     7Stable tag: 1.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6767== Changelog ==
    6868
     69= 1.0.3 =
     70* Tested against WP version 4.8
     71* Fixed global JS var for label l10n.
     72
    6973= 1.0.2 =
    7074* [GOMO](http://gomo.pt/) replaces geeThemes brand.
  • select-all-terms/trunk/select-all-terms.php

    r1544807 r1680976  
    1515 * Plugin URI:  http://www.gomo.pt/
    1616 * Description: Add select all/deselect all buttons to taxonomies' metaboxes
    17  * Version:     1.0.2
     17 * Version:     1.0.3
    1818 * Author:      GOMO
    1919 * Author URI:  http://twitter.com/wearegomo
     
    6565class Select_All_Terms_by_Gomo {
    6666
    67     protected $version = '1.0.2';
     67    protected $version = '1.0.3';
    6868    protected $plugin_slug = 'select-all-terms';
    6969
     
    124124        wp_enqueue_script( 'select-all-script', plugin_dir_url( __FILE__ ) . 'js/select-all-terms.js', array('jquery') );
    125125       
    126         wp_localize_script( 'select-all-script', 'labels', array( 'select' => __('Select All', 'select-all-terms'), 'deselect' => __('Deselect All', 'select-all-terms') ) );
     126        wp_localize_script( 'select-all-script', 'SAT_LABELS', array( 'select' => __('Select All', 'select-all-terms'), 'deselect' => __('Deselect All', 'select-all-terms') ) );
    127127
    128128    }
Note: See TracChangeset for help on using the changeset viewer.