[wp-trac] [WordPress Trac] #22553: PHP notices when inserting images

WordPress Trac noreply at wordpress.org
Mon Nov 26 17:33:58 UTC 2012


#22553: PHP notices when inserting images
------------------------------+--------------------
 Reporter:  miqrogroove       |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  trunk
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by miqrogroove):

 Re-testing on 3.5-RC1-22844

 Without any patch I get

 {{{
 [26-Nov-2012 17:23:45] PHP Notice:  Undefined index:  post_id in /wp-
 admin/includes/ajax-actions.php on line 1935
 [26-Nov-2012 17:23:45] PHP Notice:  Undefined index:  url in /wp-
 admin/includes/ajax-actions.php on line 1950
 [26-Nov-2012 17:23:45] PHP Notice:  Undefined variable: rel in /wp-
 admin/includes/ajax-actions.php on line 1956
 }}}

 With patch 22553.2.diff​ I get

 {{{
 [26-Nov-2012 17:32:24] PHP Notice:  Undefined index:  post_id in /wp-
 admin/includes/ajax-actions.php on line 1935
 }}}

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


More information about the wp-trac mailing list