[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 21 02:45:38 UTC 2012


#21309: Introduce WP_Post class
----------------------------+------------------
 Reporter:  scribu          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by mdawaffe):

 Stickies in WP_Query cause fatal errors now.

 Steps to reproduce:
 1. Create more than posts_per_page posts.
 2. Make a post from page 2 sticky
 3. View your home page.

 > PHP Fatal error:  Call to undefined method stdClass::filter() in
 /Users/mdawaffe/Sites/wordpress/wp-includes/post.php on line 404

 Attached 21309-stickies.diff.

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


More information about the wp-trac mailing list