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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 21 03:40:30 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 Viper007Bond):

 The front page of my site is currently fataling with no plugins enabled
 and Twenty Twelve enabled.

 {{{
 Fatal error: Call to undefined method stdClass::filter() in [path]\wp-
 includes\post.php on line 404
 Call Stack
 #       Time    Memory          Function
 Location
 1       0.0003  335776          {main}( )
 ..\index.php:0
 2       0.0005  339496          require( '[path]\wp-blog-header.php' )
 ..\index.php:17
 3       0.1825  19693752        require_once( '[path]\wp-includes
 \template-loader.php' )                ..\wp-blog-header.php:16
 4       0.1840  19710312        include( '[path]\wp-
 content\themes\twentytwelve\index.php' )    ..\template-loader.php:43
 5       0.2176  19792368        get_post_format( )
 ..\index.php:24
 6       0.2176  19792400        get_post( )
 ..\post.php:611
 }}}

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


More information about the wp-trac mailing list