Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28569, comment 6


Ignore:
Timestamp:
03/25/2021 04:30:26 PM (4 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28569, comment 6

    initial v1  
    11The patch still applies, though it could use a [https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#yoda-conditions Yoda condition] on the check.
    22
    3 Also, it would help if someone with deeper knowledge of the admin bar (and themes) agrees this is the correct way to do this. I have used the `show_admin_bar` filter before, and returning false with that removes the style tag. But I have not used `show_admin_bar( false )` to know how that works.
     3Also, it would help if someone with deeper knowledge of the admin bar (and/or themes) agrees this is the correct way to do this. I have used the `show_admin_bar` filter before, and returning false with that removes the style tag. But I have not used `show_admin_bar( false )` to know how that works.