[wp-trac] [WordPress Trac] #12122: Unchecked Indexes in admin-ajax.php

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 15 21:40:54 UTC 2010


#12122: Unchecked Indexes in admin-ajax.php
------------------------------+---------------------------------------------
 Reporter:  miqrogroove       |       Owner:  westi                  
     Type:  defect (bug)      |      Status:  new                    
 Priority:  normal            |   Milestone:  3.0                    
Component:  Warnings/Notices  |     Version:  2.9                    
 Severity:  minor             |    Keywords:  has-patch tested commit
------------------------------+---------------------------------------------

Comment(by nacin):

 Scratch that, we'll still need the isset() check around $_GET['action'],
 as it may be $_POST.

 That also means this won't fix everything. Checking for
 $_REQUEST['action'] at the top may still generate a notice on line 25 as
 $_POST['autosave'] may not be set, because it may be GET.

 I like the strategy though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12122#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list