WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#12796 closed defect (bug) (fixed)

Inline-editing for custom tax needs 'singular_label' in update button

Reported by: keighl Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Template Keywords: has-patch commit
Focuses: Cc:

Description

Inline editing for custom taxonomies should have the proper singular_label displayed for the update button. Currently, the button shows "Update Category" by default. If the current tax is custom, the button should show the $tax->singular_label value instead.

Attachments (2)

template.php.diff (1.1 KB) - added by keighl 4 years ago.
Adds $tax->singular_label to the $update_text logic
template.php.2.diff (925 bytes) - added by scribu 4 years ago.
Better way to do it

Download all attachments as: .zip

Change History (5)

keighl4 years ago

Adds $tax->singular_label to the $update_text logic

comment:1 keighl4 years ago

  • Keywords dev-feedback removed

scribu4 years ago

Better way to do it

comment:2 scribu4 years ago

  • Keywords commit added

Translatable strings can't have variables in them. Updated patch.

comment:3 nacin4 years ago

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

(In [14054]) Quick edit taxonomy label. props scribu, keighl, fixes #12796

Note: See TracTickets for help on using tickets.