Changeset 50556
- Timestamp:
- 03/20/2021 06:28:32 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r50505 r50556 112 112 ?> 113 113 > 114 <input type="hidden" name="action" value="editedtag" />115 <input type="hidden" name="tag_ID" value="<?php echo esc_attr( $tag_ID ); ?>" />116 <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>" />114 <input type="hidden" name="action" value="editedtag" /> 115 <input type="hidden" name="tag_ID" value="<?php echo esc_attr( $tag_ID ); ?>" /> 116 <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>" /> 117 117 <?php 118 118 wp_original_referer_field( true, 'previous' ); -
trunk/src/wp-admin/includes/ajax-actions.php
r50390 r50556 3699 3699 3700 3700 foreach ( $mce_styles as $style ) { 3701 $styles .= sprintf( '<link rel="stylesheet" href="%s" />', $style );3701 $styles .= sprintf( '<link rel="stylesheet" href="%s" />', $style ); 3702 3702 } 3703 3703 -
trunk/src/wp-admin/includes/class-custom-image-header.php
r50146 r50556 861 861 </div> 862 862 863 <input type="hidden" name="x1" id="x1" value="0" />864 <input type="hidden" name="y1" id="y1" value="0" />865 <input type="hidden" name="width" id="width" value="<?php echo esc_attr( $width ); ?>" />866 <input type="hidden" name="height" id="height" value="<?php echo esc_attr( $height ); ?>" />863 <input type="hidden" name="x1" id="x1" value="0" /> 864 <input type="hidden" name="y1" id="y1" value="0" /> 865 <input type="hidden" name="width" id="width" value="<?php echo esc_attr( $width ); ?>" /> 866 <input type="hidden" name="height" id="height" value="<?php echo esc_attr( $height ); ?>" /> 867 867 <input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo esc_attr( $attachment_id ); ?>" /> 868 868 <input type="hidden" name="oitar" id="oitar" value="<?php echo esc_attr( $oitar ); ?>" /> -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r49631 r50556 445 445 <p class="search-box"> 446 446 <label class="screen-reader-text" for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?>:</label> 447 <input type="search" id="<?php echo esc_attr( $input_id ); ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" placeholder="<?php esc_attr_e( 'Search installed plugins...' ); ?>" />447 <input type="search" id="<?php echo esc_attr( $input_id ); ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" placeholder="<?php esc_attr_e( 'Search installed plugins...' ); ?>" /> 448 448 <?php submit_button( $text, 'hide-if-js', '', false, array( 'id' => 'search-submit' ) ); ?> 449 449 </p> -
trunk/src/wp-admin/includes/dashboard.php
r50530 r50556 472 472 <p> 473 473 <label class="screen-reader-text" for="search-users"><?php _e( 'Search Users' ); ?></label> 474 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-users" />474 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-users" /> 475 475 <?php submit_button( __( 'Search Users' ), '', false, false, array( 'id' => 'submit_users' ) ); ?> 476 476 </p> … … 480 480 <p> 481 481 <label class="screen-reader-text" for="search-sites"><?php _e( 'Search Sites' ); ?></label> 482 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites" />482 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites" /> 483 483 <?php submit_button( __( 'Search Sites' ), '', false, false, array( 'id' => 'submit_sites' ) ); ?> 484 484 </p> -
trunk/src/wp-admin/includes/meta-boxes.php
r49183 r50556 639 639 <p id="<?php echo $tax_name; ?>-add" class="category-add wp-hidden-child"> 640 640 <label class="screen-reader-text" for="new<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label> 641 <input type="text" name="new<?php echo $tax_name; ?>" id="new<?php echo $tax_name; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $taxonomy->labels->new_item_name ); ?>" aria-required="true" />641 <input type="text" name="new<?php echo $tax_name; ?>" id="new<?php echo $tax_name; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $taxonomy->labels->new_item_name ); ?>" aria-required="true" /> 642 642 <label class="screen-reader-text" for="new<?php echo $tax_name; ?>_parent"> 643 643 <?php echo $taxonomy->labels->parent_item_colon; ?> -
trunk/src/wp-admin/includes/theme-install.php
r48509 r50556 184 184 <?php wp_nonce_field( 'theme-upload' ); ?> 185 185 <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label> 186 <input type="file" id="themezip" name="themezip" accept=".zip" />186 <input type="file" id="themezip" name="themezip" accept=".zip" /> 187 187 <?php submit_button( __( 'Install Now' ), '', 'install-theme-submit', false ); ?> 188 188 </form> -
trunk/src/wp-admin/network/user-new.php
r47853 r50556 131 131 <tr class="form-field form-required"> 132 132 <th scope="row"><label for="email"><?php _e( 'Email' ); ?></label></th> 133 <td><input type="email" class="regular-text" name="user[email]" id="email" /></td>133 <td><input type="email" class="regular-text" name="user[email]" id="email" /></td> 134 134 </tr> 135 135 <tr class="form-field"> -
trunk/src/wp-admin/update-core.php
r50506 r50556 159 159 160 160 echo '<p>'; 161 echo '<input name="version" value="' . esc_attr( $update->current ) . '" type="hidden" />';162 echo '<input name="locale" value="' . esc_attr( $update->locale ) . '" type="hidden" />';161 echo '<input name="version" value="' . esc_attr( $update->current ) . '" type="hidden" />'; 162 echo '<input name="locale" value="' . esc_attr( $update->locale ) . '" type="hidden" />'; 163 163 if ( $show_buttons ) { 164 164 if ( $first_pass ) { -
trunk/src/wp-includes/admin-bar.php
r50504 r50556 1064 1064 $form .= '<input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" />'; 1065 1065 $form .= '<label for="adminbar-search" class="screen-reader-text">' . __( 'Search' ) . '</label>'; 1066 $form .= '<input type="submit" class="adminbar-button" value="' . __( 'Search' ) . '" />';1066 $form .= '<input type="submit" class="adminbar-button" value="' . __( 'Search' ) . '" />'; 1067 1067 $form .= '</form>'; 1068 1068 -
trunk/src/wp-includes/customize/class-wp-customize-media-control.php
r47550 r50556 171 171 <# } #> 172 172 <audio style="visibility: hidden" controls class="wp-audio-shortcode" width="100%" preload="none"> 173 <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}" />173 <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}" /> 174 174 </audio> 175 175 <# } else if ( 'video' === data.attachment.type ) { #> … … 177 177 <video controls="controls" class="wp-video-shortcode" preload="metadata" 178 178 <# if ( data.attachment.image && data.attachment.image.src !== data.attachment.icon ) { #>poster="{{ data.attachment.image.src }}"<# } #>> 179 <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}" />179 <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}" /> 180 180 </video> 181 181 </div> -
trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php
r47382 r50556 67 67 68 68 <div class="favicon"> 69 <img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>" />69 <img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>" /> 70 70 </div> 71 71 <span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo( 'name' ); ?>' ) #></span> 72 72 </div> 73 <img class="app-icon-preview" src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>" />73 <img class="app-icon-preview" src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>" /> 74 74 </div> 75 75 <# } #> -
trunk/src/wp-includes/embed.php
r50401 r50556 1203 1203 function the_embed_site_title() { 1204 1204 $site_title = sprintf( 1205 '<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon" /><span>%s</span></a>',1205 '<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon" /><span>%s</span></a>', 1206 1206 esc_url( home_url() ), 1207 1207 esc_url( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) ), -
trunk/src/wp-includes/feed-atom.php
r47122 r50556 94 94 if ( get_comments_number() || comments_open() ) : 95 95 ?> 96 <link rel="replies" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>#comments" thr:count="<?php echo get_comments_number(); ?>" />97 <link rel="replies" type="application/atom+xml" href="<?php echo esc_url( get_post_comments_feed_link( 0, 'atom' ) ); ?>" thr:count="<?php echo get_comments_number(); ?>" />96 <link rel="replies" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>#comments" thr:count="<?php echo get_comments_number(); ?>" /> 97 <link rel="replies" type="application/atom+xml" href="<?php echo esc_url( get_post_comments_feed_link( 0, 'atom' ) ); ?>" thr:count="<?php echo get_comments_number(); ?>" /> 98 98 <thr:total><?php echo get_comments_number(); ?></thr:total> 99 99 <?php endif; ?> -
trunk/src/wp-includes/media-template.php
r50352 r50556 369 369 <div class="wp-media-wrapper wp-audio"> 370 370 <audio style="visibility: hidden" controls class="wp-audio-shortcode" width="100%" preload="none"> 371 <source type="{{ data.mime }}" src="{{ data.url }}" />371 <source type="{{ data.mime }}" src="{{ data.url }}" /> 372 372 </audio> 373 373 </div> … … 385 385 <# if ( data.height ) { #>height="{{ data.height }}"<# } #> 386 386 <# if ( data.image && data.image.src !== data.icon ) { #>poster="{{ data.image.src }}"<# } #>> 387 <source type="{{ data.mime }}" src="{{ data.url }}" />387 <source type="{{ data.mime }}" src="{{ data.url }}" /> 388 388 </video> 389 389 </div> … … 615 615 <div class="wp-media-wrapper wp-audio"> 616 616 <audio style="visibility: hidden" controls class="wp-audio-shortcode" width="100%" preload="none"> 617 <source type="{{ data.mime }}" src="{{ data.url }}" />617 <source type="{{ data.mime }}" src="{{ data.url }}" /> 618 618 </audio> 619 619 </div> … … 631 631 <# if ( data.height ) { #>height="{{ data.height }}"<# } #> 632 632 <# if ( data.image && data.image.src !== data.icon ) { #>poster="{{ data.image.src }}"<# } #>> 633 <source type="{{ data.mime }}" src="{{ data.url }}" />633 <source type="{{ data.mime }}" src="{{ data.url }}" /> 634 634 </video> 635 635 </div> … … 1492 1492 1493 1493 <div class="favicon"> 1494 <img id="preview-favicon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>" />1494 <img id="preview-favicon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>" /> 1495 1495 </div> 1496 1496 <span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo( 'name' ); ?>' ) #></span> … … 1499 1499 <strong aria-hidden="true"><?php _e( 'As an app icon' ); ?></strong> 1500 1500 <div class="app-icon-preview"> 1501 <img id="preview-app-icon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>" />1501 <img id="preview-app-icon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>" /> 1502 1502 </div> 1503 1503 </script> -
trunk/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php
r49221 r50556 73 73 > 74 74 75 <xsl:output method="html" encoding="UTF-8" indent="yes" />75 <xsl:output method="html" encoding="UTF-8" indent="yes" /> 76 76 77 77 <!-- -
trunk/src/wp-includes/widgets/class-wp-nav-menu-widget.php
r48574 r50556 178 178 <p> 179 179 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> 180 <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo esc_attr( $title ); ?>" />180 <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo esc_attr( $title ); ?>" /> 181 181 </p> 182 182 <p> -
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r49946 r50556 248 248 $instance = wp_parse_args( (array) $instance, $this->default_instance ); 249 249 ?> 250 <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" class="title sync-input" type="hidden" value="<?php echo esc_attr( $instance['title'] ); ?>" />250 <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" class="title sync-input" type="hidden" value="<?php echo esc_attr( $instance['title'] ); ?>" /> 251 251 <textarea id="<?php echo $this->get_field_id( 'content' ); ?>" name="<?php echo $this->get_field_name( 'content' ); ?>" class="content sync-input" hidden><?php echo esc_textarea( $instance['content'] ); ?></textarea> 252 252 <?php -
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r49946 r50556 490 490 <p> 491 491 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> 492 <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" />492 <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /> 493 493 </p> 494 494 <div class="notice inline notice-info notice-alt">
Note: See TracChangeset
for help on using the changeset viewer.