Commit Graph

321 Commits

Author SHA1 Message Date
ryan
81a5f821fb Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
nacin
351b6ce13e Move output buffering out of a loop, collapsing it into one buffer. props mitchoyoshitaka, fixes #17352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:50:53 +00:00
azaozz
b3a5a78607 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: http://svn.automattic.com/wordpress/trunk@17832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 04:56:00 +00:00
markjaquith
87f06616a7 A few "login" used as a verb fixes. props xibe. fixes #17335
git-svn-id: http://svn.automattic.com/wordpress/trunk@17831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 03:26:23 +00:00
azaozz
258a8f6844 Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:01:34 +00:00
azaozz
e4bf0a4e78 Fix two rare regressions: alert when the login has expires and when post is edited by another user, fixes #16928
git-svn-id: http://svn.automattic.com/wordpress/trunk@17640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-16 02:37:44 +00:00
ryan
862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
nacin
0fff0819e0 s/get_list_table/_get_list_table/ in admin-ajax. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-18 11:06:22 +00:00
ryan
8dbe915535 Strip and prepare ajax tag search string. Avoids applying slashes toward the character count. Props brianlayman. see #13580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:15:25 +00:00
nacin
6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
ryan
85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
ryan
edc2f694ad Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 19:03:43 +00:00
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