WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#28035 closed defect (bug) (invalid)

Disabling toolbar causes dashicons to disappear

Reported by: MBWD Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Toolbar Keywords:
Focuses: ui, administration Cc:
PR Number:

Description

I've noticed that when disabling toolbar from Users -> Your Profile, dashicons that were implemented using the standard HTML format (such as <div class="dashicons dashicons-admin-site"></div>) will also disappear from both navbar and other divs in the main screen. I first noticed this using my own theme which is an integration of Bootstrap 3 with WordPress 3.9. I have duplicated the error with the same site using twenty thirteen, and have also duplicated it on another site using a child theme of twenty twelve running WordPress 3.8. All plugins were disabled.

The error occurred no matter whether it was a local dev site on MAMP or a live site. It also occurs regardless of whether or not I am logged in, i.e. disabling toolbar for a user seems to cause dashicons to disappear for all viewers.

I also duplicated the error simply viewing the sites in question on my Android phone.

Re-enabling the toolbar causes the dashicons to reappear.

Change History (4)

#1 @MBWD
5 years ago

Actually cannot see the dashicons on my Android phone regardless of the status of the toolbar.

#2 @SergeyBiryukov
5 years ago

  • Component changed from General to Toolbar
  • Focuses ui administration added

#3 @MBWD
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed

This issue was resolved by enqueuing dashicons for the front end in functions.php.

#4 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.