Commit Graph

309 Commits

Author SHA1 Message Date
ryan
65f14e4fd3 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: http://svn.automattic.com/wordpress/trunk@17080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 13:30:39 +00:00
ryan
7e25e3b363 Add like_escape() to some queries. fixes #15764
git-svn-id: http://svn.automattic.com/wordpress/trunk@16999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 14:22:41 +00:00
nacin
a189f21c45 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: http://svn.automattic.com/wordpress/trunk@16992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:18:28 +00:00
nacin
117be6ae19 Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:48:16 +00:00
ryan
dfce49cf02 Fix notice in ajax response. Props garyc40. fixes #15810
git-svn-id: http://svn.automattic.com/wordpress/trunk@16914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 15:07:43 +00:00
scribu
92a73b942e Fix Parent dropdown after creating a category. Props Utkarsh, garyc40. Fixes #15194
git-svn-id: http://svn.automattic.com/wordpress/trunk@16884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 10:29:19 +00:00
nacin
1dd324451f Use assign_terms cap for tag search and tag cloud in admin ajax. fixes #15437.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:59:25 +00:00
nacin
8d9cf65725 s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:30:21 +00:00
scribu
6eff593e14 Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
scribu
90a0e069e9 Set current screen for comment quick-edit. Props batmoo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 09:34:21 +00:00
nacin
8233e4f6b5 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: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00
nacin
485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin
3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
ryan
847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
nacin
bd638424fc set_post_thumbnail(). fixes #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:59:25 +00:00
scribu
e1c3e15de4 Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:19:45 +00:00
scribu
f4bc56dc8a Fix inline term editing. See #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:08:25 +00:00
westi
3e1e19a477 Chop this off as we don't need it anymore. Fixes #13960 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 14:10:59 +00:00
scribu
266a71eb7d Fix admin comment reply. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 23:07:37 +00:00
westi
2cd45b9938 Fix typo. See #15336 props Utkarsh.
Also actually correctly cast to boolean :-)

git-svn-id: http://svn.automattic.com/wordpress/trunk@16234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 10:21:34 +00:00
westi
f7641e08fe Fix typo. See #15336 props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 09:15:47 +00:00
westi
80adf4829f Ensure that booleans are booleans for now. See #15336.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 08:16:28 +00:00
westi
ee291ef5a5 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: http://svn.automattic.com/wordpress/trunk@16221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 09:41:03 +00:00
westi
fb004d24be Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:40:27 +00:00
westi
5e90c5d1c3 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: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
scribu
3ded7f7c68 complete the renaming. props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 22:06:45 +00:00
westi
ad92d629d6 The big renaming of the list-table class files.
See #14579

git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:19:50 +00:00
scribu
82305ba20a Set $current_screen before creating list table. Props rovo89. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 13:52:35 +00:00
scribu
26a0767138 Fix regression introduced by [16096]. Props duck_. See #14415
git-svn-id: http://svn.automattic.com/wordpress/trunk@16105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 22:41:52 +00:00
nacin
a512dbefb2 Move code out of the conditional. props duck_, fixes #14415.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 18:21:23 +00:00
scribu
089a7226f1 Optimize menu item creation. Props filosofo. Fixes #14415
git-svn-id: http://svn.automattic.com/wordpress/trunk@16096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 00:13:45 +00:00
nacin
05fde90357 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 10:46:24 +00:00
scribu
497335778b Remove dead 'delete-link-cat' ajax handler. See #12285
git-svn-id: http://svn.automattic.com/wordpress/trunk@15963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 01:16:08 +00:00
nacin
48d8763734 Commit the rest of [15955]. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 02:58:25 +00:00
nacin
f448471380 Shuffle list-table files. First pass. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 00:12:41 +00:00
nacin
a583da8c45 Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 02:58:42 +00:00
nacin
b0c538b9f1 Update via ajax the sample output of custom date/times on options-general. fixes #12636.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 03:29:57 +00:00
scribu
a3bcc7c63c 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: http://svn.automattic.com/wordpress/trunk@15632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:30:53 +00:00
scribu
ce723858c2 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: http://svn.automattic.com/wordpress/trunk@15630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 17:46:29 +00:00
nacin
f8c8df4f8b Don't try to load WP in admin-ajax if we have no action to take.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-10 17:02:55 +00:00
nacin
15bc341696 phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 02:45:39 +00:00
scribu
75219a5110 Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 00:51:44 +00:00
scribu
cae0e969ce replace $table with $wp_list_table. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 11:22:46 +00:00
scribu
fce15d1f2c Fix the comment type dropdown. Fixes #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:43:32 +00:00
scribu
1b2fa98e2a Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:18:41 +00:00
scribu
071746cc11 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 22:26:22 +00:00
scribu
b921471dea Fix Comments meta box in post editing screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:58:49 +00:00
scribu
c6056827ed Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu
11ffaae225 Small, subtle fixes. See #14596
git-svn-id: http://svn.automattic.com/wordpress/trunk@15493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 00:15:31 +00:00
scribu
020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00