Make WordPress Core

Changeset 56338


Ignore:
Timestamp:
08/01/2023 12:58:43 PM (12 months ago)
Author:
audrasjb
Message:

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

Props SergeyBiryukov, peterwilsoncc.
Reviewed by peterwilsoncc, audrasjb.
Merges [56337] to the 6.3 branch.
See #23348.

Location:
branches/6.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/6.3

  • branches/6.3/src/wp-admin/contribute.php

    r56336 r56338  
    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>
  • branches/6.3/src/wp-admin/credits.php

    r56328 r56338  
    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.