Plugin Directory

Changeset 3000434


Ignore:
Timestamp:
11/23/2023 02:12:11 AM (2 years ago)
Author:
NCAllen
Message:

Update to version 1.3.3 from GitHub

Location:
bulk-term-generator
Files:
2 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • bulk-term-generator/tags/1.3.3/README.txt

    r2933088 r3000434  
    7171== Changelog ==
    7272
     73= 1.3.3 =
     74* Shortened the plugin name in the admin
     75* Tested with WordPress 6.4.1
     76* Added blueprint to enable plugin directory's preview button
     77
    7378= 1.3.2 =
    7479* Fixed comma escaping only escapes first comma
  • bulk-term-generator/tags/1.3.3/bulk-term-generator.php

    r2933088 r3000434  
    1313 * Plugin URI:        http://nateallen.com/wordpress-plugins/bulk-term-generator
    1414 * Description:       Streamline taxonomy management in WordPress with Bulk Term Generator, your free tool for easy, bulk term importing.
    15  * Version:           1.3.2
     15 * Version:           1.3.3
    1616 * Requires at least: 3.1
    17  * Tested up to:      6.2
     17 * Tested up to:      6.4.1
    1818 * Requires PHP:      7.4
    1919 * Author:            Nate Allen
  • bulk-term-generator/tags/1.3.3/classes/class-bulk-term-generator-admin.php

    r2932813 r3000434  
    150150        }
    151151
     152    }
     153
     154    /**
     155     * Changes the title of the plugin on the plugins page
     156     *
     157     * @param array $plugins Array of plugins
     158     *
     159     * @return array Modified array of plugins
     160     */
     161    public function modify_plugin_title( $plugins ) {
     162        if ( isset( $plugins[ 'bulk-term-generator/bulk-term-generator.php' ] ) ) {
     163            $plugins[ 'bulk-term-generator/bulk-term-generator.php' ]['Name'] = esc_html__( 'Bulk Term Generator', 'bulk-term-generator' );
     164        }
     165
     166        return $plugins;
    152167    }
    153168
  • bulk-term-generator/tags/1.3.3/classes/class-bulk-term-generator.php

    r2932813 r3000434  
    9393        $this->loader->add_action( 'wp_ajax_btg_add_term', $plugin_admin, 'add_term' );
    9494        $this->loader->add_action( 'init', $plugin_admin, 'taxonomy_select' );
     95        $this->loader->add_filter( 'all_plugins', $plugin_admin, 'modify_plugin_title', 10, 4 );
    9596
    9697        $taxonomies = get_taxonomies();
  • bulk-term-generator/trunk/README.txt

    r2933088 r3000434  
    7171== Changelog ==
    7272
     73= 1.3.3 =
     74* Shortened the plugin name in the admin
     75* Tested with WordPress 6.4.1
     76* Added blueprint to enable plugin directory's preview button
     77
    7378= 1.3.2 =
    7479* Fixed comma escaping only escapes first comma
  • bulk-term-generator/trunk/bulk-term-generator.php

    r2933088 r3000434  
    1313 * Plugin URI:        http://nateallen.com/wordpress-plugins/bulk-term-generator
    1414 * Description:       Streamline taxonomy management in WordPress with Bulk Term Generator, your free tool for easy, bulk term importing.
    15  * Version:           1.3.2
     15 * Version:           1.3.3
    1616 * Requires at least: 3.1
    17  * Tested up to:      6.2
     17 * Tested up to:      6.4.1
    1818 * Requires PHP:      7.4
    1919 * Author:            Nate Allen
  • bulk-term-generator/trunk/classes/class-bulk-term-generator-admin.php

    r2932813 r3000434  
    150150        }
    151151
     152    }
     153
     154    /**
     155     * Changes the title of the plugin on the plugins page
     156     *
     157     * @param array $plugins Array of plugins
     158     *
     159     * @return array Modified array of plugins
     160     */
     161    public function modify_plugin_title( $plugins ) {
     162        if ( isset( $plugins[ 'bulk-term-generator/bulk-term-generator.php' ] ) ) {
     163            $plugins[ 'bulk-term-generator/bulk-term-generator.php' ]['Name'] = esc_html__( 'Bulk Term Generator', 'bulk-term-generator' );
     164        }
     165
     166        return $plugins;
    152167    }
    153168
  • bulk-term-generator/trunk/classes/class-bulk-term-generator.php

    r2932813 r3000434  
    9393        $this->loader->add_action( 'wp_ajax_btg_add_term', $plugin_admin, 'add_term' );
    9494        $this->loader->add_action( 'init', $plugin_admin, 'taxonomy_select' );
     95        $this->loader->add_filter( 'all_plugins', $plugin_admin, 'modify_plugin_title', 10, 4 );
    9596
    9697        $taxonomies = get_taxonomies();
Note: See TracChangeset for help on using the changeset viewer.