[wp-trac] [WordPress Trac] #18774: Notice in /wp-admin/upload.php

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 26 06:16:42 UTC 2011


#18774: Notice in /wp-admin/upload.php
--------------------------+-----------------------------
 Reporter:  juliobox      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Upload        |    Version:  3.2.1
 Severity:  trivial       |   Keywords:
--------------------------+-----------------------------
 Hello

 wp-admin/upload.php
 line 25 & 28 &30, the $post_ids var is set but only in IF statments.
 so if none of this IF is TRUE we got "Notice: Undefined variable: post_ids
 in /wp-admin/upload.php on line XXX"
 lines affected : 93, 100, 103, 110, 113, 120.

 How to reproduce :
 - go to http://website.com/wp-admin/upload.php
 - in "bulk actions" choose "delete permanently" without checking any
 checkbox
 - click "Apply"

 -> Notices !

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18774>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list