Ticket #26869: 26869.diff
File 26869.diff, 7.8 KB (added by , 11 years ago) |
---|
-
src/wp-admin/admin-header.php
157 157 158 158 ?> 159 159 </head> 160 < ?php160 <body class="wp-admin wp-core-ui no-js <?php 161 161 /** 162 162 * Filter the admin <body> CSS classes. 163 163 * … … 169 169 * 170 170 * @param string $classes Space-separated string of CSS classes. 171 171 */ 172 ?> 173 <body class="wp-admin wp-core-ui no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class";?>">172 echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; 173 ?>"> 174 174 <script type="text/javascript"> 175 175 document.body.className = document.body.className.replace('no-js','js'); 176 176 </script> -
src/wp-admin/edit-form-advanced.php
382 382 <span class="hide-if-no-sessionstorage"><?php _e( 'We’re backing up this post in your browser, just in case.' ); ?></span> 383 383 </p> 384 384 </div> 385 <?php 385 386 <form name="post" action="post.php" method="post" id="post"<?php 386 387 /** 387 388 * Fires inside the post editor <form> tag. 388 389 * … … 390 391 * 391 392 * @param WP_Post $post Post object. 392 393 */ 393 ?> 394 <form name="post" action="post.php" method="post" id="post"<?php do_action( 'post_edit_form_tag', $post );?>>394 do_action( 'post_edit_form_tag', $post ); 395 ?>> 395 396 <?php wp_nonce_field($nonce_action); ?> 396 397 <input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" /> 397 398 <input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ) ?>" /> -
src/wp-admin/edit-tag-form.php
64 64 <div class="wrap"> 65 65 <h2><?php echo $tax->labels->edit_item; ?></h2> 66 66 <div id="ajax-response"></div> 67 <?php 67 68 <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate" <?php 68 69 /** 69 70 * Fires inside the Edit Term form tag. 70 71 * … … 73 74 * 74 75 * @since 3.7.0 75 76 */ 76 ?> 77 <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php do_action( "{$taxonomy}_term_edit_form_tag" );?>>77 do_action( "{$taxonomy}_term_edit_form_tag" ); 78 ?>> 78 79 <input type="hidden" name="action" value="editedtag" /> 79 80 <input type="hidden" name="tag_ID" value="<?php echo esc_attr($tag->term_id) ?>" /> 80 81 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy) ?>" /> -
src/wp-admin/edit-tags.php
431 431 432 432 <div class="form-wrap"> 433 433 <h3><?php echo $tax->labels->add_new_item; ?></h3> 434 <?php 434 435 <form id="addtag" method="post" action="edit-tags.php" class="validate"<?php 435 436 /** 436 437 * Fires at the beginning of the Add Tag form. 437 438 * … … 439 440 * 440 441 * @since 3.7.0 441 442 */ 442 ?> 443 <form id="addtag" method="post" action="edit-tags.php" class="validate"<?php do_action( "{$taxonomy}_term_new_form_tag" );?>>443 do_action( "{$taxonomy}_term_new_form_tag" ); 444 ?>> 444 445 <input type="hidden" name="action" value="add-tag" /> 445 446 <input type="hidden" name="screen" value="<?php echo esc_attr($current_screen->id); ?>" /> 446 447 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" /> -
src/wp-admin/includes/meta-boxes.php
626 626 * @param object $post 627 627 */ 628 628 function post_slug_meta_box($post) { 629 /** This filter is documented in wp-admin/edit-tag-form.php */630 629 ?> 631 <label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( apply_filters( 'editable_slug', $post->post_name ) ); ?>" /> 630 <label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php 631 /** This filter is documented in wp-admin/edit-tag-form.php */ 632 echo esc_attr( apply_filters( 'editable_slug', $post->post_name ) ); 633 ?>" /> 632 634 <?php 633 635 } 634 636 -
src/wp-admin/includes/template.php
1800 1800 1801 1801 if ( $is_IE ) 1802 1802 @header('X-UA-Compatible: IE=edge'); 1803 1803 ?> 1804 <!DOCTYPE html> 1805 <!--[if IE 8]> 1806 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" <?php 1804 1807 /** 1805 1808 * Fires inside the HTML tag in the admin header. 1806 1809 * 1807 1810 * @since 2.2.0 1808 1811 */ 1809 ?> 1810 <!DOCTYPE html> 1811 <!--[if IE 8]> 1812 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" <?php do_action( 'admin_xml_ns' ); ?> <?php language_attributes(); ?>> 1812 do_action( 'admin_xml_ns' ); ?> <?php language_attributes(); 1813 ?>> 1813 1814 <![endif]--> 1814 1815 <!--[if !(IE 8) ]><!--> 1815 1816 <?php /** This action is documented in wp-admin/includes/template.php */ ?> -
src/wp-admin/plugin-install.php
89 89 * 90 90 * @param int $paged The current page number of the plugins list table. 91 91 */ 92 do_action( "install_plugins_$tab", $paged ); 92 93 ?> 93 <?php do_action( "install_plugins_$tab", $paged ); ?>94 94 </div> 95 95 <?php 96 96 /** -
src/wp-admin/user-edit.php
221 221 <?php } 222 222 } ?> 223 223 </h2> 224 <?php 224 225 <form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post"<?php 225 226 /** 226 227 * Fires inside the your-profile form tag on the user editing screen. 227 228 * 228 229 * @since 3.0.0 229 230 */ 230 ?> 231 <form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post"<?php do_action( 'user_edit_form_tag' );?>>231 do_action( 'user_edit_form_tag' ); 232 ?>> 232 233 <?php wp_nonce_field('update-user_' . $user_id) ?> 233 234 <?php if ( $wp_http_referer ) : ?> 234 235 <input type="hidden" name="wp_http_referer" value="<?php echo esc_url($wp_http_referer); ?>" /> … … 250 251 <?php if ( count($_wp_admin_css_colors) > 1 && has_action('admin_color_scheme_picker') ) : ?> 251 252 <tr> 252 253 <th scope="row"><?php _e('Admin Color Scheme')?></th> 253 < ?php254 <td><?php 254 255 /** 255 256 * Fires in the 'Admin Color Scheme' section of the user editing screen. 256 257 * … … 259 260 * 260 261 * @since 3.0.0 261 262 */ 262 ?> 263 <td><?php do_action( 'admin_color_scheme_picker', $user_id );?></td>263 do_action( 'admin_color_scheme_picker', $user_id ); 264 ?></td> 264 265 </tr> 265 266 <?php 266 267 endif; // $_wp_admin_css_colors -
src/wp-admin/user-new.php
279 279 $label = __('E-mail or Username'); 280 280 } 281 281 ?> 282 < ?php282 <form action="" method="post" name="adduser" id="adduser" class="validate"<?php 283 283 /** 284 284 * Fires inside the adduser form tag. 285 285 * 286 286 * @since 3.0.0 287 287 */ 288 ?> 289 <form action="" method="post" name="adduser" id="adduser" class="validate"<?php do_action( 'user_new_form_tag' );?>>288 do_action( 'user_new_form_tag' ); 289 ?>> 290 290 <input name="action" type="hidden" value="adduser" /> 291 291 <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 292 292