Escape form action urls with esc_url() rather than esc_attr().

Props SergeyBiryukov
fixes #23266


git-svn-id: http://core.svn.wordpress.org/trunk@23739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren
2013-03-18 14:01:25 +00:00
parent 9f44cb4038
commit 469d1a3099
5 changed files with 9 additions and 9 deletions

View File

@@ -979,7 +979,7 @@ jQuery(function($){
});
-->
</script>
<form action="<?php echo $form_post ?>" method="post">
<form action="<?php echo esc_url( $form_post ) ?>" method="post">
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php _e('Connection Information') ?></h2>