Old question but I just came accros a fix.
I hope it helps someone else.
Add this to your theme functions.php file
add_action( 'wp_before_admin_bar_render', 'remove_mysites_comment_link' );
function remove_mysites_comment_link () {
global $wp_admin_bar;
foreach ( (array) $wp_admin_bar->user->blogs as $blog ) {
$menu_id_c="blog-" . $blog->userblog_id . '-c';
$wp_admin_bar->remove_menu($menu_id_c);
}
}
Related Posts:
- How to remove and disable access to General Settings Page including its link
- Add menu page on multisite
- How to remove the Tools menu item from the WP-Admin menu
- wp_redirect not working on admin menu page
- Register submenu on network menu from the subsite
- Show media-frame-menu on custom Media Frame
- Updated to version 3.8 and Admin pages are very slow. How to diagnose problem? [closed]
- sub-page settings saving in NETWORK DASHBOARD
- My Sites link in multisite is incorrect
- the menu of the network does not display my second website
- Multisite – cannot remove specific sub-menu its parent menu. All sub-menus disappear
- WordPress Multisite giving users access to specific Admin Pages
- load styles and scripts in network admin not working
- 4th Network Site Database Errors?
- Perform action on WPMU blog deletion
- Changing Multisite themes on mass
- Upload path/URL weirdness for the main blog of a multisite/network setup
- Sitemap Plugin for WordPress Network
- Restrict users on multisite WordPress install
- Import a regular WordPress blog into a MU installation
- Basic analytics across WordPress Multisite network [closed]
- Which is the recommended method to transfer a wordpress site to wordpress Multisite?
- Hierarchical Page Listing of all Pages in a Multisite Network
- Asian language multisite IDN subdomain
- Using separate Apache log files for multisite
- Changing Multisite URL after the subsite has been in use
- Can’t find “Add New” button for themes in a multisite
- Network setup tab is not shown under Tools
- Multi-site: Change the URL of main site to HTTPS
- How to show sites under “My Sites” Menu in admin panel wordpress multisite?
- How can I get multisite primary blog (url or path) for current user?
- How the mu-plugins Folder Works in a Multisite Installation?
- Replacing the default content created while the site creation
- Yoast Sitemap grouping external sitemaps [closed]
- Multisites, upload issues, and iOS!
- How to allow WordPress users create sub-website or mini-website under my domain with any basic site builder?
- Multisite new sites not found(404), main site still works [closed]
- How to get option values set from all sites within a Multisite setup?
- create new site subsite in wordpress multisite by subscriber user instead of network admin
- Retrieving multisite blog IDs, somehow failing to foreach them properly
- Why my deleted url is redirecting to random post?
- How to host blog on separate domain from main site
- What is meant by Multisite in WordPress?
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Reset a site in multisite
- How to use a Wildcard SSL with WordPress Network?
- Migrating wordpress multisite and domain mapping plugin
- WordPress Multisite – Can 2 domains share a database of users?
- Can you create a local wordpress network / multisite install on a mac with subdomains?
- How to solve this issue
- Cookie signed verification failed – wp-saving-post
- What is the way to share data between sites in a multisite
- ERR_TOO_MANY_REDIRECTS when i config my subdomains
- Subsite access without being a member of the subsite in wp multisite network
- Redirect loop after activating wordpress multisite feature
- Error: reassigning content to a different user is not supported on multisite
- Run additional service on domain with WordPress Multisite?
- Development of new theme and rollout on multisite
- WordPress Network (multisite) — how to ensure each site has their own admin URL?
- Is it possible for a child-site of a multisite to be a multisite itself?
- metaboxes disappear on saved pages
- How to show only blog-domain instead of the whole permalink in the loop
- Multisite installation on an existing single installation
- Multiple subsites in a single wordpress installation
- How many databases do I need?
- How to sync roles across Multisite?
- Multisite Subdirectory Site Dashboard redirect loop
- WordPress Multisites or Multiple WP Single sites?
- Is it possible to disable html code error auto fixing feature by wordpress 4.9.1?
- LimitInternalRecursion error
- Should I use Multi Site to achieve different designs for different sections?
- User registration is currently not allowed
- $_SERVER[‘SERVER_NAME’] in WP_SITEURL
- WPMU on MySQL limited to 1GB of space?
- Two installs conflicting – Pages redirecting
- Set my own password when registering a multisite user or site
- Efficient way to fetch all archived WPMS blogs
- WP-Cli Error When Mapping Multisite Subdomain
- WordPress Multisite for multi-language
- Serve theme and plugins assets from correct domain on multi-domain multisite
- hide page menu from admin panel for specific users
- WP Multisite Sub-Domain Error
- How to have submenus collapsed until they are clicked?
- WordPress multisite condition for certain blog_id’s
- Can WP multisite manage multiple ccTLDs
- Should i use multisite for my business?
- WordPress Network with SSL for multiple domains
- Nginx rules for subdomain multisite install (Bedrock)
- WP Admin Panel for Multi-site install not loading JavaScript for one Subdomain
- multisite detect subsite blog number
- How to Create WPMu New User?
- New multisite redirects to main site
- Is it possible to create a login for restricted visibility?
- WP Multisite: Do a function after blog is activated
- WordPress Multisite Subsite WP admin not working
- multi-language multi-site with REST API
- How to make Multisite global login that redirects to correct subsite after login
- Advice on WP site structure using multisite
- How to login Separately in each blog?
- Run WordPress multisite from secondary volume on AWS EC2