mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -393,9 +393,9 @@ function get_themes() {
|
||||
if ( empty($stylesheet_dir) )
|
||||
$stylesheet_dir = '/';
|
||||
|
||||
// Check for theme name collision. This occurs if a theme is copied to
|
||||
// a new theme directory and the theme header is not updated. Whichever
|
||||
// theme is first keeps the name. Subsequent themes get a suffix applied.
|
||||
// Check for theme name collision. This occurs if a theme is copied to
|
||||
// a new theme directory and the theme header is not updated. Whichever
|
||||
// theme is first keeps the name. Subsequent themes get a suffix applied.
|
||||
// The Twenty Eleven, Twenty Ten, Default and Classic themes always trump
|
||||
// their pretenders.
|
||||
if ( isset($wp_themes[$name]) ) {
|
||||
@@ -1942,7 +1942,7 @@ function current_theme_supports( $feature ) {
|
||||
switch ( $feature ) {
|
||||
case 'post-thumbnails':
|
||||
// post-thumbnails can be registered for only certain content/post types by passing
|
||||
// an array of types to add_theme_support(). If no array was passed, then
|
||||
// an array of types to add_theme_support(). If no array was passed, then
|
||||
// any type is accepted
|
||||
if ( true === $_wp_theme_features[$feature] ) // Registered for all types
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user