I am having a bad day. see #13265.
Built from https://develop.svn.wordpress.org/trunk@27471 git-svn-id: http://core.svn.wordpress.org/trunk@27316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
17ccbc86c9
commit
a4a88aeceb
|
@ -976,7 +976,6 @@ final class WP_Theme implements ArrayAccess {
|
|||
* @param WP_Theme $this The theme object.
|
||||
* @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 array_intersect_assoc( $return, $page_templates );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue