I am having a bad day. see #13265.

git-svn-id: https://develop.svn.wordpress.org/trunk@27471 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-03-08 04:19:24 +00:00
parent 928a972fb5
commit ab7960e009

View File

@ -976,7 +976,6 @@ final class WP_Theme implements ArrayAccess {
* @param WP_Theme $this The theme object. * @param WP_Theme $this The theme object.
* @param WP_Post|null $post The post being edited, provided for context, or null. * @param WP_Post|null $post The post being edited, provided for context, or null.
*/ */
error_log( serialize( $this ) );
$return = apply_filters( 'theme_page_templates', $page_templates, $this, $post ); $return = apply_filters( 'theme_page_templates', $page_templates, $this, $post );
return array_intersect_assoc( $return, $page_templates ); return array_intersect_assoc( $return, $page_templates );
} }