[wp-trac] [WordPress Trac] #49089: hook_suffix is undefined in WP_Screen class

WordPress Trac noreply at wordpress.org
Sun Dec 29 00:45:29 UTC 2019


#49089: hook_suffix is undefined in WP_Screen class
----------------------------+------------------------------
 Reporter:  splendorstudio  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  5.3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Administration


Old description:

> Hi There,
>
> There is an bug in WP_Screen class in 213 line which we are getting via
> $id = $GLOBALS['hook_suffix']; hook_suffix global, You can see this issue
> via some functions but,
> I encountered with this issue via convert_to_screen() in ajax situation.
> Please let me know if there is any question.

New description:

 Hi There,

 There is an bug in WP_Screen class in 213 line which we are getting via
 `$id = $GLOBALS['hook_suffix'];` hook_suffix global, You can see this
 issue via some functions but,
 I encountered with this issue via `convert_to_screen()` in ajax situation.
 Please let me know if there is any question.

--

Comment:

 Related: #22039, #29933.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49089#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list