Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#15624 closed defect (bug) (worksforme)

twentyten preview is wrong

Reported by: drzraf Owned by: nacin
Milestone: Priority: normal
Severity: minor Version: 3.0.2
Component: Themes Keywords: reporter-feedback
Focuses: Cc:


TwentyTen uses add_custom_image_header() without the 3rd argument.
Therefore the theme preview reflect the default WP behavior where the title is over the image.

But TwentyTen fixed HTML output the title before the image.

I set NO_HEADER_TEXT to false in order to get the title and description display.

I think that TwentyTen should support NO_HEADER_TEXT set to false,
I'm currently using the attached function.

Attachments (1)

header_text.hook.php (661 bytes) - added by drzraf 4 years ago.
wp_head hook to work with define('NO_HEADER_TEXT', false)

Download all attachments as: .zip

Change History (4)

@drzraf4 years ago

wp_head hook to work with define('NO_HEADER_TEXT', false)

comment:1 @nacin4 years ago

  • Owner set to nacin
  • Status changed from new to accepted

comment:2 @nacin4 years ago

  • Keywords reporter-feedback added; twentyten custom header text color NO_HEADER_TEXT removed

When previewing Twenty Ten, I see nothing wrong. Is this a bug? Can you describe how to reproduce it?

comment:3 @nacin4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.