Skip to content

Commit 33a6120

Browse files
Coding Standards: Move $class variable in wp-admin/options.php closer to where it's used.
Follow-up to [60237]. See #63341. git-svn-id: https://develop.svn.wordpress.org/trunk@60238 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8adb64d commit 33a6120

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-admin/options.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,6 @@
412412
$disabled = true;
413413
}
414414

415-
$class = 'all-options';
416-
417415
if ( is_serialized( $option->option_value ) ) {
418416
if ( is_serialized_string( $option->option_value ) ) {
419417
// This is a serialized string, so we should display it.
@@ -428,6 +426,8 @@
428426
$options_to_update[] = $option->option_name;
429427
}
430428

429+
$class = 'all-options';
430+
431431
if ( $disabled ) {
432432
$class .= ' disabled';
433433
}

0 commit comments

Comments
 (0)