PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.2
Jetpack – WP Security, Backup, Speed, & Growth v16.2
16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 All 503 releases
← All changes | class.jetpack-network.php +1 -7 16.3-a.116.2 View file →
@@ -280,15 +280,9 @@
280 280 *
281 281 * @since 2.9
282 282 */
283 283 public function add_network_admin_menu() {
284 - $logo = new Logo();
285 - // Another plugin may load an older Logo class before all Jetpack autoloaders register.
286 - if ( method_exists( $logo, 'get_base64_admin_menu_logo' ) ) {
287 - $icon = $logo->get_base64_admin_menu_logo();
288 - } else {
289 - $icon = $logo->get_base64_logo();
290 - }
284 + $icon = ( new Logo() )->get_base64_logo();
291 285 add_menu_page( 'Jetpack', 'Jetpack', 'jetpack_network_admin_page', 'jetpack', array( $this, 'wrap_network_admin_page' ), $icon, 3 );
292 286 $jetpack_sites_page_hook = add_submenu_page( 'jetpack', __( 'Jetpack Sites', 'jetpack' ), __( 'Sites', 'jetpack' ), 'jetpack_network_sites_page', 'jetpack', array( $this, 'wrap_network_admin_page' ) );
293 287 $jetpack_settings_page_hook = add_submenu_page( 'jetpack', __( 'Settings', 'jetpack' ), __( 'Settings', 'jetpack' ), 'jetpack_network_settings_page', 'jetpack-settings', array( $this, 'wrap_render_network_admin_settings_page' ) );
294 288 add_action( "load-$jetpack_sites_page_hook", array( $this, 'admin_init_network_page' ) );