| @@ -70,9 +70,8 @@ | ||
| 70 | 70 | // Notice\BFDiscount::instance();. |
| 71 | 71 | // phpcs:ignore Squiz.PHP.CommentedOutCode.Found |
| 72 | 72 | // Notice\BlackFridayV2::instance();. |
| 73 | 73 | Notice\Review::instance(); |
| 74 | - Notice\CachePermission::instance(); | |
| 75 | 74 | } |
| 76 | 75 | |
| 77 | 76 | /** |
| 78 | 77 | * Init. |
| @@ -81,9 +80,9 @@ | ||
| 81 | 80 | */ |
| 82 | 81 | public function init() { |
| 83 | 82 | add_action( 'admin_menu', [ $this, 'add_menu' ], 25 ); |
| 84 | 83 | add_action( 'in_admin_header', [ $this, 'in_admin_header_functionality' ], 1000 ); |
| 85 | - // PluginRow registered earlier in ShopBuilder::init() so it survives dependency failures. | |
| 84 | + PluginRow::instance(); | |
| 86 | 85 | } |
| 87 | 86 | |
| 88 | 87 | /** |
| 89 | 88 | * Add menu. |
| @@ -118,10 +117,10 @@ | ||
| 118 | 117 | [ $this, 'get_help_page' ], |
| 119 | 118 | ); |
| 120 | 119 | add_submenu_page( |
| 121 | 120 | self::MENU_PAGE_SLUG, |
| 122 | - esc_html__( 'Themes', 'shopbuilder' ), | |
| 123 | - esc_html__( 'Themes', 'shopbuilder' ), | |
| 121 | + esc_html__( 'Themes & Apps', 'shopbuilder' ), | |
| 122 | + esc_html__( 'Themes & Apps', 'shopbuilder' ), | |
| 124 | 123 | self::MENU_CAPABILITY, |
| 125 | 124 | 'rtsb-themes', |
| 126 | 125 | [ $this, 'get_themes_page' ], |
| 127 | 126 | ); |