~ubuntu-branches/debian/sid/wordpress/sid

« back to all changes in this revision

Viewing changes to wp-admin/edit-form-comment.php

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2013-09-04 23:18:58 UTC
  • mfrom: (1.2.28)
  • Revision ID: package-import@ubuntu.com-20130904231858-nljmn1buzswh63jk
Tags: 3.6+dfsg-1
* New upstream release.
* Improve wp-settings to verify that $_SERVER['HTTP_X_FORWARDED_PROTO']
  exists before accessing it (avoids a PHP notice).
  Thanks to Paul Dreik <slask@pauldreik.se> for the report and the patch.
* Document in README.Debian the need to login to /wp-admin/ to complete
  an upgrade.
* Drop useless debian/README.source
* Drop 008CVE2008-2392.patch since upstream now disables unfiltered
  uploads by default. See http://core.trac.wordpress.org/ticket/10692
* Drop 009CVE2008-6767.patch since the backto parameter is validated
  against a whitelist, and externally triggered upgrades are not a
  security problem as long as they work.
* Update debian/missing-sources with latest versions.
* Update upstream l10n.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
<input type="hidden" name="comment_post_ID" value="<?php echo esc_attr( $comment->comment_post_ID ); ?>" />
24
24
 
25
25
<div id="post-body" class="metabox-holder columns-2">
26
 
<div id="post-body-content">
 
26
<div id="post-body-content" class="edit-form-section">
27
27
<div id="namediv" class="stuffbox">
28
28
<h3><label for="name"><?php _e( 'Author' ) ?></label></h3>
29
29
<div class="inside">
63
63
 
64
64
<div id="postdiv" class="postarea">
65
65
<?php
66
 
        $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' );
 
66
        $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' );
67
67
        wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
68
68
        wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
69
69
</div>
132
132
 
133
133
<input type="hidden" name="c" value="<?php echo esc_attr($comment->comment_ID) ?>" />
134
134
<input type="hidden" name="p" value="<?php echo esc_attr($comment->comment_post_ID) ?>" />
135
 
<input name="referredby" type="hidden" id="referredby" value="<?php echo esc_url(stripslashes(wp_get_referer())); ?>" />
 
135
<input name="referredby" type="hidden" id="referredby" value="<?php echo esc_url( wp_get_referer() ); ?>" />
136
136
<?php wp_original_referer_field(true, 'previous'); ?>
137
137
<input type="hidden" name="noredir" value="1" />
138
138