- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/inc/widgets.php
r42343 r43571 20 20 function __construct() { 21 21 parent::__construct( 22 'widget_twentyeleven_ephemera', __( 'Twenty Eleven Ephemera', 'twentyeleven' ), array( 22 'widget_twentyeleven_ephemera', 23 __( 'Twenty Eleven Ephemera', 'twentyeleven' ), 24 array( 23 25 'classname' => 'widget_twentyeleven_ephemera', 24 26 'description' => __( 'Use this widget to list your recent Aside, Status, Quote, and Link posts', 'twentyeleven' ), … … 107 109 while ( $ephemera->have_posts() ) : 108 110 $ephemera->the_post(); 109 ?>111 ?> 110 112 111 113 <?php if ( 'link' != get_post_format() ) : ?> … … 189 191 $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : ''; 190 192 $number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 10; 191 ?>193 ?> 192 194 <p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'twentyeleven' ); ?></label> 193 195 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p>
Note: See TracChangeset
for help on using the changeset viewer.