[wp-cvs] wordpress/wp-admin edit-form-comment.php, 1.11,
1.12 post.php, 1.70, 1.71
Ryan Boren
rboren at users.sourceforge.net
Wed Jul 28 04:01:47 UTC 2004
- Previous message: [wp-cvs]
wordpress/wp-includes template-functions-general.php, 1.39, 1.40
- Next message: [wp-cvs] wordpress/wp-admin categories.php, 1.36,
1.37 edit-comments.php, 1.30, 1.31 edit.php, 1.25,
1.26 menu.php, 1.20, 1.21 moderation.php, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26930
Modified Files:
edit-form-comment.php post.php
Log Message:
Bug 0000163. Confirm comment deletion. Courtesy of BrianMeidell and Kitten.
Index: edit-form-comment.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit-form-comment.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** edit-form-comment.php 15 Jun 2004 23:24:35 -0000 1.11
--- edit-form-comment.php 28 Jul 2004 04:01:45 -0000 1.12
***************
*** 79,82 ****
</form>
! <p><a class="delete" href="post.php?action=deletecomment&noredir=true&comment=<?php echo $commentdata['comment_ID']; ?>&p=<?php echo $commentdata['comment_post_ID']; ?>"><?php _e('Delete comment') ?></a></p>
</div>
--- 79,82 ----
</form>
! <p><a class="delete" href="post.php?action=confirmdeletecomment&noredir=true&comment=<?php echo $commentdata['comment_ID']; ?>&p=<?php echo $commentdata['comment_post_ID']; ?>"><?php _e('Delete comment') ?></a></p>
</div>
Index: post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** post.php 24 Jul 2004 03:22:49 -0000 1.70
--- post.php 28 Jul 2004 04:01:45 -0000 1.71
***************
*** 511,515 ****
echo "<div class=\"wrap\">\n";
! echo "<p><?php __('<strong>Caution:</strong> You are about to delete the following comment:'); ?></p>\n";
echo "<table border=\"0\">\n";
echo "<tr><td>" . __('Author:') . "</td><td>" . $commentdata["comment_author"] . "</td></tr>\n";
--- 511,515 ----
echo "<div class=\"wrap\">\n";
! echo "<p>" . __('<strong>Caution:</strong> You are about to delete the following comment:') . "</p>\n";
echo "<table border=\"0\">\n";
echo "<tr><td>" . __('Author:') . "</td><td>" . $commentdata["comment_author"] . "</td></tr>\n";
- Previous message: [wp-cvs]
wordpress/wp-includes template-functions-general.php, 1.39, 1.40
- Next message: [wp-cvs] wordpress/wp-admin categories.php, 1.36,
1.37 edit-comments.php, 1.30, 1.31 edit.php, 1.25,
1.26 menu.php, 1.20, 1.21 moderation.php, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list