Plugin Directory

Changeset 3478970


Ignore:
Timestamp:
03/10/2026 10:41:37 AM (3 weeks ago)
Author:
nahuai
Message:

Improve multisite compatibility, bump to version 1.2.3

Location:
genesis-simple-share
Files:
40 added
2 edited

Legend:

Unmodified
Added
Removed
  • genesis-simple-share/trunk/plugin.php

    r3477975 r3478970  
    44 * Plugin URI: https://wordpress.org/plugins/genesis-simple-share/
    55 * Description: A simple sharing plugin using the Share script.
    6  * Version: 1.2.2
     6 * Version: 1.2.3
    77 * Author: OsomPress
    88 * Author URI: https://www.osompress.com
     
    1818}
    1919
    20 define( 'GENESIS_SIMPLE_SHARE_VERSION', '1.2.1' );
     20define( 'GENESIS_SIMPLE_SHARE_VERSION', '1.2.3' );
    2121define( 'GENESIS_SIMPLE_SHARE_PATH', plugin_dir_path( __FILE__ ) );
    2222define( 'GENESIS_SIMPLE_SHARE_INC', plugin_dir_path( __FILE__ ) . '/includes/' );
    2323define( 'GENESIS_SIMPLE_SHARE_URL', plugins_url( '', __FILE__ ) );
    2424
    25 add_action( 'init', 'genesis_simple_share_init', 99 );
    26 
     25add_action( 'genesis_init', 'genesis_simple_share_init', 99 );
    2726/**
    28  * Loads plugin text domain and required files. Uses init instead of genesis_init to avoid loading too early.
     27 * Loads plugin required files.
    2928 *
    3029 * @since 0.1.0
    31  * changed on version 1.2.2
    32  *
     30 * changed on version 1.2.3
    3331 * @uses GENESIS_SIMPLE_SHARE_INC
    3432 */
    3533function genesis_simple_share_init() {
    36 
    37     load_plugin_textdomain( 'genesis-simple-share', false, GENESIS_SIMPLE_SHARE_PATH . '/languages/' );
    3834
    3935    if ( is_admin() && class_exists( 'Genesis_Admin_Boxes' ) ) {
     
    4440    }
    4541}
     42
     43add_action( 'init', 'genesis_simple_share_translations_init', 99 );
     44/**
     45 * Loads plugin text domain. Uses init instead of genesis_init to avoid loading too early.
     46 *
     47 * @since 0.1.0
     48 * changed on version 1.2.3
     49 * @uses GENESIS_SIMPLE_SHARE_PATH
     50 */
     51function genesis_simple_share_translations_init() {
     52    load_plugin_textdomain( 'genesis-simple-share', false, GENESIS_SIMPLE_SHARE_PATH . '/languages/' );
     53}
  • genesis-simple-share/trunk/readme.txt

    r3477983 r3478970  
    44Requires at least: 3.7
    55Tested up to: 6.9
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3131
    3232== Changelog ==
     33
     34= 1.2.3 =
     35* Improve multisite compatibility.
    3336
    3437= 1.2.2 =
Note: See TracChangeset for help on using the changeset viewer.