Ticket #21891: 21891.patch
File 21891.patch, 467 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-wp-theme.php
948 948 if ( $this->parent() ) 949 949 $page_templates += $this->parent()->get_page_templates(); 950 950 951 return $page_templates;951 return apply_filters( 'page_templates', $page_templates, $this->get_stylesheet(), $this->get_template() ); 952 952 } 953 953 954 954 /**