Make WordPress Core

Changeset 9592


Ignore:
Timestamp:
11/10/2008 05:49:00 PM (16 years ago)
Author:
ryan
Message:

Validation fixes from Simek. fixes #8139

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r9492 r9592  
    130130<input type="hidden" name="c" value="<?php echo $comment->comment_ID ?>" />
    131131<input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" />
    132 <input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" />
     132<input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
    133133<?php wp_original_referer_field(true, 'previous'); ?>
    134134<input type="hidden" name="noredir" value="1" />
  • trunk/wp-admin/plugins.php

    r9562 r9592  
    119119                ?>
    120120                <p><?php _e('Deleting the selected plugins will remove the following plugin(s) and their files:'); ?></p>
    121                 <p>
    122121                    <ul>
    123122                        <?php
     
    126125                        ?>
    127126                    </ul>
    128                 </p>
    129127                <p><?php _e('Are you sure you wish to delete these files?') ?></p>
    130128                <form method="post" action="<?php echo clean_url($_SERVER['REQUEST_URI']); ?>" style="display:inline;">
Note: See TracChangeset for help on using the changeset viewer.