Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit de05d4d

Browse files
committed
Readme uodates
1 parent 3d7ab1a commit de05d4d

File tree

6 files changed

+24
-19
lines changed

6 files changed

+24
-19
lines changed

CHANGES.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
### ⚡ 1.4.8 - 2019-10-22
1818

19-
* New: Added "News & Updates" Dashboard widget - only viewable for (Super) Admins, can easily be disabled via "Screen Options" (top right corner) - Note: settings integration will follow, though
20-
* New: Added way more specific, helpful resources within the WordPress Logo/ About group (finishing the work that began with plugin version 1.4.5)
19+
* New: Added **"News & Updates" Dashboard widget** - only viewable for (Super) Admins, can easily be disabled via "Screen Options" (top right corner) - Note: settings integration will follow, though
20+
* New: Added way **more specific, helpful resources within the WordPress Logo/ About group** (finishing the work that began with plugin version 1.4.5)
2121
* New: Added shortcut to plugin's settings in Multisite Network Admin (only to the main site of the Network, though)
22-
* New: Added shortcuts to plugin's settings tabs on the Elementor "General Settings" admin page (as extra tab there)
23-
* New: For [ClassicPress](https://www.classicpress.net/) installs added new "Toolbar Extras" info page under "Security" admin menu (for ClassicPress v1.1.0+)
24-
* New: You can now also leverage "WPCore Plugin Manager" plugin to bulk install plugins - if active, new item and sub items appear within the "New Content" Group
22+
* New: Added **shortcuts to plugin's settings** tabs on the **Elementor "General Settings"** admin page (as extra tab there)
23+
* New: **For [ClassicPress](https://www.classicpress.net/) installs** added new "Toolbar Extras" **info page under "Security"** admin menu (for ClassicPress v1.1.0+)
24+
* New: You can now also leverage **"WPCore Plugin Manager" plugin to bulk install plugins** - if active, new item and sub items appear within the "New Content" Group
2525
* Tweak: Extended "WP About" sub items with more stuff when *Dev Mode* is enabled
2626
* Tweak: Refined "Mailster" plugin support, added new sub items (Setup Wizard, Tests) and one new resource item (Changelog)
2727
* Tweak: Refined "Formidable Forms" plugin support, added new sub items for Pro version and 2 Pro Add-Ons, plus one new resource item (Changelog)

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -520,12 +520,12 @@ See the full [tutorial on how to use Toolbar Extras on a WordPress.com Business
520520

521521
### ⚡ 1.4.8 - 2019-10-22
522522

523-
* New: Added "News & Updates" Dashboard widget - only viewable for (Super) Admins, can easily be disabled via "Screen Options" (top right corner) - Note: settings integration will follow, though
524-
* New: Added way more specific, helpful resources within the WordPress Logo/ About group (finishing the work that began with plugin version 1.4.5)
525-
* New: Added shortcut to plugin's settings in Multisite Network Admin (only to the main site of the Network, though)
526-
* New: Added shortcuts to plugin's settings tabs on the Elementor "General Settings" admin page (as extra tab there)
527-
* New: For [ClassicPress](https://www.classicpress.net/) installs added new "Toolbar Extras" info page under "Security" admin menu (for ClassicPress v1.1.0+)
528-
* New: You can now also leverage "WPCore Plugin Manager" plugin to bulk install plugins - if active, new item and sub items appear within the "New Content" Group
523+
* New: Added **"News & Updates" Dashboard widget** - only viewable for (Super) Admins, can easily be disabled via "Screen Options" (top right corner) - Note: settings integration will follow, though
524+
* New: Added way **more specific, helpful resources within the WordPress Logo/ About group** (finishing the work that began with plugin version 1.4.5)
525+
* New: Added **shortcut to plugin's settings in Multisite** Network Admin (only to the main site of the Network, though)
526+
* New: Added **shortcuts to plugin's settings** tabs on the **Elementor "General Settings"** admin page (as extra tab there)
527+
* New: **For [ClassicPress](https://www.classicpress.net/) installs** added new "Toolbar Extras" **info page under "Security"** admin menu (for ClassicPress v1.1.0+)
528+
* New: You can now also leverage **"WPCore Plugin Manager" plugin to bulk install plugins** - if active, new item and sub items appear within the "New Content" Group
529529
* Tweak: Extended "WP About" sub items with more stuff when *Dev Mode* is enabled
530530
* Tweak: Refined "Mailster" plugin support, added new sub items (Setup Wizard, Tests) and one new resource item (Changelog)
531531
* Tweak: Refined "Formidable Forms" plugin support, added new sub items for Pro version and 2 Pro Add-Ons, plus one new resource item (Changelog)

includes/admin/tbex-settings.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,9 +1119,14 @@ function ddw_tbex_builder_logic_for_builtin( $is_active ) {
11191119
* Display our own Dashboard Widget for News & Updates - only load for admins.
11201120
*
11211121
* @since 1.4.8
1122+
* @since 1.4.9 Tweaked for proper Multisite usage.
11221123
*/
11231124
if ( ( is_admin() || is_network_admin() ) && ddw_tbex_display_dashboard_additions() ) {
11241125

1126+
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
1127+
require_once ABSPATH . '/wp-admin/includes/plugin.php';
1128+
}
1129+
11251130
if ( ( ! is_multisite() && current_user_can( 'manage_options' ) )
11261131
|| ( is_multisite()
11271132
&& current_user_can( 'manage_network' )

includes/block-editor/items-block-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function ddw_tbex_items_block_editor_core( $admin_bar ) {
158158
* Note: This optionally filters the existing item (via "Gutenberg" plugin
159159
* for example).
160160
*/
161-
if ( ddw_tbex_display_items_new_content() ) {
161+
if ( ddw_tbex_display_items_new_content() && ! is_network_admin() ) {
162162

163163
$admin_bar->add_node(
164164
array(

includes/plugins/items-code-snippets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function ddw_tbex_aoitems_new_content_code_snippet( $admin_bar ) {
273273
'id' => 'tbex-code-snippet',
274274
'parent' => 'new-content',
275275
'title' => esc_attr_x( 'Code Snippet', 'Toolbar New Content section', 'toolbar-extras' ),
276-
'href' => esc_url( admin_url( 'admin.php?page=add-snippet' ) ),
276+
'href' => esc_url( network_admin_url( 'admin.php?page=add-snippet' ) ),
277277
'meta' => array(
278278
'target' => '',
279279
'title' => esc_attr_x( 'Add new Code Snippet', 'Toolbar New Content section', 'toolbar-extras' ),

readme.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,12 @@ See the full [tutorial on how to use Toolbar Extras on a WordPress.com Business
420420

421421

422422
= ⚡ 1.4.8 - 2019-10-22 =
423-
* New: Added "News & Updates" Dashboard widget - only viewable for (Super) Admins, can easily be disabled via "Screen Options" (top right corner) - Note: settings integration will follow, though
424-
* New: Added way more specific, helpful resources within the WordPress Logo/ About group (finishing the work that began with plugin version 1.4.5)
425-
* New: Added shortcut to plugin's settings in Multisite Network Admin (only to the main site of the Network, though)
426-
* New: Added shortcuts to plugin's settings tabs on the Elementor "General Settings" admin page (as extra tab there)
427-
* New: For [ClassicPress](https://www.classicpress.net/) installs added new "Toolbar Extras" info page under "Security" admin menu (for ClassicPress v1.1.0+)
428-
* New: You can now also leverage "WPCore Plugin Manager" plugin to bulk install plugins - if active, new item and sub items appear within the "New Content" Group
423+
* New: Added **"News & Updates" Dashboard widget** - only viewable for (Super) Admins, can easily be disabled via "Screen Options" (top right corner) - Note: settings integration will follow, though
424+
* New: Added way **more specific, helpful resources within the WordPress Logo/ About group** (finishing the work that began with plugin version 1.4.5)
425+
* New: Added **shortcut to plugin's settings in Multisite** Network Admin (only to the main site of the Network, though)
426+
* New: Added **shortcuts to plugin's settings** tabs on the **Elementor "General Settings"** admin page (as extra tab there)
427+
* New: **For [ClassicPress](https://www.classicpress.net/) installs** added new "Toolbar Extras" **info page under "Security"** admin menu (for ClassicPress v1.1.0+)
428+
* New: You can now also leverage **"WPCore Plugin Manager" plugin to bulk install plugins** - if active, new item and sub items appear within the "New Content" Group
429429
* Tweak: Extended "WP About" sub items with more stuff when *Dev Mode* is enabled
430430
* Tweak: Refined "Mailster" plugin support, added new sub items (Setup Wizard, Tests) and one new resource item (Changelog)
431431
* Tweak: Refined "Formidable Forms" plugin support, added new sub items for Pro version and 2 Pro Add-Ons, plus one new resource item (Changelog)

0 commit comments

Comments
 (0)