Plugin Directory

Changeset 3277997


Ignore:
Timestamp:
04/21/2025 09:10:15 AM (11 months ago)
Author:
daext
Message:

Committing and tagging 1.20

Location:
ultimate-markdown
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ultimate-markdown/tags/1.20/admin/class-daextulma-admin.php

    r3199480 r3277997  
    9191        // Register the support of the 'custom-fields' to all the post type with UI.
    9292        add_action( 'init', array( $this, 'register_support_on_post_types' ), 100 );
     93
     94        // Require and instantiate the related classes used to handle the menus.
     95        add_action( 'init', array( $this, 'handle_menus' ) );
     96
     97    }
     98
     99    /**
     100     * Return an instance of this class.
     101     *
     102     * @return self|null
     103     */
     104    public static function get_instance() {
     105
     106        if ( null === self::$instance ) {
     107            self::$instance = new self();
     108        }
     109
     110        return self::$instance;
     111    }
     112
     113    /**
     114     * If we are in one of the plugin back-end menus require and instantiate the related class used to handle the menu.
     115     *
     116     * @return void
     117     */
     118    public function handle_menus() {
    93119
    94120        // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce non-necessary for menu selection.
     
    182208            }
    183209        }
    184     }
    185 
    186     /**
    187      * Return an instance of this class.
    188      *
    189      * @return self|null
    190      */
    191     public static function get_instance() {
    192 
    193         if ( null === self::$instance ) {
    194             self::$instance = new self();
    195         }
    196 
    197         return self::$instance;
     210
    198211    }
    199212
  • ultimate-markdown/tags/1.20/init.php

    r3199480 r3277997  
    33 * Plugin Name: Ultimate Markdown
    44 * Description: A set of tools that helps you work with the Markdown language.
    5  * Version: 1.19
     5 * Version: 1.20
    66 * Author: DAEXT
    77 * Author URI: https://daext.com
  • ultimate-markdown/tags/1.20/readme.txt

    r3199480 r3277997  
    44Donate link: https://daext.com
    55Requires at least: 5.0
    6 Tested up to: 6.7.1
     6Tested up to: 6.8
    77Requires PHP: 5.3
    8 Stable tag: 1.19
     8Stable tag: 1.20
    99License: GPLv3
    1010
     
    106106
    107107== Changelog ==
     108
     109= 1.20 =
     110
     111*April 21, 2025*
     112
     113* Fixed PHP notice caused by early use of translation functions.
    108114
    109115= 1.19 =
  • ultimate-markdown/tags/1.20/shared/class-daextulma-shared.php

    r3199480 r3277997  
    3333
    3434        $this->data['slug'] = 'daextulma';
    35         $this->data['ver']  = '1.19';
     35        $this->data['ver']  = '1.20';
    3636        $this->data['dir']  = substr( plugin_dir_path( __FILE__ ), 0, - 7 );
    3737        $this->data['url']  = substr( plugin_dir_url( __FILE__ ), 0, - 7 );
  • ultimate-markdown/trunk/admin/class-daextulma-admin.php

    r3199480 r3277997  
    9191        // Register the support of the 'custom-fields' to all the post type with UI.
    9292        add_action( 'init', array( $this, 'register_support_on_post_types' ), 100 );
     93
     94        // Require and instantiate the related classes used to handle the menus.
     95        add_action( 'init', array( $this, 'handle_menus' ) );
     96
     97    }
     98
     99    /**
     100     * Return an instance of this class.
     101     *
     102     * @return self|null
     103     */
     104    public static function get_instance() {
     105
     106        if ( null === self::$instance ) {
     107            self::$instance = new self();
     108        }
     109
     110        return self::$instance;
     111    }
     112
     113    /**
     114     * If we are in one of the plugin back-end menus require and instantiate the related class used to handle the menu.
     115     *
     116     * @return void
     117     */
     118    public function handle_menus() {
    93119
    94120        // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce non-necessary for menu selection.
     
    182208            }
    183209        }
    184     }
    185 
    186     /**
    187      * Return an instance of this class.
    188      *
    189      * @return self|null
    190      */
    191     public static function get_instance() {
    192 
    193         if ( null === self::$instance ) {
    194             self::$instance = new self();
    195         }
    196 
    197         return self::$instance;
     210
    198211    }
    199212
  • ultimate-markdown/trunk/init.php

    r3199480 r3277997  
    33 * Plugin Name: Ultimate Markdown
    44 * Description: A set of tools that helps you work with the Markdown language.
    5  * Version: 1.19
     5 * Version: 1.20
    66 * Author: DAEXT
    77 * Author URI: https://daext.com
  • ultimate-markdown/trunk/readme.txt

    r3199480 r3277997  
    44Donate link: https://daext.com
    55Requires at least: 5.0
    6 Tested up to: 6.7.1
     6Tested up to: 6.8
    77Requires PHP: 5.3
    8 Stable tag: 1.19
     8Stable tag: 1.20
    99License: GPLv3
    1010
     
    106106
    107107== Changelog ==
     108
     109= 1.20 =
     110
     111*April 21, 2025*
     112
     113* Fixed PHP notice caused by early use of translation functions.
    108114
    109115= 1.19 =
  • ultimate-markdown/trunk/shared/class-daextulma-shared.php

    r3199480 r3277997  
    3333
    3434        $this->data['slug'] = 'daextulma';
    35         $this->data['ver']  = '1.19';
     35        $this->data['ver']  = '1.20';
    3636        $this->data['dir']  = substr( plugin_dir_path( __FILE__ ), 0, - 7 );
    3737        $this->data['url']  = substr( plugin_dir_url( __FILE__ ), 0, - 7 );
Note: See TracChangeset for help on using the changeset viewer.