All function braces need to be on new line

This commit is contained in:
QWp6t
2015-12-29 17:41:21 -08:00
committed by Ben Word
parent 9e2917e4d5
commit b491f76974
4 changed files with 31 additions and 14 deletions

View File

@@ -16,11 +16,11 @@
* themes/sage/index.php also contains some self-correcting code, just in case the template option gets reset
*/
add_filter('stylesheet', function ($stylesheet) {
return dirname($stylesheet);
return dirname($stylesheet);
});
add_action('after_switch_theme', function () {
$stylesheet = get_option('stylesheet');
basename($stylesheet) == 'templates' || update_option('stylesheet', $stylesheet . '/templates');
$stylesheet = get_option('stylesheet');
basename($stylesheet) == 'templates' || update_option('stylesheet', $stylesheet . '/templates');
});
/**