Changeset 45728
- Timestamp:
- 08/03/2019 01:27:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-meta.php
r45436 r45728 57 57 <?php wp_register(); ?> 58 58 <li><?php wp_loginout(); ?></li> 59 <li><a href="<?php echo esc_url( get_bloginfo( 'rss2_url' ) ); ?>"><?php _e( 'Entries <abbr title="Really Simple Syndication">RSS</abbr>' ); ?></a></li>60 <li><a href="<?php echo esc_url( get_bloginfo( 'comments_rss2_url' ) ); ?>"><?php _e( 'Comments <abbr title="Really Simple Syndication">RSS</abbr>' ); ?></a></li>59 <li><a href="<?php echo esc_url( get_bloginfo( 'rss2_url' ) ); ?>"><?php _e( 'Entries feed' ); ?></a></li> 60 <li><a href="<?php echo esc_url( get_bloginfo( 'comments_rss2_url' ) ); ?>"><?php _e( 'Comments feed' ); ?></a></li> 61 61 <?php 62 62 /** 63 * Filters the " Powered by WordPress" textin the Meta widget.63 * Filters the "WordPress.org" list item HTML in the Meta widget. 64 64 * 65 65 * @since 3.6.0 66 66 * @since 4.9.0 Added the `$instance` parameter. 67 67 * 68 * @param string $ title_text Default title text for the WordPress.org link.69 * @param array $instance 68 * @param string $html Default HTML for the WordPress.org list item. 69 * @param array $instance Array of settings for the current widget. 70 70 */ 71 71 echo apply_filters( 72 72 'widget_meta_poweredby', 73 73 sprintf( 74 '<li><a href="% s" title="%s">%s</a></li>',74 '<li><a href="%1$s">%2$s</a></li>', 75 75 esc_url( __( 'https://wordpress.org/' ) ), 76 esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ),77 76 __( 'WordPress.org' ) 78 77 ),
Note: See TracChangeset
for help on using the changeset viewer.