WordPress.org

Make WordPress Core

Ticket #23334: 23334.patch

File 23334.patch, 4.0 KB (added by SergeyBiryukov, 5 years ago)
  • wp-admin/install.php

     
    6363        ?>
    6464</head>
    6565<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
    66 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     66<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    6767
    6868<?php
    6969} // end display_header()
  • wp-admin/maint/repair.php

     
    2121        ?>
    2222</head>
    2323<body class="wp-core-ui">
    24 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     24<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    2525
    2626<?php
    2727
  • wp-admin/network/sites.php

     
    7373                                ?>
    7474                        </head>
    7575                        <body class="wp-core-ui">
    76                                 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     76                                <h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    7777                                <form action="sites.php?action=<?php echo esc_attr( $_GET['action2'] ) ?>" method="post">
    7878                                        <input type="hidden" name="action" value="<?php echo esc_attr( $_GET['action2'] ) ?>" />
    7979                                        <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
  • wp-admin/setup-config.php

     
    100100
    101101</head>
    102102<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
    103 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     103<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    104104<?php
    105105} // end function setup_config_display_header();
    106106
  • wp-admin/upgrade.php

     
    5858        ?>
    5959</head>
    6060<body class="wp-core-ui">
    61 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     61<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    6262
    6363<?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?>
    6464
  • wp-includes/default-widgets.php

     
    315315                        <li><?php wp_loginout(); ?></li>
    316316                        <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php echo esc_attr(__('Syndicate this site using RSS 2.0')); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    317317                        <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php echo esc_attr(__('The latest comments to all posts in RSS')); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    318                         <li><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>"><?php
     318                        <li><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>"><?php
    319319                        /* translators: meta widget link text */
    320320                        _e( 'WordPress.org' );
    321321                        ?></a></li>