Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#15869 closed defect (bug) (fixed)

Don't unset the admin bar object to keep it from rendering

Reported by: filosofo Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: has-patch commit
Focuses: Cc:


r17021 means that to override a post-init negative you have to re-instantiate the object.

It also seems a little ugly. :)

Attachments (1)

less-ugly-admin-bar-hide.diff (1.0 KB) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (5)

#1 @nacin
5 years ago

  • Component changed from General to Administration

Fine with me.

#2 @nacin
5 years ago

  • Keywords commit added

#3 @westi
5 years ago

Looks great.

Massaging patch so it still applies :-)

#4 @westi
5 years ago

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

(In [17057]) Less ugly show_admin_bar() enforcement. Fixes #15869 props filosofo.

Note: See TracTickets for help on using tickets.