Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: version 2.2.0 and is_page() [Resolved]

@tobyhawkins

Participant

So outputting the content of $page_obj in the public is_page function in query.php at the same point for my site in v2.1.1 and v2.2.0:

v2.1.1:
WP_Post Object ( [ID] => 834 [post_author] => 1 [post_date] => 2013-09-13 12:38:31 [post_date_gmt] => 2013-09-13 12:38:31 [post_content] => CONTENT REMOVED [post_title] => Groups [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => groups [to_ping] => [pinged] => [post_modified] => 2014-08-18 09:39:45 [post_modified_gmt] => 2014-08-18 08:39:45 [post_content_filtered] => [post_parent] => 0 [guid] => REMOVED [menu_order] => 0 [post_type] => page [post_mime_type] => [comment_count] => 0 [filter] => raw [is_404] => 1 [is_page] => [is_single] => [is_archive] => [is_tax] => ) 1

v2.2.0:
WP_Post Object ( [ID] => 0 [post_author] => 0 [post_date] => 0 [post_date_gmt] => 0 [post_content] => [post_title] => [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => [post_password] => [post_name] => [to_ping] => [pinged] => [post_modified] => 0 [post_modified_gmt] => 0 [post_content_filtered] => [post_parent] => 0 [guid] => [menu_order] => 0 [post_type] => page [post_mime_type] => [comment_count] => 0 [filter] => raw [is_404] => 1 [is_page] => [is_single] => [is_archive] => [is_tax] => ) 1

Skip to toolbar