Changeset 5026 for trunk/wp-includes/theme.php
- Timestamp:
- 03/12/2007 12:07:54 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/theme.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r5006 r5026 79 79 $name = trim( $name ); 80 80 $theme = $name; 81 $theme_uri = trim( $theme_uri[1] );82 81 83 82 if ( '' == $author_uri[1] ) { … … 87 86 } 88 87 89 return array( 'Name' => $name, 'Title' => $theme, ' URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status );88 return array( 'Name' => $name, 'Title' => $theme, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status ); 90 89 } 91 90 … … 442 441 443 442 if ( isset($mods[$name]) ) 444 return $mods[$name];445 446 return sprintf($default, get_template_directory_uri());443 return apply_filters( "theme_mod_$name", $mods[$name] ); 444 445 return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri()) ); 447 446 } 448 447
Note: See TracChangeset
for help on using the changeset viewer.