[wp-trac] [WordPress Trac] #15240: PHP Notice in edit.php

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 1 17:00:57 UTC 2010


#15240: PHP Notice in edit.php
------------------------------+---------------------------------------------
 Reporter:  sbressler         |       Owner:             
     Type:  defect (bug)      |      Status:  new        
 Priority:  normal            |   Milestone:  3.1        
Component:  Warnings/Notices  |     Version:  3.1        
 Severity:  minor             |    Keywords:  needs-patch
------------------------------+---------------------------------------------
Changes (by westi):

  * keywords:  has-patch => needs-patch


Comment:

 Replying to [comment:7 mrmist]:
 > Attached patch just returns from touch_time if $post is not present (as
 otherwise the function is fairly useless anyway).  Seems to have the
 required result on the post list when you delete the last post in a
 section (e.g. trash) it now returns "no posts found" instead of the
 notice. (Against trunk)

 Currently this bails even if not {{{$for_post}}} ideally we should not be
 calling this code - comes from the quick edit code if there isn't a post
 to quick edit - we should fix that not this.

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


More information about the wp-trac mailing list