WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#33632 closed defect (bug) (fixed)

Menu Customizer: Not used strings?

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

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
4 years ago

  • Component changed from Menus to Customize

#2 @ocean90
4 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 35694:

Customizer: Remove two unused strings.

Fixes #33632.

#3 @ocean90
4 years ago

  • Milestone changed from Awaiting Review to 4.4

#4 @pavelevap
4 years ago

And what about pendingTitleTpl and invalidTitleTpl? Are they used?

Note: See TracTickets for help on using tickets.