Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12746 closed defect (bug) (fixed)

edit-tag-form.php filters AFTER submit button?

Reported by: jfarthing84's profile jfarthing84 Owned by: dd32's profile dd32
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: UI Keywords: 2nd-opinion has-patch
Focuses: Cc:

Description

If you were to hook into the edit tag (taxonomy) form in edit-tag-form.php, anything you add outside of the table (using '[taxonomy]_edit_form') will show up after the submit button, which just isn't right. Shouldn't the submit button be last?

Attachments (2)

12746.diff (874 bytes) - added by jfarthing84 15 years ago.
Do '[taxonomy]_edit_form' hooks after submit button.
edit-tags.diff (394 bytes) - added by jfarthing84 15 years ago.
Display "Edit [Taxonomy]" instead of "Edit Tag" in browser title.

Download all attachments as: .zip

Change History (7)

@jfarthing84
15 years ago

Do '[taxonomy]_edit_form' hooks after submit button.

#1 @jfarthing84
15 years ago

  • Keywords dev-feedback has-patch added

While on the subject, when editing a term, it still shows 'Edit Tag' in the browser window, regardless of the taxonomy.

@jfarthing84
15 years ago

Display "Edit [Taxonomy]" instead of "Edit Tag" in browser title.

#2 @dd32
15 years ago

  • Owner set to dd32
  • Status changed from new to accepted

Sounds reasonable to me, Have to check where those filters were on pre 3.0 to make sure its not breaking some thing..

#3 @dd32
15 years ago

(In [13876]) Display "Edit $taxonomy" on edit-tags.php Edit screen. Props jfarthing84. See #12746

#4 @dd32
15 years ago

  • Keywords 2nd-opinion added; dev-feedback removed

Have to check where those filters were on pre 3.0 to make sure its not breaking some thing..

It was the same in 2.9.

The hooks mentioned here shouldnt be used to add extra fields, however, Adding it before the submit button does seem a far better location than we currently are using.

#5 @dd32
15 years ago

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

(In [14398]) Move edit_<tax>_form and <tax>_edit_form to above submit button. Fixes #12746

Note: See TracTickets for help on using tickets.