Make WordPress Core

Ticket #17458: 17458.patch

File 17458.patch, 521 bytes (added by johnbillion, 13 years ago)
  • wp-includes/post-template.php

     
    12421242
    12431243        // We have no argument passed so just see if a page_template has been specified
    12441244        if ( empty( $template ) ) {
    1245                 if (!empty( $page_template ) ) {
     1245                if ( !empty( $page_template ) and ( 'default' != $page_template ) ) {
    12461246                        return true;
    12471247                }
    12481248        } elseif ( $template == $page_template) {