Skip to content

Commit 4bcc372

Browse files
committed
removed redundant value association on label_for args
1 parent 22fb0b0 commit 4bcc372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class.settings-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function admin_init() {
127127
$args = array(
128128
'id' => $name,
129129
'class' => isset( $option['class'] ) ? $option['class'] : $name,
130-
'label_for' => $args['label_for'] = "{$section}[{$name}]",
130+
'label_for' => "{$section}[{$name}]",
131131
'desc' => isset( $option['desc'] ) ? $option['desc'] : '',
132132
'name' => $label,
133133
'section' => $section,

0 commit comments

Comments
 (0)