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:
parent
928a972fb5
commit
ab7960e009
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user