Plugin Directory

Changeset 3282600


Ignore:
Timestamp:
04/27/2025 07:49:57 AM (11 months ago)
Author:
senlin
Message:
  • date: April 27, 2025
  • removed redundant load_plugin_textdomain() function and increased min required WP version
  • tested up to WP 6.8
Location:
so-pinyin-slugs
Files:
25 added
3 edited

Legend:

Unmodified
Added
Removed
  • so-pinyin-slugs/trunk/readme.txt

    r3254338 r3282600  
    22Contributors: senlin
    33Tags: pinyin, permalinks, slugs, Chinese, Mandarin
    4 Requires at least: 4.4
    5 Tested up to: 6.7
    6 Stable tag: 2.3.4
     4Requires at least: 4.6
     5Tested up to: 6.8
     6Stable tag: 2.3.5
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7979
    8080== Changelog ==
     81
     82= 2.3.5 =
     83
     84* date: April 27, 2025
     85* removed redundant `load_plugin_textdomain()` function and increased min required WP version
     86* tested up to WP 6.8
    8187
    8288= 2.3.4 =
  • so-pinyin-slugs/trunk/so-pinyin-slugs.php

    r3254338 r3282600  
    55Description: Transforms Simplified or Traditional Chinese character titles into Pinyin to create a permalink friendly slug.
    66Author: SO WP
    7 Version: 2.3.4
     7Version: 2.3.5
    88Author URI: https://so-wp.com
    99Text Domain: so-pinyin-slugs
     
    5656        add_action( 'plugins_loaded', array( $this, 'constants' ) );
    5757
    58         /* Internationalize the text strings used. */
    59         add_action( 'plugins_loaded', array( $this, 'i18n' ) );
    60 
    6158        /* Load the functions files. */
    6259        add_action( 'plugins_loaded', array( $this, 'includes' ) );
     
    8582
    8683        /* Set the version number of the plugin. */
    87         define( 'SOPS_VERSION', '2.3.4' );
     84        define( 'SOPS_VERSION', '2.3.5' );
    8885
    8986        /* Set constant path to the plugin directory. */
     
    9996        define( 'SOPS_ADMIN', SOPS_DIR . trailingslashit( 'admin' ) );
    10097
    101     }
    102 
    103     /**
    104      * Loads the translation file.
    105      *
    106      * @since 2014.07.28
    107      */
    108     function i18n() {
    109 
    110         /* Load the translation of the plugin. */
    111         load_plugin_textdomain( 'so-pinyin-slugs', false, basename( dirname( __FILE__ ) ) . '/languages/' );
    11298    }
    11399
Note: See TracChangeset for help on using the changeset viewer.