Changeset 2819923
- Timestamp:
- 11/17/2022 04:58:28 PM (3 years ago)
- Location:
- missing-menu-items
- Files:
-
- 4 added
- 4 edited
- 1 copied
-
tags/1.2.2 (copied) (copied from missing-menu-items/trunk)
-
tags/1.2.2/ea-missing-menu-items.php (modified) (8 diffs)
-
tags/1.2.2/languages (added)
-
tags/1.2.2/languages/ea-missing-menu-items.pot (added)
-
tags/1.2.2/readme.txt (modified) (3 diffs)
-
trunk/ea-missing-menu-items.php (modified) (8 diffs)
-
trunk/languages (added)
-
trunk/languages/ea-missing-menu-items.pot (added)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
missing-menu-items/tags/1.2.2/ea-missing-menu-items.php
r2806866 r2819923 4 4 * Plugin URI: http://www.blockstyles.com 5 5 * Description: Reusable Menu Items adds reusable block and template links to the admin 6 * Version: 1.2. 16 * Version: 1.2.2 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 11 11 * License: GPL v3 or later 12 12 * License URI: https://www.gnu.org/licenses/gpl-3.0.html 13 * Text Domain: reusable-menu-items13 * Text Domain: ea-missing-menu-items 14 14 * Doman Path: /languages/ 15 15 * … … 40 40 public function add_reusable_blocks_menu() { 41 41 add_theme_page( 42 'Reusable Blocks',43 'Reusable Blocks',42 __( 'Reusable Blocks', 'ea-missing-menu-items' ), 43 __( 'Reusable Blocks', 'ea-missing-menu-items' ), 44 44 'manage_options', 45 45 'edit.php?post_type=wp_block', … … 48 48 ); 49 49 add_theme_page( 50 'Navigation Menus',51 'Navigation Menus',50 __( 'Navigation Menu', 'ea-missing-menu-items' ), 51 __( 'Navigation Menu', 'ea-missing-menu-items' ), 52 52 'manage_options', 53 53 'edit.php?post_type=wp_navigation', … … 56 56 ); 57 57 add_theme_page( 58 'Templates',59 'Templates',58 __( 'Templates', 'ea-missing-menu-items' ), 59 __( 'Templates', 'ea-missing-menu-items' ), 60 60 'manage_options', 61 61 'site-editor.php?postType=wp_template', … … 64 64 ); 65 65 add_theme_page( 66 'Template Parts',67 'Template Parts',66 __( 'Template Parts', 'ea-missing-menu-items' ), 67 __( 'Template Parts', 'ea-missing-menu-items' ), 68 68 'manage_options', 69 69 'site-editor.php?postType=wp_template_part', … … 80 80 } 81 81 82 /** 83 * Funtion to load text domain. 84 */ 85 function ea_mmi_load_textdomain() { 86 load_plugin_textdomain( 'missing_menu_item_textdomain', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 87 } 88 82 89 // Init Plugin 83 90 add_action( 'init', 'init_missing_menu', 10 ); … … 85 92 // Add Block Template Support to Theme 86 93 add_theme_support( 'block-templates' ); 94 95 // Load plugin text domain. 96 add_action( 'plugins_loaded', 'ea_mmi_load_textdomain' ); -
missing-menu-items/tags/1.2.2/readme.txt
r2807018 r2819923 6 6 Tested up to: 6.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.2. 18 Stable tag: 1.2.2 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 77 77 == Changelog == 78 78 79 = 1.2.2 = 80 * Added localization 81 79 82 = 1.2.1 = 80 83 * Move assets … … 83 86 = 1.2.0 = 84 87 * 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 4 4 * Plugin URI: http://www.blockstyles.com 5 5 * Description: Reusable Menu Items adds reusable block and template links to the admin 6 * Version: 1.2. 16 * Version: 1.2.2 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 11 11 * License: GPL v3 or later 12 12 * License URI: https://www.gnu.org/licenses/gpl-3.0.html 13 * Text Domain: reusable-menu-items13 * Text Domain: ea-missing-menu-items 14 14 * Doman Path: /languages/ 15 15 * … … 40 40 public function add_reusable_blocks_menu() { 41 41 add_theme_page( 42 'Reusable Blocks',43 'Reusable Blocks',42 __( 'Reusable Blocks', 'ea-missing-menu-items' ), 43 __( 'Reusable Blocks', 'ea-missing-menu-items' ), 44 44 'manage_options', 45 45 'edit.php?post_type=wp_block', … … 48 48 ); 49 49 add_theme_page( 50 'Navigation Menus',51 'Navigation Menus',50 __( 'Navigation Menu', 'ea-missing-menu-items' ), 51 __( 'Navigation Menu', 'ea-missing-menu-items' ), 52 52 'manage_options', 53 53 'edit.php?post_type=wp_navigation', … … 56 56 ); 57 57 add_theme_page( 58 'Templates',59 'Templates',58 __( 'Templates', 'ea-missing-menu-items' ), 59 __( 'Templates', 'ea-missing-menu-items' ), 60 60 'manage_options', 61 61 'site-editor.php?postType=wp_template', … … 64 64 ); 65 65 add_theme_page( 66 'Template Parts',67 'Template Parts',66 __( 'Template Parts', 'ea-missing-menu-items' ), 67 __( 'Template Parts', 'ea-missing-menu-items' ), 68 68 'manage_options', 69 69 'site-editor.php?postType=wp_template_part', … … 80 80 } 81 81 82 /** 83 * Funtion to load text domain. 84 */ 85 function ea_mmi_load_textdomain() { 86 load_plugin_textdomain( 'missing_menu_item_textdomain', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 87 } 88 82 89 // Init Plugin 83 90 add_action( 'init', 'init_missing_menu', 10 ); … … 85 92 // Add Block Template Support to Theme 86 93 add_theme_support( 'block-templates' ); 94 95 // Load plugin text domain. 96 add_action( 'plugins_loaded', 'ea_mmi_load_textdomain' ); -
missing-menu-items/trunk/readme.txt
r2807018 r2819923 6 6 Tested up to: 6.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.2. 18 Stable tag: 1.2.2 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 77 77 == Changelog == 78 78 79 = 1.2.2 = 80 * Added localization 81 79 82 = 1.2.1 = 80 83 * Move assets … … 83 86 = 1.2.0 = 84 87 * Initial Release 88 89 == Upgrade Notice == 90 91 = 1.2.2 = 92 * Added localization
Note: See TracChangeset
for help on using the changeset viewer.