We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d698bd8 commit eb02ef8Copy full SHA for eb02ef8
mu-plugins/blocks/global-header-footer/admin-bar.php
@@ -69,7 +69,7 @@ function filter_admin_bar_links( $wp_admin_bar ) {
69
$ab_item->parent = 'edit-actions';
70
$wp_admin_bar->remove_node( $ab_item->id );
71
$edit_items[] = $ab_item;
72
- } else if ( preg_match( '/blog-\d+/', $ab_item->parent ) ) {
+ } else if ( preg_match( '/blog-\d+/', $ab_item->parent ?? '' ) ) {
73
74
}
75
0 commit comments