Ryan Boren
9ee8b20f30
First pass of user admin. Network admin and screen cleanups. see #14696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Dion Hulse
57af0bf212
Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15666 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 10:02:23 +00:00
scribu
728285edbd
Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15642 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 00:10:39 +00:00
scribu
b1def7dad8
Introduce 'edit_comment' meta cap. Fixes #14520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15596 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 23:35:28 +00:00
scribu
25677d588c
introduce WP_List_Table::views(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15578 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 21:26:27 +00:00
scribu
76ac1c93a8
Introduce get_list_table(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu
1c4aeef40e
replace $table with $wp_list_table. See #14651
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 11:22:46 +00:00
scribu
2c7897bd78
Use adminTable to refill #the-extra-comment-list. See #14637
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
scribu
1b4603a611
Fix the Trash quickling in edit-comments.php. See #14637
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15508 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 22:26:22 +00:00
scribu
0a6cb83e18
introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15504 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:30:27 +00:00
scribu
37401689c5
Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596 ; See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu
fb9394167f
Ajaxify list-type screens in the admin. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Andrew Nacin
53d3846f6a
target=blank for help. props jorbin, see #13467
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15132 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 21:00:39 +00:00
Ryan Boren
52246de342
Entities cleanup for help. Props zeo. see #13467
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15094 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 17:44:38 +00:00
Andrew Nacin
e89212637d
Help whitespace/punctuation cleanup. props zeo, see #13467 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15054 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:16:40 +00:00
Andrew Nacin
21d9d27bb7
Edit comments help links. see #13467 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15013 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 23:38:20 +00:00
Ryan Boren
70bfb66d9d
Help for edit-comments.php. see #13467
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14906 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 21:59:42 +00:00
Andrew Nacin
19e51b2aad
Always show all comment status links in edit-comments.php so dynamic moderation can update the counts.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14895 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:46:08 +00:00
Andrew Nacin
4d594cc798
Use 'Comments' and 'Links' as page title instead of Edit %s. fixes #11274 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14652 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:07:31 +00:00
Andrew Nacin
47136b319f
Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Peter Westwood
e88177d901
Only hide the bulk actions and not the filters when no comments. Fixes #13193 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14512 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 10:10:41 +00:00
Andrew Nacin
49416615b4
Add missing closing div tags to some edit-comments.php branches. props JohnONolan, fixes #13287 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14493 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 02:38:12 +00:00
Nikolay Bachiyski
abf6b82a23
Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14407 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:37:07 +00:00
Ryan Boren
57a5a11660
Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46
Escape links by default. Props alexkingorg. see #13051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Nikolay Bachiyski
0cab071f77
Trash should always be in titlecase for consistency
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14167 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 14:54:36 +00:00
Dion Hulse
aa9db422bf
Fix typo in unspamed comments message
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14142 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:32:59 +00:00
Andrew Nacin
ec4f5b83bf
Use relative paths when including files, avoiding include_path. fixes #12594 , props sorich87.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Andrew Nacin
dd306def81
Remove redundant isset() and empty() checks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Andrew Nacin
f0c9438807
Show awareness of comment's current status when moderating via e-mail/AYS. Show message on AYS screen of comment's status if not unapproved. Skip AYS when trying to re-approve (or delete or spam) a comment and show a message. See #11441
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13247 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:48:38 +00:00
Andrew Nacin
91e432abfe
Comments moderation code cleanup. Dry up some code, add screen icon to AYS, fix notice in comment_footer_die(). Redirect to edit-comments.php on an error, instead of stranding them with dull comment_footer_die() message. See #11441
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13246 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:18:25 +00:00
Andrew Nacin
8be6c296b1
Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13100 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:49:27 +00:00
Ryan Boren
2e46e81309
i18n fixes. Props nbachiyski. fixes #11954
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Peter Westwood
60d271287e
Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12715 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 22:38:26 +00:00
Ryan Boren
dfe2e39c2c
Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Andrew Ozz
060d9185e6
Remove unused .fade CSS class, props nacin, fixes #11628
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +00:00
Peter Westwood
309b373f85
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: https://develop.svn.wordpress.org/trunk@12461 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 11:30:54 +00:00
Ryan Boren
16b48edadf
Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12375 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 23:14:43 +00:00
Ryan Boren
d6003d7fa6
Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12308 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 20:00:33 +00:00
Andrew Ozz
a675276ce5
Undo for setting a comment as spam, props caesarsgrunt, fixes #11260 , see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz
0093a3a989
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: https://develop.svn.wordpress.org/trunk@12162 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 10:38:19 +00:00
Andrew Ozz
59981a3d5b
Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12008 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 08:24:59 +00:00
Andrew Ozz
1011e0cf58
Add "View trash" link to the notice after moving to the trash
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11952 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-19 01:06:17 +00:00
Ryan Boren
43c201d458
Remove trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Andrew Ozz
782977afbf
"Trash" updates, props caesarsgrunt, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11841 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 08:35:24 +00:00
Andrew Ozz
7dcba3d22e
Notice fixes, props mrmist, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11779 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 00:40:39 +00:00
Andrew Ozz
9376d20e68
Show Empty Trash button only when the user has cap. props mrmist, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11778 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 23:50:29 +00:00
Ryan Boren
7b8c4df9bc
Add some CYA cap checks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11763 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:58:59 +00:00
Andrew Ozz
d9f8c67f2f
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz
245d113bfc
"Trash" status for comments updates, props caesarsgrunt, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11741 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-24 07:23:11 +00:00