WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 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:

Description

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 3 years ago.
wp_head hook to work with define('NO_HEADER_TEXT', false)

Download all attachments as: .zip

Change History (4)

drzraf3 years ago

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

comment:1 nacin3 years ago

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

comment:2 nacin3 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 nacin3 years ago

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