Changeset 43571 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r43275 r43571 682 682 array( 683 683 array_merge( 684 $sidebar, array( 684 $sidebar, 685 array( 685 686 'widget_id' => $id, 686 687 'widget_name' => $wp_registered_widgets[ $id ]['name'], … … 1574 1575 $esc_number = esc_attr( $args['number'] ); 1575 1576 if ( $inputs['url'] ) : 1576 ?>1577 ?> 1577 1578 <p><label for="rss-url-<?php echo $esc_number; ?>"><?php _e( 'Enter the RSS feed URL here:' ); ?></label> 1578 1579 <input class="widefat" id="rss-url-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][url]" type="text" value="<?php echo esc_url( $args['url'] ); ?>" /></p> … … 1598 1599 <p><input id="rss-show-date-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][show_date]" type="checkbox" value="1" <?php checked( $args['show_date'] ); ?>/> 1599 1600 <label for="rss-show-date-<?php echo $esc_number; ?>"><?php _e( 'Display item date?' ); ?></label></p> 1600 <?php1601 <?php 1601 1602 endif; 1602 1603 foreach ( array_keys( $default_inputs ) as $input ) : 1603 1604 if ( 'hidden' === $inputs[ $input ] ) : 1604 1605 $id = str_replace( '_', '-', $input ); 1605 ?>1606 ?> 1606 1607 <input type="hidden" id="rss-<?php echo esc_attr( $id ); ?>-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][<?php echo esc_attr( $input ); ?>]" value="<?php echo esc_attr( $args[ $input ] ); ?>" /> 1607 <?php1608 <?php 1608 1609 endif; 1609 1610 endforeach;
Note: See TracChangeset
for help on using the changeset viewer.