Ryan Boren
c1e26ef82c
Add like_escape() to some queries. fixes #15764
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Andrew Nacin
266cd3f5df
Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:18:28 +00:00
Andrew Nacin
8661cbc56e
Move check_permissions() out of ajax_response(). see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16991 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:48:16 +00:00
Ryan Boren
1da4d8e087
Fix notice in ajax response. Props garyc40. fixes #15810
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16914 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 15:07:43 +00:00
scribu
1f570675c1
Fix Parent dropdown after creating a category. Props Utkarsh, garyc40. Fixes #15194
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16884 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 10:29:19 +00:00
Andrew Nacin
ee30b441ff
Use assign_terms cap for tag search and tag cloud in admin ajax. fixes #15437 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16771 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:59:25 +00:00
Andrew Nacin
872372d68c
s/occured/occurred/. props aldenta, fixes #15653 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +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
e6e9ea6c26
Set current screen for comment quick-edit. Props batmoo. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16483 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:34:21 +00:00
Andrew Nacin
f86af64e5f
Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Andrew Nacin
7cccd5715f
Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin
655df3af90
Ludicrous speed for internal linking. First pass. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Ryan Boren
4b33a0e9c4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Andrew Nacin
0b7f397e9b
set_post_thumbnail(). fixes #15192 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16388 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:59:25 +00:00
scribu
9f69a2211f
Fix post comments box and remove unused 'add-comment' ajax action. See #15338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16371 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:45 +00:00
scribu
e525b77f28
Fix inline term editing. See #15338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16369 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:08:25 +00:00
Peter Westwood
21ac2fa767
Chop this off as we don't need it anymore. Fixes #13960 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16293 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:10:59 +00:00
scribu
a97018ab13
Fix admin comment reply. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16244 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 23:07:37 +00:00
Peter Westwood
de1c45771a
Fix typo. See #15336 props Utkarsh.
...
Also actually correctly cast to boolean :-)
git-svn-id: https://develop.svn.wordpress.org/trunk@16234 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 10:21:34 +00:00
Peter Westwood
f091f10b0f
Fix typo. See #15336 props Utkarsh.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16232 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 09:15:47 +00:00
Peter Westwood
417830b4e6
Ensure that booleans are booleans for now. See #15336 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16231 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 08:16:28 +00:00
Peter Westwood
1626139659
Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16221 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 09:41:03 +00:00
Peter Westwood
fa9fc10c6e
Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16177 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:40:27 +00:00
Peter Westwood
817aa1975c
Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
scribu
d1034ad0d3
complete the renaming. props ocean90. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16172 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 22:06:45 +00:00
Peter Westwood
c4633bbd54
The big renaming of the list-table class files.
...
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00
scribu
0030431a66
Set $current_screen before creating list table. Props rovo89. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16118 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 13:52:35 +00:00
scribu
7db59a9a89
Fix regression introduced by [16096]. Props duck_. See #14415
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16105 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 22:41:52 +00:00
Andrew Nacin
310a9b04d2
Move code out of the conditional. props duck_, fixes #14415 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16104 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 18:21:23 +00:00
scribu
68d5bd05df
Optimize menu item creation. Props filosofo. Fixes #14415
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16096 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 00:13:45 +00:00
Andrew Nacin
8db82e5ea1
Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
scribu
14d6d39a72
Remove dead 'delete-link-cat' ajax handler. See #12285
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15963 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 01:16:08 +00:00
Andrew Nacin
49589001bb
Commit the rest of [15955]. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15956 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:58:25 +00:00
Andrew Nacin
6f05802a40
Shuffle list-table files. First pass. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15954 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 00:12:41 +00:00
Andrew Nacin
f34a8de8ec
Internal linking, first pass. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin
617945e60c
Update via ajax the sample output of custom date/times on options-general. fixes #12636 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15757 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 03:29:57 +00:00
scribu
2e97d45693
WP_Terms_Table cleanup:
...
* use column_*() methods
* remove $taxonomy argument from single_row()
* don't calculate tag full name in admin-ajax.php
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15632 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:30:53 +00:00
scribu
82b8a56920
WP_Comments_Table cleanup:
...
* use column_*() methods
* remove extra arguments from single_row()
* introduce derived class WP_Post_Comments_Table for handling the post metabox comments
* use $pending_count property instead of $_comment_pending_count global
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15630 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:46:29 +00:00
Andrew Nacin
32661cca41
Don't try to load WP in admin-ajax if we have no action to take.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15606 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 17:02:55 +00:00
Andrew Nacin
af29b5d5cf
phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +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
36d2fff18d
Fix the comment type dropdown. Fixes #14637
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15513 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:43:32 +00:00
scribu
316ce57342
Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15512 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:18:41 +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
9805f3a4b0
Fix Comments meta box in post editing screen. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15497 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:58:49 +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
c5c084c42f
Small, subtle fixes. See #14596
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15493 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:15:31 +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
85394e795e
More curses on PHP 5.0.5. see #13757 , fixes #14160 . for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00