Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12796 closed defect (bug) (fixed)

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

Reported by: keighl's profile 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 15 years ago.
Adds $tax->singular_label to the $update_text logic
template.php.2.diff (925 bytes) - added by scribu 15 years ago.
Better way to do it

Download all attachments as: .zip

Change History (5)

@keighl
15 years ago

Adds $tax->singular_label to the $update_text logic

#1 @keighl
15 years ago

  • Keywords dev-feedback removed

@scribu
15 years ago

Better way to do it

#2 @scribu
15 years ago

  • Keywords commit added

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

#3 @nacin
15 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.