WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#32584 closed defect (bug) (invalid)

Missing links in admin bar when body_class() is placed in <html> or in <body> and <html>

Reported by: Horttcore Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Toolbar Keywords: close reporter-feedback
Focuses: Cc:

Description

If you place the body_class() in the <html> tag instead of <body> or in both elements ( <html> and <body> ) customizer links will disappear.

Attachments (2)

32584.admin-bar-ok.png (37.0 KB) - added by Horttcore 2 years ago.
Admin bar ok
32584.admin-bar-broken.png (18.5 KB) - added by Horttcore 2 years ago.

Download all attachments as: .zip

Change History (4)

@Horttcore
2 years ago

Admin bar ok

#1 @johnbillion
2 years ago

  • Keywords close reporter-feedback added

I think the clue is in the name of the function. What's your reason for moving body_class() into the html element?

#2 @wonderboymusic
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

It is not intended to be used on <html>

Note: See TracTickets for help on using tickets.