Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#7762 closed defect (bug) (worksforme)

do_action( 'sidebar_admin_page' ) in widgets.php in the wrong place?

Reported by: petervanderdoes's profile petervanderdoes Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Widgets Keywords: reporter-feedback
Focuses: Cc:


When an action is added to the sidebar_admin_page the result of the do_action messes up the page.

The result is an entire page that is inaccessible except for the code added through the add_action.

By moving line 328 in wp-admin/widgets.php to line 294 the problem is solved.

Attachments (1)

patch.txt (416 bytes) - added by petervanderdoes 15 years ago.
Patch to solve the problem

Download all attachments as: .zip

Change History (6)

15 years ago

Patch to solve the problem

#1 @ryan
14 years ago

  • Component changed from Administration to Widgets
  • Owner anonymous deleted

#2 @Denis-de-Bernardy
14 years ago

  • Keywords reporter-feedback added
  • Milestone set to 2.9

could you be more specific? the hook seems to be at the correct location as it currently is...

#3 @Denis-de-Bernardy
14 years ago

  • Milestone changed from 2.9 to 2.8

see also #9511

#4 @Denis-de-Bernardy
14 years ago

  • Milestone changed from 2.8 to Future Release

#5 @Denis-de-Bernardy
14 years ago

  • Milestone Future Release deleted
  • Resolution set to worksforme
  • Status changed from new to closed

tried it and nothing gets messed up

Note: See TracTickets for help on using tickets.