Passed
Push — master ( d8096c...9370c4 )
by Benjamin
01:46
created
src/class-wp-site-monitor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -175,10 +175,10 @@
 block discarded – undo
175 175
 				data-custom="<?php echo esc_attr( $args['wporg_custom_data'] ); ?>"
176 176
 				name="wporg_options[<?php echo esc_attr( $args['label_for'] ); ?>]"
177 177
 		>
178
-			<option value="red" <?php echo isset( $options[ $args['label_for'] ] ) ? ( selected( $options[ $args['label_for'] ], 'red', false ) ) : ( '' ); ?>>
178
+			<option value="red" <?php echo isset( $options[$args['label_for']] ) ? ( selected( $options[$args['label_for']], 'red', false ) ) : ( '' ); ?>>
179 179
 				<?php esc_html_e( 'red pill', 'wporg' ); ?>
180 180
 			</option>
181
-			<option value="blue" <?php echo isset( $options[ $args['label_for'] ] ) ? ( selected( $options[ $args['label_for'] ], 'blue', false ) ) : ( '' ); ?>>
181
+			<option value="blue" <?php echo isset( $options[$args['label_for']] ) ? ( selected( $options[$args['label_for']], 'blue', false ) ) : ( '' ); ?>>
182 182
 				<?php esc_html_e( 'blue pill', 'wporg' ); ?>
183 183
 			</option>
184 184
 		</select>
Please login to merge, or discard this patch.