Changeset 1544807
- Timestamp:
- 12/02/2016 06:37:44 PM (9 years ago)
- Location:
- select-all-terms/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
select-all-terms.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
select-all-terms/trunk/readme.txt
r1266195 r1544807 1 1 === Select All Terms === 2 Contributors: luistinygod, geethemes3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%40g eethemes%2ecom&item_name=Select%20All%20Terms&no_shipping=1&cn=Donation%20Notes&tax=0¤cy_code=EUR&bn=PP%2dDonationsBF&charset=UTF%2d82 Contributors: luistinygod, wearegomo 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%40gomo%2ept&item_name=Select%20All%20Terms&no_shipping=1&cn=Donation%20Notes&tax=0¤cy_code=EUR&bn=PP%2dDonationsBF&charset=UTF%2d8 4 4 Tags: taxonomies, metabox, select all, terms 5 5 Requires at least: 3.5.1 6 Tested up to: 4. 3.17 Stable tag: 1.0. 16 Tested up to: 4.6.1 7 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 That’s all! Suggestions, questions and other feedback are welcome: 21 21 22 * [twitter: @ geethemeswp](http://twitter.com/geethemeswp)22 * [twitter: @wearegomo](http://twitter.com/wearegomo) 23 23 * [blog]( http://tinygod.pt/contact/ "Contact form") 24 24 … … 26 26 27 27 * Spanish (es_ES) - Thanks to [Marcelo Pedra](http://www.marcelopedra.com.ar/blog/) 28 * Portuguese (pt_PT) - Thanks to [ geeThemes](http://www.geethemes.com/)28 * Portuguese (pt_PT) - Thanks to [GOMO](http://www.gomo.pt/) 29 29 30 30 … … 67 67 == Changelog == 68 68 69 = 1.0.2 = 70 * [GOMO](http://gomo.pt/) replaces geeThemes brand. 71 * Tested against WP version 4.6.1 72 69 73 = 1.0.1 = 70 74 * Added spannish (es_ES) and portuguese (pt_PT) translation files -
select-all-terms/trunk/select-all-terms.php
r860895 r1544807 1 1 <?php 2 2 /** 3 * Select All Terms (by geeThemes)3 * Select All Terms (by GOMO) 4 4 * 5 5 * Adds select / deselect all buttons to taxonomies' metaboxes 6 6 * 7 * @package Select All Terms by geeThemes7 * @package Select All Terms by GOMO 8 8 * @author Luis Godinho <[email protected]> 9 9 * @license GPL-2.0+ 10 * @link http://www.g eethemes.com/11 * @copyright 201 3GOMO10 * @link http://www.gomo.pt/ 11 * @copyright 2016 GOMO 12 12 * 13 13 * @wordpress-plugin 14 14 * Plugin Name: Select All Terms 15 * Plugin URI: http://www.g eethemes.com/15 * Plugin URI: http://www.gomo.pt/ 16 16 * Description: Add select all/deselect all buttons to taxonomies' metaboxes 17 * Version: 1.0. 118 * Author: geeThemes19 * Author URI: http://twitter.com/ geethemeswp17 * Version: 1.0.2 18 * Author: GOMO 19 * Author URI: http://twitter.com/wearegomo 20 20 * Text Domain: select-all-terms 21 21 * License: GPL-2.0+ … … 23 23 * Domain Path: /lang 24 24 25 Select All Terms, by geeThemes(SAT)26 Copyright (C) 201 3, GOMO - [email protected]25 Select All Terms, by GOMO (SAT) 26 Copyright (C) 2016, GOMO - [email protected] 27 27 28 28 This program is free software; you can redistribute it and/or modify … … 54 54 55 55 // Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively. 56 register_activation_hook( __FILE__, array( 'Select_All_Terms_by_ geeThemes', 'activate' ) );57 register_deactivation_hook( __FILE__, array( 'Select_All_Terms_by_ geeThemes', 'deactivate' ) );56 register_activation_hook( __FILE__, array( 'Select_All_Terms_by_Gomo', 'activate' ) ); 57 register_deactivation_hook( __FILE__, array( 'Select_All_Terms_by_Gomo', 'deactivate' ) ); 58 58 59 $sat_plugin = new Select_All_Terms_by_ geeThemes();59 $sat_plugin = new Select_All_Terms_by_Gomo(); 60 60 61 61 /** … … 63 63 * 64 64 */ 65 class Select_All_Terms_by_ geeThemes{65 class Select_All_Terms_by_Gomo { 66 66 67 protected $version = '1.0. 1';67 protected $version = '1.0.2'; 68 68 protected $plugin_slug = 'select-all-terms'; 69 69 … … 121 121 return; 122 122 } 123 124 wp_register_script( 'select-all-script', plugin_dir_url( __FILE__ ) . 'js/select-all-terms.js', array('jquery') ); 125 wp_enqueue_script( 'select-all-script' ); 123 124 wp_enqueue_script( 'select-all-script', plugin_dir_url( __FILE__ ) . 'js/select-all-terms.js', array('jquery') ); 126 125 127 126 wp_localize_script( 'select-all-script', 'labels', array( 'select' => __('Select All', 'select-all-terms'), 'deselect' => __('Deselect All', 'select-all-terms') ) ); … … 135 134 136 135 } 137 138 ?>
Note: See TracChangeset
for help on using the changeset viewer.