Plugin Directory

Changeset 2819923


Ignore:
Timestamp:
11/17/2022 04:58:28 PM (3 years ago)
Author:
blockstyles
Message:

Update to version 1.2.2 from GitHub

Location:
missing-menu-items
Files:
4 added
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • missing-menu-items/tags/1.2.2/ea-missing-menu-items.php

    r2806866 r2819923  
    44 * Plugin URI:        http://www.blockstyles.com
    55 * Description:       Reusable Menu Items adds reusable block and template links to the admin
    6  * Version:           1.2.1
     6 * Version:           1.2.2
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
     
    1111 * License:           GPL v3 or later
    1212 * License URI:       https://www.gnu.org/licenses/gpl-3.0.html
    13  * Text Domain:       reusable-menu-items
     13 * Text Domain:       ea-missing-menu-items
    1414 * Doman Path:        /languages/
    1515 *
     
    4040    public function add_reusable_blocks_menu() {
    4141        add_theme_page(
    42             'Reusable Blocks',
    43             'Reusable Blocks',
     42            __( 'Reusable Blocks', 'ea-missing-menu-items' ),
     43            __( 'Reusable Blocks', 'ea-missing-menu-items' ),
    4444            'manage_options',
    4545            'edit.php?post_type=wp_block',
     
    4848        );
    4949        add_theme_page(
    50             'Navigation Menus',
    51             'Navigation Menus',
     50            __( 'Navigation Menu', 'ea-missing-menu-items' ),
     51            __( 'Navigation Menu', 'ea-missing-menu-items' ),
    5252            'manage_options',
    5353            'edit.php?post_type=wp_navigation',
     
    5656        );
    5757        add_theme_page(
    58             'Templates',
    59             'Templates',
     58            __( 'Templates', 'ea-missing-menu-items' ),
     59            __( 'Templates', 'ea-missing-menu-items' ),
    6060            'manage_options',
    6161            'site-editor.php?postType=wp_template',
     
    6464        );
    6565        add_theme_page(
    66             'Template Parts',
    67             'Template Parts',
     66            __( 'Template Parts', 'ea-missing-menu-items' ),
     67            __( 'Template Parts', 'ea-missing-menu-items' ),
    6868            'manage_options',
    6969            'site-editor.php?postType=wp_template_part',
     
    8080}
    8181
     82/**
     83 * Funtion to load text domain.
     84 */
     85function ea_mmi_load_textdomain() {
     86    load_plugin_textdomain( 'missing_menu_item_textdomain', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
     87}
     88
    8289// Init Plugin
    8390add_action( 'init', 'init_missing_menu', 10 );
     
    8592// Add Block Template Support to Theme
    8693add_theme_support( 'block-templates' );
     94
     95// Load plugin text domain.
     96add_action( 'plugins_loaded', 'ea_mmi_load_textdomain' );
  • missing-menu-items/tags/1.2.2/readme.txt

    r2807018 r2819923  
    66Tested up to:      6.1
    77Requires PHP:      7.4
    8 Stable tag:        1.2.1
     8Stable tag:        1.2.2
    99License:           GPLv3 or later
    1010License URI:       https://www.gnu.org/licenses/gpl-3.0.html
     
    7777== Changelog ==
    7878
     79= 1.2.2 =
     80* Added localization
     81
    7982= 1.2.1 =
    8083* Move assets
     
    8386= 1.2.0 =
    8487* Initial Release
     88
     89== Upgrade Notice ==
     90
     91= 1.2.2 =
     92* Added localization
  • missing-menu-items/trunk/ea-missing-menu-items.php

    r2806866 r2819923  
    44 * Plugin URI:        http://www.blockstyles.com
    55 * Description:       Reusable Menu Items adds reusable block and template links to the admin
    6  * Version:           1.2.1
     6 * Version:           1.2.2
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
     
    1111 * License:           GPL v3 or later
    1212 * License URI:       https://www.gnu.org/licenses/gpl-3.0.html
    13  * Text Domain:       reusable-menu-items
     13 * Text Domain:       ea-missing-menu-items
    1414 * Doman Path:        /languages/
    1515 *
     
    4040    public function add_reusable_blocks_menu() {
    4141        add_theme_page(
    42             'Reusable Blocks',
    43             'Reusable Blocks',
     42            __( 'Reusable Blocks', 'ea-missing-menu-items' ),
     43            __( 'Reusable Blocks', 'ea-missing-menu-items' ),
    4444            'manage_options',
    4545            'edit.php?post_type=wp_block',
     
    4848        );
    4949        add_theme_page(
    50             'Navigation Menus',
    51             'Navigation Menus',
     50            __( 'Navigation Menu', 'ea-missing-menu-items' ),
     51            __( 'Navigation Menu', 'ea-missing-menu-items' ),
    5252            'manage_options',
    5353            'edit.php?post_type=wp_navigation',
     
    5656        );
    5757        add_theme_page(
    58             'Templates',
    59             'Templates',
     58            __( 'Templates', 'ea-missing-menu-items' ),
     59            __( 'Templates', 'ea-missing-menu-items' ),
    6060            'manage_options',
    6161            'site-editor.php?postType=wp_template',
     
    6464        );
    6565        add_theme_page(
    66             'Template Parts',
    67             'Template Parts',
     66            __( 'Template Parts', 'ea-missing-menu-items' ),
     67            __( 'Template Parts', 'ea-missing-menu-items' ),
    6868            'manage_options',
    6969            'site-editor.php?postType=wp_template_part',
     
    8080}
    8181
     82/**
     83 * Funtion to load text domain.
     84 */
     85function ea_mmi_load_textdomain() {
     86    load_plugin_textdomain( 'missing_menu_item_textdomain', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
     87}
     88
    8289// Init Plugin
    8390add_action( 'init', 'init_missing_menu', 10 );
     
    8592// Add Block Template Support to Theme
    8693add_theme_support( 'block-templates' );
     94
     95// Load plugin text domain.
     96add_action( 'plugins_loaded', 'ea_mmi_load_textdomain' );
  • missing-menu-items/trunk/readme.txt

    r2807018 r2819923  
    66Tested up to:      6.1
    77Requires PHP:      7.4
    8 Stable tag:        1.2.1
     8Stable tag:        1.2.2
    99License:           GPLv3 or later
    1010License URI:       https://www.gnu.org/licenses/gpl-3.0.html
     
    7777== Changelog ==
    7878
     79= 1.2.2 =
     80* Added localization
     81
    7982= 1.2.1 =
    8083* Move assets
     
    8386= 1.2.0 =
    8487* Initial Release
     88
     89== Upgrade Notice ==
     90
     91= 1.2.2 =
     92* Added localization
Note: See TracChangeset for help on using the changeset viewer.