Make WordPress Core

Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#16512 closed enhancement (invalid)

Add hook after set_current_screen()

Reported by: ptahdunbar's profile ptahdunbar Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

There needs to be a hook after set_current_screen() as it does a lot of work setting up the $current_screen global.. I'd hate to have to repeat it in admin_init as that's the last generic hook before load-$pagenow.

Patch adds new hook admin_loaded after set_current_screen()

Attachments (1)

ticket.16512.diff (334 bytes) - added by ptahdunbar 14 years ago.

Download all attachments as: .zip

Change History (7)

#1 in reply to: ↑ description @mikeschinkel
14 years ago

  • Cc mikeschinkel@… added

Replying to ptahdunbar:

There needs to be a hook after set_current_screen()

+1

#2 @markjaquith
14 years ago

I was setting up some example code for you to use, that leverages load-$pagenow, but I ran across this apparent bug: #16513

#3 @nacin
14 years ago

Related, the improvements needed in #14886.

#4 @c3mdigital
11 years ago

  • Keywords close added; has-patch removed
  • Resolution set to invalid
  • Status changed from new to closed

This is no longer needed after the improvements in #14886

#5 @DrewAPicture
11 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted

#6 @SergeyBiryukov
11 years ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.