﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
18257,Fatal error: Cannot use object of type stdClass as array in /.../wp-includes/post.php on line 1202,jmaimarc,,"It's checking against empty() in the second half of the if() statement which can only be strings, integers, floats, NULL, TRUE/FALSE, arrays or variables. 

The function get_post_type_labels() is passing a stdClass object into _get_custom_object_labels( $object, $nohier_vs_hier_defaults ).

$pt = get_post_type(); //returns string into $pt[[BR]]
$obj = get_post_type_object($pt); //returns object into $obj[[BR]]
$posttype = get_post_type_labels($obj); //returns ERROR[[BR]]
",defect (bug),closed,normal,,Post Types,,normal,duplicate,needs-patch,
