Changeset 38424
- Timestamp:
- 08/28/2016 06:05:02 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r37914 r38424 214 214 <td class="comment-content"> 215 215 <?php comment_text( $comment ); ?> 216 <p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ); ?>"><?php esc_ attr_e( 'Edit' ); ?></a></p>216 <p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p> 217 217 </td> 218 218 </tr> … … 223 223 <p> 224 224 <?php submit_button( $button, 'primary', 'submit', false ); ?> 225 <a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_ attr_e( 'Cancel' ); ?></a>225 <a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a> 226 226 </p> 227 227 -
trunk/src/wp-admin/includes/revision.php
r38307 r38424 341 341 #> 342 342 /> 343 <?php esc_ attr_e( 'Compare any two revisions' ); ?>343 <?php esc_html_e( 'Compare any two revisions' ); ?> 344 344 </label> 345 345 </div> -
trunk/src/wp-admin/setup-config.php
r37581 r38424 102 102 </head> 103 103 <body class="<?php echo implode( ' ', $body_classes ); ?>"> 104 <p id="logo"><a href="<?php e sc_attr_e( 'https://wordpress.org/'); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>104 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p> 105 105 <?php 106 106 } // end function setup_config_display_header(); -
trunk/src/wp-admin/theme-editor.php
r37914 r38424 264 264 <label for="docs-list"><?php _e('Documentation:') ?></label> 265 265 <?php echo $docs_select; ?> 266 <input type="button" class="button" value=" <?php esc_attr_e( 'Look Up' ); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" />266 <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" /> 267 267 </div> 268 268 <?php endif; ?> -
trunk/src/wp-includes/media-template.php
r37963 r38424 611 611 612 612 <option value="left"> 613 <?php esc_ attr_e('Left'); ?>613 <?php esc_html_e( 'Left' ); ?> 614 614 </option> 615 615 <option value="center"> 616 <?php esc_ attr_e('Center'); ?>616 <?php esc_html_e( 'Center' ); ?> 617 617 </option> 618 618 <option value="right"> 619 <?php esc_ attr_e('Right'); ?>619 <?php esc_html_e( 'Right' ); ?> 620 620 </option> 621 621 <option value="none" selected> 622 <?php esc_ attr_e('None'); ?>622 <?php esc_html_e( 'None' ); ?> 623 623 </option> 624 624 </select> … … 642 642 <# if ( data.model.canEmbed ) { #> 643 643 <option value="embed" selected> 644 <?php esc_ attr_e('Embed Media Player'); ?>644 <?php esc_html_e( 'Embed Media Player' ); ?> 645 645 </option> 646 646 <option value="file"> 647 647 <# } else { #> 648 648 <option value="none" selected> 649 <?php esc_ attr_e('None'); ?>649 <?php esc_html_e( 'None' ); ?> 650 650 </option> 651 651 <option value="file"> 652 652 <# } #> 653 653 <# if ( data.model.canEmbed ) { #> 654 <?php esc_ attr_e('Link to Media File'); ?>654 <?php esc_html_e( 'Link to Media File' ); ?> 655 655 <# } else { #> 656 <?php esc_ attr_e('Media File'); ?>656 <?php esc_html_e( 'Media File' ); ?> 657 657 <# } #> 658 658 </option> 659 659 <option value="post"> 660 660 <# if ( data.model.canEmbed ) { #> 661 <?php esc_ attr_e('Link to Attachment Page'); ?>661 <?php esc_html_e( 'Link to Attachment Page' ); ?> 662 662 <# } else { #> 663 <?php esc_ attr_e('Attachment Page'); ?>663 <?php esc_html_e( 'Attachment Page' ); ?> 664 664 <# } #> 665 665 </option> 666 666 <# if ( 'image' === data.type ) { #> 667 667 <option value="custom"> 668 <?php esc_ attr_e('Custom URL'); ?>668 <?php esc_html_e( 'Custom URL' ); ?> 669 669 </option> 670 670 <# } #> … … 719 719 #>selected="selected"<# } 720 720 #>> 721 <?php esc_ attr_e('Attachment Page'); ?>721 <?php esc_html_e( 'Attachment Page' ); ?> 722 722 </option> 723 723 <option value="file" <# if ( 'file' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>> 724 <?php esc_ attr_e('Media File'); ?>724 <?php esc_html_e( 'Media File' ); ?> 725 725 </option> 726 726 <option value="none" <# if ( 'none' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>> 727 <?php esc_ attr_e('None'); ?>727 <?php esc_html_e( 'None' ); ?> 728 728 </option> 729 729 </select> … … 842 842 <div class="button-group button-large" data-setting="align"> 843 843 <button class="button" value="left"> 844 <?php esc_ attr_e('Left'); ?>844 <?php esc_html_e( 'Left' ); ?> 845 845 </button> 846 846 <button class="button" value="center"> 847 <?php esc_ attr_e('Center'); ?>847 <?php esc_html_e( 'Center' ); ?> 848 848 </button> 849 849 <button class="button" value="right"> 850 <?php esc_ attr_e('Right'); ?>850 <?php esc_html_e( 'Right' ); ?> 851 851 </button> 852 852 <button class="button active" value="none"> 853 <?php esc_ attr_e('None'); ?>853 <?php esc_html_e( 'None' ); ?> 854 854 </button> 855 855 </div> … … 860 860 <div class="button-group button-large" data-setting="link"> 861 861 <button class="button" value="file"> 862 <?php esc_ attr_e('Image URL'); ?>862 <?php esc_html_e( 'Image URL' ); ?> 863 863 </button> 864 864 <button class="button" value="custom"> 865 <?php esc_ attr_e('Custom URL'); ?>865 <?php esc_html_e( 'Custom URL' ); ?> 866 866 </button> 867 867 <button class="button active" value="none"> 868 <?php esc_ attr_e('None'); ?>868 <?php esc_html_e( 'None' ); ?> 869 869 </button> 870 870 </div> … … 908 908 <div class="button-group button-large" data-setting="align"> 909 909 <button class="button" value="left"> 910 <?php esc_ attr_e('Left'); ?>910 <?php esc_html_e( 'Left' ); ?> 911 911 </button> 912 912 <button class="button" value="center"> 913 <?php esc_ attr_e('Center'); ?>913 <?php esc_html_e( 'Center' ); ?> 914 914 </button> 915 915 <button class="button" value="right"> 916 <?php esc_ attr_e('Right'); ?>916 <?php esc_html_e( 'Right' ); ?> 917 917 </button> 918 918 <button class="button active" value="none"> 919 <?php esc_ attr_e('None'); ?>919 <?php esc_html_e( 'None' ); ?> 920 920 </button> 921 921 </div> … … 965 965 <# if ( data.attachment ) { #> 966 966 <option value="file"> 967 <?php esc_ attr_e('Media File'); ?>967 <?php esc_html_e( 'Media File' ); ?> 968 968 </option> 969 969 <option value="post"> 970 <?php esc_ attr_e('Attachment Page'); ?>970 <?php esc_html_e( 'Attachment Page' ); ?> 971 971 </option> 972 972 <# } else { #> 973 973 <option value="file"> 974 <?php esc_ attr_e('Image URL'); ?>974 <?php esc_html_e( 'Image URL' ); ?> 975 975 </option> 976 976 <# } #> 977 977 <option value="custom"> 978 <?php esc_ attr_e('Custom URL'); ?>978 <?php esc_html_e( 'Custom URL' ); ?> 979 979 </option> 980 980 <option value="none"> 981 <?php esc_ attr_e('None'); ?>981 <?php esc_html_e( 'None' ); ?> 982 982 </option> 983 983 </select> -
trunk/src/wp-login.php
r38371 r38424 913 913 do_action( 'login_form' ); 914 914 ?> 915 <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( $rememberme ); ?> /> <?php esc_ attr_e('Remember Me'); ?></label></p>915 <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( $rememberme ); ?> /> <?php esc_html_e( 'Remember Me' ); ?></label></p> 916 916 <p class="submit"> 917 917 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Log In'); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.