Jon Cave
12042b56b8
Don't call updatePending() if the pending count hasn't changed. See #19905 .
...
Stops a zero pending count bubble being shown when unspamming and approved comment
when there are no pending comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@20535 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:32:45 +00:00
Andrew Ozz
654e72714c
Add new comment from post edit screen, partial props: garyc40, see #15527
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20164 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 01:30:11 +00:00
Jon Cave
b3a99c8589
Fix incorrect pending comment count updates for filtered views. Fixes #19905 .
...
Pass the difference (i.e. 1 or -1) to updatePending() so that the current
pending count is changed for each element independently. Also move several
functions back out of the global scope, see r17832 for their introduction.
git-svn-id: https://develop.svn.wordpress.org/trunk@19895 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 23:29:24 +00:00
Andrew Nacin
c90d5bb693
Don't add in an extra space when inserting a name into the string produced by wp_comment_trashnotice(). props pavelevap, see #19788 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19804 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:39:52 +00:00
Ryan Boren
5e76729992
One newline is enough.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Jon Cave
e4ed02d6ae
Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19298 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 17:57:53 +00:00
Jon Cave
72256f1c27
Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029 .
...
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".
git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 08:47:16 +00:00
Andrew Ozz
c9c3eb7a6d
Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348 , see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Jon Cave
3dbb79d859
Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18650 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 19:48:25 +00:00
Andrew Ozz
3f921df606
Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695 , fixes #15911
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +00:00
Andrew Ozz
6ce85719a7
Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18511 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 04:09:22 +00:00
Andrew Ozz
0674464f19
Remove debug remnants, props scribu, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18499 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:36:18 +00:00
Andrew Ozz
d5a6cf3dfd
Refactor Quicktags, props garyc40, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:11:12 +00:00
Ryan Boren
46d96c7704
Bring out the pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Ryan Boren
332d95b648
Validation fixes. Props ocean90, xknown. fixes #17364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Andrew Ozz
e7d7300bc7
Fix background color for approved comments, props DH-Shredder, fixes #17405
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18065 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 02:30:04 +00:00
Andrew Ozz
3a20d6aa17
Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18027 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:04:12 +00:00
Andrew Ozz
730f9550ec
Fix Reply and Approve when replying from the comment moderation page, see #15898
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17983 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-21 17:11:13 +00:00
Andrew Ozz
0d5e03dd9f
Don't show the Fullscreen button on the comment edit page, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17966 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 07:34:54 +00:00
Andrew Ozz
c451b0050d
jQuery 1.6.1 and fix for some small bugs that popped up while testing it, props JDTrower, fixes #17311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17907 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 22:00:31 +00:00
Andrew Ozz
c244f12c8e
Change comment Reply to Approve and Reply and auto-approve the comment if it is in moderation, props DH-Shredder, fixes #15898
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17832 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 04:56:00 +00:00
Andrew Ozz
c721f308ce
Add quotes to [value="some"] selectors, see #16426
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17777 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 02:15:08 +00:00
Ryan Boren
451d7d8ffb
Pink the whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Ryan Boren
bdd25aad05
Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Mark Jaquith
4bca42b961
Fix the comments "river." issue 9. props garyc40. see #16262
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17344 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 21:17:12 +00:00
Mark Jaquith
19b385450e
Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17343 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 20:28:41 +00:00
Mark Jaquith
57571e6675
Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17326 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 17:32:35 +00:00
Ryan Boren
eba71eb7c0
Bring out the shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Ryan Boren
ee09d38544
Fix comment reply colspan. Props garyc40. fixes #15876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Ryan Boren
9f9f401c42
Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren
034024021a
Comment reply and quick edit js fixes. Props garyc40. fixes #15908
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17089 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:53:50 +00:00
Andrew Nacin
ed9ce46089
Fix placeholder issues when removing comments. props garyc40, fixes #15879 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Andrew Nacin
d8871ce771
Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
scribu
1d3a1c1460
Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
Ryan Boren
277bf53130
Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16647 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:51:20 +00:00
scribu
907353550e
Get rid of in favor of . Fixes #15607 . See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
scribu
de5730ecd9
Use event delegation in edit-comments.js. Fixes #15504
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16516 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:02:25 +00:00
scribu
4b4c95799a
Rename admin-table.js to list-table.js
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +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
dff48c8597
Temporary fix for #14637
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15506 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:58:55 +00:00
Dion Hulse
f42b2b775b
Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14143 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:37:45 +00:00
Andrew Ozz
b83aada923
Fix Right Now comments counts when only one comment exists
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12294 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 01:53:25 +00:00
Andrew Ozz
a03d21af84
Fix Right Now comments counts for trash, spam or undo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12293 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 00:49:33 +00:00
Andrew Ozz
a0ea0aa4ed
Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12291 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 10:29:12 +00:00
Andrew Ozz
ed11892e7f
Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +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
f066b7dc39
Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259 , see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12278 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 04:37:39 +00:00
Andrew Ozz
c875acd15d
Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12183 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 05:39:17 +00:00
Andrew Ozz
78b67c6387
Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12154 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-07 00:50:28 +00:00