Make WordPress Core

Ticket #46978: 46978-2.patch

File 46978-2.patch, 1.7 KB (added by nishitlangaliya, 6 years ago)

updated patch doc block updated

  • wp-includes/widgets/class-wp-widget-meta.php

     
    5656                        <ul>
    5757                        <?php wp_register(); ?>
    5858                        <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>
    6161                        <?php
    6262                        /**
    6363                         * Filters the "Powered by WordPress" text in the Meta widget.
     
    6464                         *
    6565                         * @since 3.6.0
    6666                         * @since 4.9.0 Added the `$instance` parameter.
     67                         * @since 5.2.0 Removed the `$title_text` parameter.
    6768                         *
    68                          * @param string $title_text Default title text for the WordPress.org link.
    6969                         * @param array  $instance   Array of settings for the current widget.
    7070                         */
    7171                        echo apply_filters(
    7272                                'widget_meta_poweredby',
    7373                                sprintf(
    74                                         '<li><a href="%s" title="%s">%s</a></li>',
     74                                        '<li><a href="%s">%s</a></li>',
    7575                                        esc_url( __( 'https://wordpress.org/' ) ),
    76                                         esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ),
    7776                                        _x( 'WordPress.org', 'meta widget link text' )
    7877                                ),
    7978                                $instance