Changeset 23739
- Timestamp:
- 03/18/2013 02:01:25 PM (11 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r23669 r23739 980 980 --> 981 981 </script> 982 <form action="<?php echo $form_post?>" method="post">982 <form action="<?php echo esc_url( $form_post ) ?>" method="post"> 983 983 <div class="wrap"> 984 984 <?php screen_icon(); ?> -
trunk/wp-admin/includes/media.php
r23615 r23739 1603 1603 ?> 1604 1604 1605 <form enctype="multipart/form-data" method="post" action="<?php echo esc_ attr($form_action_url); ?>" class="<?php echo $form_class; ?>" id="<?php echo $type; ?>-form">1605 <form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="<?php echo $type; ?>-form"> 1606 1606 <?php submit_button( '', 'hidden', 'save', false ); ?> 1607 1607 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> … … 1668 1668 ?> 1669 1669 1670 <form enctype="multipart/form-data" method="post" action="<?php echo esc_ attr($form_action_url); ?>" class="<?php echo $form_class; ?>" id="<?php echo $type; ?>-form">1670 <form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="<?php echo $type; ?>-form"> 1671 1671 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1672 1672 <?php wp_nonce_field('media-form'); ?> … … 1819 1819 <a href="#" id="clear"><?php _ex('Clear', 'verb'); ?></a> 1820 1820 </div> 1821 <form enctype="multipart/form-data" method="post" action="<?php echo esc_ attr($form_action_url); ?>" class="<?php echo $form_class; ?>" id="gallery-form">1821 <form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="gallery-form"> 1822 1822 <?php wp_nonce_field('media-form'); ?> 1823 1823 <?php //media_upload_form( $errors ); ?> … … 2059 2059 </form> 2060 2060 2061 <form enctype="multipart/form-data" method="post" action="<?php echo esc_ attr($form_action_url); ?>" class="<?php echo $form_class; ?>" id="library-form">2061 <form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="library-form"> 2062 2062 2063 2063 <?php wp_nonce_field('media-form'); ?> -
trunk/wp-admin/includes/template.php
r23710 r23739 786 786 else : 787 787 ?> 788 <form enctype="multipart/form-data" id="import-upload-form" method="post" class="wp-upload-form" action="<?php echo esc_ attr(wp_nonce_url($action, 'import-upload')); ?>">788 <form enctype="multipart/form-data" id="import-upload-form" method="post" class="wp-upload-form" action="<?php echo esc_url( wp_nonce_url( $action, 'import-upload' ) ); ?>"> 789 789 <p> 790 790 <label for="upload"><?php _e( 'Choose a file from your computer:' ); ?></label> (<?php printf( __('Maximum size: %s' ), $size ); ?>) -
trunk/wp-admin/media-new.php
r22880 r23739 69 69 <h2><?php echo esc_html( $title ); ?></h2> 70 70 71 <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-new.php'); ?>" class="<?php echo $form_class; ?>" id="file-form">71 <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-new.php'); ?>" class="<?php echo esc_attr( $form_class ); ?>" id="file-form"> 72 72 73 73 <?php media_upload_form(); ?> -
trunk/wp-admin/update-core.php
r23381 r23739 189 189 <h3><?php _e( 'Plugins' ); ?></h3> 190 190 <p><?php _e( 'The following plugins have new versions available. Check the ones you want to update and then click “Update Plugins”.' ); ?></p> 191 <form method="post" action="<?php echo $form_action; ?>" name="upgrade-plugins" class="upgrade">191 <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade"> 192 192 <?php wp_nonce_field('upgrade-core'); ?> 193 193 <p><input id="upgrade-plugins" class="button" type="submit" value="<?php esc_attr_e('Update Plugins'); ?>" name="upgrade" /></p> … … 267 267 <p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click “Update Themes”.' ); ?></p> 268 268 <p><?php printf( __('<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s">child themes</a> for modifications.'), _x('http://codex.wordpress.org/Child_Themes', 'Link used in suggestion to use child themes in GUU') ); ?></p> 269 <form method="post" action="<?php echo $form_action; ?>" name="upgrade-themes" class="upgrade">269 <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade"> 270 270 <?php wp_nonce_field('upgrade-core'); ?> 271 271 <p><input id="upgrade-themes" class="button" type="submit" value="<?php esc_attr_e('Update Themes'); ?>" name="upgrade" /></p>
Note: See TracChangeset
for help on using the changeset viewer.