Ticket #46978: 46978-2.patch
File 46978-2.patch, 1.7 KB (added by , 6 years ago) |
---|
-
wp-includes/widgets/class-wp-widget-meta.php
56 56 <ul> 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 63 * Filters the "Powered by WordPress" text in the Meta widget. … … 64 64 * 65 65 * @since 3.6.0 66 66 * @since 4.9.0 Added the `$instance` parameter. 67 * @since 5.2.0 Removed the `$title_text` parameter. 67 68 * 68 * @param string $title_text Default title text for the WordPress.org link.69 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="%s">%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 _x( 'WordPress.org', 'meta widget link text' ) 78 77 ), 79 78 $instance