Changeset 12063 for trunk/wp-admin/includes/theme.php
- Timestamp:
- 10/19/2009 09:39:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme.php
r12033 r12063 147 147 } 148 148 149 /** 150 * Tidies a filename for url display by the theme editor. 151 * 152 * @since 2.9.0 153 * @private 154 * 155 * @param string $fullpath Full path to the theme file 156 * @param string $containingfolder Path of the theme parent folder 157 * @return string 158 */ 159 function _get_template_edit_filename($fullpath, $containingfolder) { 160 return str_replace(dirname(dirname( $containingfolder )) , '', $fullpath); 161 } 162 149 163 ?>
Note: See TracChangeset
for help on using the changeset viewer.