Commit Graph

247 Commits

Author SHA1 Message Date
westi
2fabcf53fe Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 22:38:26 +00:00
ryan
45ec04e3e9 Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
westi
e51aa59549 Ensure that bulk comment actions do not remove spaces from search terms.
Also refactors comment bulk action redirect url building to be consistent with other operations.
Fixes #11471 props nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 11:30:54 +00:00
ryan
657aa5adc3 Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: http://svn.automattic.com/wordpress/trunk@12375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:14:43 +00:00
ryan
e5d2d65a36 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: http://svn.automattic.com/wordpress/trunk@12308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 20:00:33 +00:00
azaozz
fe29434e05 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
fb1bb44d60 Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 10:38:19 +00:00
azaozz
d20c23e98d Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
azaozz
fecbb60966 Add "View trash" link to the notice after moving to the trash
git-svn-id: http://svn.automattic.com/wordpress/trunk@11952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-19 01:06:17 +00:00
ryan
8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
azaozz
be026258fa "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
azaozz
0d3ce58ccb Notice fixes, props mrmist, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 00:40:39 +00:00
azaozz
e81414d3b3 Show Empty Trash button only when the user has cap. props mrmist, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-05 23:50:29 +00:00
ryan
9bb224cf1e Add some CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:58:59 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
2040971211 "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-24 07:23:11 +00:00
azaozz
d2fec31c0e "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 03:11:12 +00:00
azaozz
daa5da7259 Fix pending comments count, paging and comments requests while moderating for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 22:40:06 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
markjaquith
bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
westi
ac3b739302 Revert the rememeber last view for comments page code as it is confusing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 07:38:14 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
c2ff1cd44a Some attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:09:08 +00:00
azaozz
5bb3173d78 Fix hiding of comments after approving/unapproving them
git-svn-id: http://svn.automattic.com/wordpress/trunk@11073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 02:25:20 +00:00
ryan
561146621f Remember last view for comments page
git-svn-id: http://svn.automattic.com/wordpress/trunk@11035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 21:12:01 +00:00
azaozz
29f9a48eaa CSS cleanup and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
ryan
e20fd21b39 Notice fixes. Props DD32. fixes #9502
git-svn-id: http://svn.automattic.com/wordpress/trunk@10904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 04:34:44 +00:00
ryan
72a58f8025 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:47:47 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
750459382b Use _n(). Props mrmist. fixes #9190
git-svn-id: http://svn.automattic.com/wordpress/trunk@10605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:22:34 +00:00
markjaquith
5066f95229 Make the top and bottom comment actions dropdowns match ("Approve" was not appearing on bottom one). for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 03:14:04 +00:00
azaozz
1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
ryan
21442085fc Show 'Delete All Spam' only if can moderate_comments. Props mrmist. fixes #8684 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 18:30:55 +00:00
matt
d58297955d Update pagination links on edit-comments when approving/deleting/etc. Hat tip: mdawaffe. Fixes #8584.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-14 12:13:30 +00:00
azaozz
3304493c7d Change Actions to Bulk Actions in edit-comments.php, props FFEMTcJ, fixes #8554
git-svn-id: http://svn.automattic.com/wordpress/trunk@10162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 02:27:08 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
markjaquith
19938ff3ee Make AJAX comment river post_id and comment_type aware
git-svn-id: http://svn.automattic.com/wordpress/trunk@10104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 07:31:27 +00:00
markjaquith
8a527f4d95 Much better In Response To column, with pretty comment bubble
git-svn-id: http://svn.automattic.com/wordpress/trunk@10102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 07:10:47 +00:00
markjaquith
56935938b0 Cron order for single-post Edit Comments page. Remember Single Post when searching, switching comment statuses, and filtering comment types
git-svn-id: http://svn.automattic.com/wordpress/trunk@10082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 03:59:03 +00:00
markjaquith
741b31a0c6 Allow bulk approval of comments from the spam queue
git-svn-id: http://svn.automattic.com/wordpress/trunk@10067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 09:29:10 +00:00
azaozz
0284ef6ae0 Easier translation for search strings in H2s
git-svn-id: http://svn.automattic.com/wordpress/trunk@10035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 12:01:02 +00:00
azaozz
e53337ede8 Add search string to H2s, fixes #8373
git-svn-id: http://svn.automattic.com/wordpress/trunk@10034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 09:20:52 +00:00
azaozz
f36c6cf666 Pagination arrow replacement, fixes #8363
git-svn-id: http://svn.automattic.com/wordpress/trunk@9914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 00:28:24 +00:00
azaozz
7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
markjaquith
821218975c Repoint and redirect edit.php?p=X to edit-comments.php?p=X
git-svn-id: http://svn.automattic.com/wordpress/trunk@9807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 04:51:47 +00:00
azaozz
81ad8fe0f7 Add closing form tag when no comments displayed, props sivel, fixes #8283
git-svn-id: http://svn.automattic.com/wordpress/trunk@9799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 00:16:41 +00:00
ryan
cf333304bb Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:59:57 +00:00