Make WordPress Core

Changeset 56337


Ignore:
Timestamp:
08/01/2023 12:56:40 PM (16 months ago)
Author:
audrasjb
Message:

Help/About: Escape "Contribute" links, for better consistency.

Props SergeyBiryukov, peterwilsoncc.
See #23348.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/contribute.php

    r56335 r56337  
    101101            <h2><?php _e( 'Shape the future of the web with WordPress' ); ?></h2>
    102102            <p><?php _e( 'Finding the area that aligns with your skills and interests is the first step toward meaningful contribution. With more than 20 Make WordPress teams working on different parts of the open source WordPress project, there&#8217;s a place for everyone, no matter what your skill set is.' ); ?></p>
    103             <p class="aligncenter"><a href="<?php _e( 'https://make.wordpress.org/contribute/' ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
     103            <p class="aligncenter"><a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
    104104        </div>
    105105    </div>
  • trunk/src/wp-admin/credits.php

    r56327 r56337  
    6161                ?>
    6262                <br />
    63                 <a href="<?php _e( 'https://make.wordpress.org/contribute/' ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
     63                <a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
    6464            </p>
    6565
     
    6969                <?php _e( 'Want to see your name in lights on this page?' ); ?>
    7070                <br />
    71                 <a href="<?php _e( 'https://make.wordpress.org/contribute/' ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
     71                <a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
    7272            </p>
    7373
Note: See TracChangeset for help on using the changeset viewer.