Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#33632 closed defect (bug) (fixed)

Menu Customizer: Not used strings?

Reported by: pavelevap Owned by: ocean90
Priority: normal Milestone: 4.4
Component: Customize Version: 4.4
Severity: normal Keywords:
Cc: Focuses:

Description

There are some strings which I could not find (probably not used):

  • postTypeLabel - Not used?
  • taxonomyTermLabel - Not used?
  • pendingTitleTpl - Comment suggests that it is used for items with draft status. But I was not able to add any draft item into menu in Customizer. It works on menu admin page, but items are not marked anyway.
  • invalidTitleTpl - Not sure what does it mean invalid title for menu item?

https://core.trac.wordpress.org/browser/tags/4.3/src/wp-includes/class-wp-customize-nav-menus.php#L342

Change History (4)

#1 @kucrut
11 years ago

  • Component Menus → Customize

#2 @ocean90
11 years ago

  • Owner set to ocean90
  • Resolution → fixed
  • Status new → closed

In 35694:

Customizer: Remove two unused strings.

Fixes #33632.

#3 @ocean90
11 years ago

  • Milestone Awaiting Review → 4.4

#4 @pavelevap
11 years ago

And what about pendingTitleTpl and invalidTitleTpl? Are they used?

Note: See TracTickets for help on using tickets.