Don't use a variable variable in wp_widget_rss_form()
. Sidenote: the logic to show hidden fields is bizarre - would result in duplicate fields.
See #27881. git-svn-id: https://develop.svn.wordpress.org/trunk@28734 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
eadc17c4f9
commit
fa03901cd8
@ -1153,7 +1153,7 @@ function wp_widget_rss_form( $args, $inputs = null ) {
|
||||
if ( 'hidden' === $inputs[$input] ) :
|
||||
$id = str_replace( '_', '-', $input );
|
||||
?>
|
||||
<input type="hidden" id="rss-<?php echo $id; ?>-<?php echo $number; ?>" name="widget-rss[<?php echo $number; ?>][<?php echo $input; ?>]" value="<?php echo $$input; ?>" />
|
||||
<input type="hidden" id="rss-<?php echo $id; ?>-<?php echo $number; ?>" name="widget-rss[<?php echo $number; ?>][<?php echo $input; ?>]" value="<?php echo $inputs[ $input ]; ?>" />
|
||||
<?php
|
||||
endif;
|
||||
endforeach;
|
||||
|
Loading…
Reference in New Issue
Block a user