Making WordPress.org

Changeset 2510


Ignore:
Timestamp:
02/15/2016 10:55:13 PM (10 years ago)
Author:
coffee2code
Message:

W.org P2 child theme: Replace improper uses of esc_attr_e().

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-handbook.php

    r1742 r2510  
    88<?php get_header(); ?>
    99
    10 <div class="handbook-name"><span><a href="<?php esc_attr_e( get_post_type_archive_link( 'handbook' ) ); ?>"><?php esc_html_e( WPorg_Handbook::get_name() ); ?></a></span></div>
     10<div class="handbook-name"><span><a href="<?php echo esc_url( get_post_type_archive_link( 'handbook' ) ); ?>"><?php echo esc_html( WPorg_Handbook::get_name() ); ?></a></span></div>
    1111
    1212<!-- Also called on in footer but will not display the second time. -->
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/page-issueform.php

    r429 r2510  
    3737                    <p><?php _e("We think the issue you're reporting is on this page:", 'wporg'); ?></p>
    3838                    <input id="issue_link" name="issue_link" type="text" autocomplete="off"
    39                         value="<?php esc_attr_e(get_issue_location_url()); ?>" />
     39                        value="<?php echo esc_url( get_issue_location_url() ); ?>" />
    4040                    <p class="right"><?php _e("If this page isn't the right one, please correct it.", 'wporg'); ?></p>
    4141                </div>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php

    r2509 r2510  
    88<?php get_header(); ?>
    99
    10 <div class="handbook-name"><span><a href="<?php esc_attr_e( get_post_type_archive_link( 'handbook' ) ); ?>"><?php esc_html_e( WPorg_Handbook::get_name() ); ?></a></span></div>
     10<div class="handbook-name"><span><a href="<?php echo esc_url( get_post_type_archive_link( 'handbook' ) ); ?>"><?php echo esc_html( WPorg_Handbook::get_name() ); ?></a></span></div>
    1111
    1212<!-- Also called on in footer but will not display the second time. -->
Note: See TracChangeset for help on using the changeset viewer.