[wp-trac] [WordPress Trac] #22039: Undefined index: hook_suffix notice on wp_ajax_get_comments
WordPress Trac
noreply at wordpress.org
Sun Jul 6 00:51:51 UTC 2014
#22039: Undefined index: hook_suffix notice on wp_ajax_get_comments
--------------------------+---------------------
Reporter: c3mdigital | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Comments | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by tripflex):
As you can see from IRC log I was getting this warning when pulling list
table via ajax. I used the original patch where it sets the var first
(global $hook_suffix; $id = $hook_suffix;) and no longer get warning.
Was this left as using $GLOBALS['hook_suffix'] to make sure this warning
is output?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22039#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list