Ticket #4517: 4517-bundle-sandbox-svn-external.diff
| File 4517-bundle-sandbox-svn-external.diff, 1.2 KB (added by , 18 years ago) |
|---|
-
wp-includes/theme.php
267 267 // Check for theme name collision. This occurs if a theme is copied to 268 268 // a new theme directory and the theme header is not updated. Whichever 269 269 // theme is first keeps the name. Subsequent themes get a suffix applied. 270 // The Default and Classicthemes always trump their pretenders.270 // The Default, Classic and Sandbox themes always trump their pretenders. 271 271 if ( isset($themes[$name]) ) { 272 if ( ('WordPress Default' == $name || 'WordPress Classic' == $name ) &&273 ('default' == $stylesheet || 'classic' == $stylesheet ) ) {272 if ( ('WordPress Default' == $name || 'WordPress Classic' == $name || 'Sandbox' == $name) && 273 ('default' == $stylesheet || 'classic' == $stylesheet || 'sandbox' == $stylesheet) ) { 274 274 // If another theme has claimed to be one of our default themes, move 275 275 // them aside. 276 276 $suffix = $themes[$name]['Stylesheet'];