Changeset 43571 for trunk/src/wp-includes/widgets/class-wp-widget-meta.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-meta.php
r42343 r43571 53 53 echo $args['before_title'] . $title . $args['after_title']; 54 54 } 55 55 ?> 56 56 <ul> 57 57 <?php wp_register(); ?> … … 70 70 */ 71 71 echo apply_filters( 72 'widget_meta_poweredby', sprintf( 72 'widget_meta_poweredby', 73 sprintf( 73 74 '<li><a href="%s" title="%s">%s</a></li>', 74 75 esc_url( __( 'https://wordpress.org/' ) ), 75 76 esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ), 76 77 _x( 'WordPress.org', 'meta widget link text' ) 77 ), $instance 78 ), 79 $instance 78 80 ); 79 81 … … 113 115 $instance = wp_parse_args( (array) $instance, array( 'title' => '' ) ); 114 116 $title = sanitize_text_field( $instance['title'] ); 115 ?>117 ?> 116 118 <p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p> 117 <?php119 <?php 118 120 } 119 121 }
Note: See TracChangeset
for help on using the changeset viewer.