Ticket #30126: 30126.diff
| File 30126.diff, 18.6 KB (added by , 11 years ago) |
|---|
-
wp-admin/custom-background.php
282 282 <tr> 283 283 <th scope="row"><?php _e('Remove Image'); ?></th> 284 284 <td> 285 <form method="post" action="">285 <form method="post"> 286 286 <?php wp_nonce_field('custom-background-remove', '_wpnonce-custom-background-remove'); ?> 287 287 <?php submit_button( __( 'Remove Background Image' ), 'button', 'remove-background', false ); ?><br/> 288 288 <?php _e('This will remove the background image. You will not be able to restore any customizations.') ?> … … 296 296 <tr> 297 297 <th scope="row"><?php _e('Restore Original Image'); ?></th> 298 298 <td> 299 <form method="post" action="">299 <form method="post"> 300 300 <?php wp_nonce_field('custom-background-reset', '_wpnonce-custom-background-reset'); ?> 301 301 <?php submit_button( __( 'Restore Original Image' ), 'button', 'reset-background', false ); ?><br/> 302 302 <?php _e('This will restore the original background image. You will not be able to restore any customizations.') ?> … … 307 307 308 308 <tr> 309 309 <th scope="row"><?php _e('Select Image'); ?></th> 310 <td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="">310 <td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post"> 311 311 <p> 312 312 <label for="upload"><?php _e( 'Choose an image from your computer:' ); ?></label><br /> 313 313 <input type="file" id="upload" name="import" /> … … 328 328 </table> 329 329 330 330 <h3><?php _e('Display Options') ?></h3> 331 <form method="post" action="">331 <form method="post"> 332 332 <table class="form-table"> 333 333 <tbody> 334 334 <?php if ( get_background_image() ) : ?> -
wp-admin/edit-comments.php
224 224 225 225 <?php $wp_list_table->views(); ?> 226 226 227 <form id="comments-form" action=""method="get">227 <form id="comments-form" method="get"> 228 228 229 229 <?php $wp_list_table->search_box( __( 'Search Comments' ), 'comment' ); ?> 230 230 -
wp-admin/edit-tags.php
308 308 endif; ?> 309 309 <div id="ajax-response"></div> 310 310 311 <form class="search-form" action=""method="get">311 <form class="search-form" method="get"> 312 312 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" /> 313 313 <input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" /> 314 314 … … 321 321 322 322 <div id="col-right"> 323 323 <div class="col-wrap"> 324 <form id="posts-filter" action=""method="post">324 <form id="posts-filter" method="post"> 325 325 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" /> 326 326 <input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" /> 327 327 -
wp-admin/edit.php
307 307 308 308 <?php $wp_list_table->views(); ?> 309 309 310 <form id="posts-filter" action=""method="get">310 <form id="posts-filter" method="get"> 311 311 312 312 <?php $wp_list_table->search_box( $post_type_object->labels->search_items, 'post' ); ?> 313 313 -
wp-admin/export.php
152 152 <p><?php _e('Once you’ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site.'); ?></p> 153 153 154 154 <h3><?php _e( 'Choose what to export' ); ?></h3> 155 <form action=""method="get" id="export-filters">155 <form method="get" id="export-filters"> 156 156 <input type="hidden" name="download" value="true" /> 157 157 <p><label><input type="radio" name="content" value="all" checked="checked" /> <?php _e( 'All content' ); ?></label></p> 158 158 <p class="description"><?php _e( 'This will contain all of your posts, pages, comments, custom fields, terms, navigation menus and custom posts.' ); ?></p> -
wp-admin/includes/class-wp-posts-list-table.php
930 930 931 931 ?> 932 932 933 <form method="get" action=""><table style="display: none"><tbody id="inlineedit">933 <form method="get"><table style="display: none"><tbody id="inlineedit"> 934 934 <?php 935 935 $hclass = count( $hierarchical_taxonomies ) ? 'post' : 'page'; 936 936 $bulk = 0; -
wp-admin/includes/class-wp-terms-list-table.php
416 416 return; 417 417 ?> 418 418 419 <form method="get" action=""><table style="display: none"><tbody id="inlineedit">419 <form method="get"><table style="display: none"><tbody id="inlineedit"> 420 420 <tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> 421 421 422 422 <fieldset><div class="inline-edit-col"> -
wp-admin/includes/dashboard.php
155 155 } 156 156 157 157 function _wp_dashboard_control_callback( $dashboard, $meta_box ) { 158 echo '<form action=""method="post" class="dashboard-widget-control-form">';158 echo '<form method="post" class="dashboard-widget-control-form">'; 159 159 wp_dashboard_trigger_widget_control( $meta_box['id'] ); 160 160 wp_nonce_field( 'edit-dashboard-widget_' . $meta_box['id'], 'dashboard-widget-nonce' ); 161 161 echo '<input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" />'; -
wp-admin/includes/media.php
2301 2301 2302 2302 ?> 2303 2303 2304 <form id="filter" action=""method="get">2304 <form id="filter" method="get"> 2305 2305 <input type="hidden" name="type" value="<?php echo esc_attr( $type ); ?>" /> 2306 2306 <input type="hidden" name="tab" value="<?php echo esc_attr( $tab ); ?>" /> 2307 2307 <input type="hidden" name="post_id" value="<?php echo (int) $post_id; ?>" /> -
wp-admin/includes/plugin-install.php
170 170 $input_attrs = 'class="wp-filter-search" placeholder="' . esc_attr__( 'Search Plugins' ) . '" '; 171 171 } 172 172 173 ?><form class="search-form search-plugins" method="get" action="">173 ?><form class="search-form search-plugins" method="get"> 174 174 <input type="hidden" name="tab" value="search" /> 175 175 <?php if ( $type_selector ) : ?> 176 176 <select name="type" id="typeselector"> … … 216 216 $user = ! empty( $_GET['user'] ) ? wp_unslash( $_GET['user'] ) : get_user_option( 'wporg_favorites' ); 217 217 ?> 218 218 <p class="install-help"><?php _e( 'If you have marked plugins as favorites on WordPress.org, you can browse them here.' ); ?></p> 219 <form method="get" action="">219 <form method="get"> 220 220 <input type="hidden" name="tab" value="favorites" /> 221 221 <p> 222 222 <label for="user"><?php _e( 'Your WordPress.org username:' ); ?></label> … … 240 240 } 241 241 242 242 ?> 243 <form id="plugin-filter" action=""method="post">243 <form id="plugin-filter" method="post"> 244 244 <?php $wp_list_table->display(); ?> 245 245 </form> 246 246 <?php -
wp-admin/includes/screen.php
1023 1023 1024 1024 ?> 1025 1025 <div id="screen-options-wrap" class="hidden" tabindex="-1" aria-label="<?php esc_attr_e('Screen Options Tab'); ?>"> 1026 <form id="adv-settings" action=""method="post">1026 <form id="adv-settings" method="post"> 1027 1027 <?php if ( isset( $wp_meta_boxes[ $this->id ] ) || $this->get_option( 'per_page' ) || ( $columns && empty( $columns['_title'] ) ) ) : ?> 1028 1028 <h5><?php _e( 'Show on screen' ); ?></h5> 1029 1029 <?php -
wp-admin/includes/template.php
432 432 } 433 433 434 434 ?> 435 <form method="get" action="">435 <form method="get"> 436 436 <?php if ( $table_row ) : ?> 437 437 <table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="colspanchange"> 438 438 <?php else : ?> -
wp-admin/includes/theme-install.php
57 57 if ( ! $type_selector ) 58 58 echo '<p class="install-help">' . __( 'Search for themes by keyword.' ) . '</p>'; 59 59 ?> 60 <form id="search-themes" method="get" action="">60 <form id="search-themes" method="get"> 61 61 <input type="hidden" name="tab" value="search" /> 62 62 <?php if ( $type_selector ) : ?> 63 63 <label class="screen-reader-text" for="typeselector"><?php _e('Type of search'); ?></label> … … 99 99 <h4><?php _e('Feature Filter') ?></h4> 100 100 <p class="install-help"><?php _e( 'Find a theme based on specific features.' ); ?></p> 101 101 102 <form method="get" action="">102 <form method="get"> 103 103 <input type="hidden" name="tab" value="search" /> 104 104 <?php 105 105 $feature_list = get_theme_feature_list(); -
wp-admin/includes/widgets.php
205 205 </div> 206 206 207 207 <div class="widget-inside"> 208 <form action=""method="post">208 <form method="post"> 209 209 <div class="widget-content"> 210 210 <?php 211 211 if ( isset($control['callback']) ) -
wp-admin/link-manager.php
84 84 } 85 85 ?> 86 86 87 <form id="posts-filter" action=""method="get">87 <form id="posts-filter" method="get"> 88 88 89 89 <?php $wp_list_table->search_box( __( 'Search Links' ), 'link' ); ?> 90 90 -
wp-admin/media.php
111 111 <?php } ?> 112 112 </h2> 113 113 114 <form method="post" action=""class="media-upload-form" id="media-single-form">114 <form method="post" class="media-upload-form" id="media-single-form"> 115 115 <p class="submit" style="padding-bottom: 0;"> 116 116 <?php submit_button( __( 'Update Media' ), 'primary', 'save', false ); ?> 117 117 </p> -
wp-admin/my-sites.php
64 64 echo '</p>'; 65 65 else : 66 66 ?> 67 <form id="myblogs" action=""method="post">67 <form id="myblogs" method="post"> 68 68 <?php 69 69 choose_primary_blog(); 70 70 /** -
wp-admin/nav-menus.php
684 684 685 685 <div class="clear"></div> 686 686 687 <form id="nav-menu-meta" action=""class="nav-menu-meta" method="post" enctype="multipart/form-data">687 <form id="nav-menu-meta" class="nav-menu-meta" method="post" enctype="multipart/form-data"> 688 688 <input type="hidden" name="menu" id="nav-menu-meta-object-id" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> 689 689 <input type="hidden" name="action" value="add-menu-item" /> 690 690 <?php wp_nonce_field( 'add-menu_item', 'menu-settings-column-nonce' ); ?> … … 694 694 </div><!-- /#menu-settings-column --> 695 695 <div id="menu-management-liquid"> 696 696 <div id="menu-management"> 697 <form id="update-nav-menu" action=""method="post" enctype="multipart/form-data">697 <form id="update-nav-menu" method="post" enctype="multipart/form-data"> 698 698 <div class="menu-edit <?php if ( $add_new_screen ) echo 'blank-slate'; ?>"> 699 699 <?php 700 700 wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); -
wp-admin/network/site-themes.php
167 167 168 168 <p><?php _e( 'Network enabled themes are not shown on this screen.' ) ?></p> 169 169 170 <form method="get" action="">170 <form method="get"> 171 171 <?php $wp_list_table->search_box( __( 'Search Installed Themes' ), 'theme' ); ?> 172 172 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 173 173 </form> -
wp-admin/network/site-users.php
235 235 } 236 236 endif; ?> 237 237 238 <form class="search-form" action=""method="get">238 <form class="search-form" method="get"> 239 239 <?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?> 240 240 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 241 241 </form> -
wp-admin/network/sites.php
261 261 262 262 <?php echo $msg; ?> 263 263 264 <form action=""method="get" id="ms-search">264 <form method="get" id="ms-search"> 265 265 <?php $wp_list_table->search_box( __( 'Search Sites' ), 'site' ); ?> 266 266 <input type="hidden" name="action" value="blogs" /> 267 267 </form> -
wp-admin/network/users.php
284 284 285 285 <?php $wp_list_table->views(); ?> 286 286 287 <form action=""method="get" class="search-form">287 <form method="get" class="search-form"> 288 288 <?php $wp_list_table->search_box( __( 'Search Users' ), 'all-user' ); ?> 289 289 </form> 290 290 -
wp-admin/network.php
179 179 die(); 180 180 } 181 181 182 echo '<form method="post" action="">';182 echo '<form method="post">'; 183 183 184 184 wp_nonce_field( 'install-network-1' ); 185 185 -
wp-admin/plugins.php
456 456 457 457 <?php $wp_list_table->views(); ?> 458 458 459 <form method="get" action="">459 <form method="get"> 460 460 <?php $wp_list_table->search_box( __( 'Search Installed Plugins' ), 'plugin' ); ?> 461 461 </form> 462 462 463 <form method="post" action="">463 <form method="post"> 464 464 465 465 <input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" /> 466 466 <input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" /> -
wp-admin/upload.php
277 277 <div id="message" class="updated"><p><?php echo $message; ?></p></div> 278 278 <?php } ?> 279 279 280 <form id="posts-filter" action=""method="get">280 <form id="posts-filter" method="get"> 281 281 282 282 <?php $wp_list_table->views(); ?> 283 283 -
wp-admin/user-new.php
287 287 * @since 3.0.0 288 288 */ 289 289 ?> 290 <form action=""method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php do_action( 'user_new_form_tag' );?>>290 <form method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php do_action( 'user_new_form_tag' );?>> 291 291 <input name="action" type="hidden" value="adduser" /> 292 292 <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 293 293 … … 335 335 ?> 336 336 <p><?php _e('Create a brand new user and add them to this site.'); ?></p> 337 337 <?php /** This action is documented in wp-admin/user-new.php */ ?> 338 <form action=""method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php do_action( 'user_new_form_tag' );?>>338 <form method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php do_action( 'user_new_form_tag' );?>> 339 339 <input name="action" type="hidden" value="createuser" /> 340 340 <?php wp_nonce_field( 'create-user', '_wpnonce_create-user' ); ?> 341 341 <?php -
wp-admin/users.php
209 209 210 210 include( ABSPATH . 'wp-admin/admin-header.php' ); 211 211 ?> 212 <form action=""method="post" name="updateusers" id="updateusers">212 <form method="post" name="updateusers" id="updateusers"> 213 213 <?php wp_nonce_field('delete-users') ?> 214 214 <?php echo $referer; ?> 215 215 … … 321 321 322 322 include( ABSPATH . 'wp-admin/admin-header.php' ); 323 323 ?> 324 <form action=""method="post" name="updateusers" id="updateusers">324 <form method="post" name="updateusers" id="updateusers"> 325 325 <?php wp_nonce_field('remove-users') ?> 326 326 <?php echo $referer; ?> 327 327 … … 443 443 444 444 <?php $wp_list_table->views(); ?> 445 445 446 <form action=""method="get">446 <form method="get"> 447 447 448 448 <?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?> 449 449 -
wp-admin/widgets.php
417 417 </div> 418 418 </div> 419 419 </div> 420 <form action=""method="post">420 <form method="post"> 421 421 <?php wp_nonce_field( 'save-sidebar-widgets', '_wpnonce_widgets', false ); ?> 422 422 </form> 423 423 <br class="clear" /> -
wp-includes/class-wp-customize-widgets.php
952 952 953 953 call_user_func_array( 'wp_widget_control', $args ); 954 954 $replacements = array( 955 '<form action=""method="post">' => '<div class="form">',955 '<form method="post">' => '<div class="form">', 956 956 '</form>' => '</div><!-- .form -->', 957 957 ); 958 958