WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#10076 closed defect (bug) (duplicate)

edit_category_form action adjustment

Reported by: johnkolbert Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7.1
Component: Administration Keywords: categories, edit form
Focuses: Cc:

Description

In categories.php an action on line 281 called "edit_category_form" allows plugins to add information to the category form. However, this action runs AFTER the submit button for the form and isn't very useful as is.

To make this action useful I purpose moving line 281 up two lines so that it runs BEFORE the submit button is created on the screen. This allows plugin authors to add category form elements which appear before the submit button.

Attachments (2)

categories.php (9.1 KB) - added by johnkolbert 6 years ago.
updated categories.php
categories.2.php (9.1 KB) - added by johnkolbert 6 years ago.
updated file using the categories.php from version 2.8-beta2-11456. Lines affected are 285-287

Download all attachments as: .zip

Change History (3)

@johnkolbert6 years ago

updated categories.php

@johnkolbert6 years ago

updated file using the categories.php from version 2.8-beta2-11456. Lines affected are 285-287

comment:1 @Denis-de-Bernardy6 years ago

  • Component changed from Revisions to Administration
  • Milestone 2.8 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

dup of #8831 and #2717

Note: See TracTickets for help on using tickets.