diff --git src/wp-admin/comment.php src/wp-admin/comment.php
index aa2e054..00ebcd9 100644
|
|
|
if ( $comment->comment_approved != '0' ) { // if not unapproved
|
| 213 | 213 | <th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th> |
| 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> |
| 219 | 219 | </table> |
| … |
… |
if ( $comment->comment_approved != '0' ) { // if not unapproved
|
| 222 | 222 | |
| 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 | |
| 228 | 228 | <?php wp_nonce_field( $nonce_action ); ?> |
diff --git src/wp-admin/includes/revision.php src/wp-admin/includes/revision.php
index dee879d..e501f49 100644
|
|
|
function wp_print_revision_templates() {
|
| 340 | 340 | } |
| 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> |
| 346 | 346 | </script> |
| … |
… |
function wp_print_revision_templates() {
|
| 400 | 400 | <# }); #> |
| 401 | 401 | </div> |
| 402 | 402 | </script><?php |
| 403 | | } |
| 404 | | No newline at end of file |
| | 403 | } |
diff --git src/wp-admin/setup-config.php src/wp-admin/setup-config.php
index 1ad40fc..52b4ef2 100644
|
|
|
function setup_config_display_header( $body_classes = array() ) {
|
| 101 | 101 | <?php wp_admin_css( 'install', true ); ?> |
| 102 | 102 | </head> |
| 103 | 103 | <body class="<?php echo implode( ' ', $body_classes ); ?>"> |
| 104 | | <p id="logo"><a href="<?php esc_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(); |
| 107 | 107 | |
diff --git src/wp-admin/theme-editor.php src/wp-admin/theme-editor.php
index 9fb2c41..263e91f 100644
|
|
|
else : ?>
|
| 263 | 263 | <div id="documentation" class="hide-if-no-js"> |
| 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; ?> |
| 269 | 269 | |
diff --git src/wp-includes/media-template.php src/wp-includes/media-template.php
index 7d2d2bf..c669921 100644
|
|
|
function wp_print_media_templates() {
|
| 610 | 610 | <# } #>> |
| 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> |
| 625 | 625 | </label> |
| … |
… |
function wp_print_media_templates() {
|
| 641 | 641 | |
| 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 | <# } #> |
| 671 | 671 | </select> |
| … |
… |
function wp_print_media_templates() {
|
| 718 | 718 | <option value="post" <# if ( ! wp.media.galleryDefaults.link || 'post' == wp.media.galleryDefaults.link ) { |
| 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> |
| 730 | 730 | </label> |
| … |
… |
function wp_print_media_templates() {
|
| 841 | 841 | <span><?php _e('Align'); ?></span> |
| 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> |
| 856 | 856 | </div> |
| … |
… |
function wp_print_media_templates() {
|
| 859 | 859 | <span><?php _e('Link To'); ?></span> |
| 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> |
| 871 | 871 | <input type="text" class="link-to-custom" data-setting="linkUrl" /> |
| … |
… |
function wp_print_media_templates() {
|
| 907 | 907 | <span><?php _e('Align'); ?></span> |
| 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> |
| 922 | 922 | </div> |
| … |
… |
function wp_print_media_templates() {
|
| 964 | 964 | <select data-setting="link"> |
| 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> |
| 984 | 984 | <input type="text" class="link-to-custom" data-setting="linkUrl" /> |
diff --git src/wp-login.php src/wp-login.php
index 01c754f..b6ae27e 100644
|
|
|
default:
|
| 918 | 918 | */ |
| 919 | 919 | do_action( 'login_form' ); |
| 920 | 920 | ?> |
| 921 | | <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> |
| | 921 | <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> |
| 922 | 922 | <p class="submit"> |
| 923 | 923 | <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Log In'); ?>" /> |
| 924 | 924 | <?php if ( $interim_login ) { ?> |