Make WordPress Core


Ignore:
Timestamp:
04/16/2009 06:28:35 PM (15 years ago)
Author:
ryan
Message:

Page templates should be relative to the theme ir, not the themes dir.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme.php

    r10835 r10951  
    140140
    141141            if ( !empty( $name ) ) {
    142                 $page_templates[trim( $name )] = theme_basename( $template );
     142                $page_templates[trim( $name )] = basename( $template );
    143143            }
    144144        }
Note: See TracChangeset for help on using the changeset viewer.