Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#37170 closed defect (bug) (wontfix)

Widgets: Default title display inconsistent

Reported by: henrywright's profile henry.wright Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.3
Component: Widgets Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

Related is #13240.

If a user doesn't provide a title, most widgets output a default title. For example:

  • Recent Posts
  • Pages
  • Recent Comments
  • Categories
  • Archives

Some widgets such as Custom Menu, Text and Search don't output a default title if the user leaves the title field empty.

Should all core widgets output a default title if left blank by the user?

Change History (3)

#1 @henry.wright
8 years ago

If you think it's a good idea, I'd be happy to submit a patch which adds a default title to all default widgets?

#2 @SergeyBiryukov
8 years ago

  • Description modified (diff)

#3 @welcher
7 years ago

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

@henry.wright thanks for the ticket!

It makes sense to me to not have a title for Search or Custom Menu for example as the search box and menu output pretty clearly indicates what the user is looking at making the default title of "Search" or "Custom Menu" redundant.

In the case of the Text widget, there is not really a "good" ( subjective I know ) option for default as the content can literally be anything and a default title may just not make sense depending on the content.

Closing as wont-fix but it can be reopened if needed.

Note: See TracTickets for help on using tickets.