Commit Graph

15818 Commits

Author SHA1 Message Date
ryan d6470f75fa Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:14:00 +00:00
ryan 3caaeccf2c Return early if list is not an array. Props nacin. fixes #16499 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:07:12 +00:00
nacin 33caf4df41 Akismet 2.5.3 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 10:04:18 +00:00
nacin 5dc0aa23e0 Bump.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-08 21:09:10 +00:00
nacin 964bb8bd91 Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-08 20:18:04 +00:00
ryan f0ff1d9226 RC4
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 23:01:26 +00:00
markjaquith 91f95cb5a1 Skip authors that no longer exist when doing an export. props nacin. fixes #16479 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 20:08:18 +00:00
ryan e9522e5f75 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:20:10 +00:00
markjaquith eb81c1524f A little escaping paranoia, just to be safe. (Already sanitized, higher up). for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:11:45 +00:00
ryan 69ee1b0bcf Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 19:19:31 +00:00
ryan c3cd991ba1 Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 18:37:58 +00:00
markjaquith c290c81b1a Do not use PHP5-only array_combine. props duck_. see #16459 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:46:15 +00:00
ryan 8559a5f1a3 Preserve tag escaping. Props koopersmith, Nils Jueneman. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:31:48 +00:00
ryan fe1823622a Properly encode the post title. Props koopersmith, nacin. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:27:19 +00:00
markjaquith 0180311c0f No translation for post format slugs. Too fragile for the future. fixes #16459 for 3.1 branch
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:25:03 +00:00
ryan ca11f54e4c Add cap and type checks to media item fetch. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:24:05 +00:00
markjaquith f658bc1cc3 Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:42:10 +00:00
ryan 8fdfe5aa1c Remove debug cruft. Props markmcwilliams. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:02:15 +00:00
markjaquith 286f033442 Remove unused/non-functional code with old-style CSRF checking. see #16499
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 07:23:17 +00:00
markjaquith a815c789d7 restore_current_blog() in add_user_to_blog() and remove_user_from_blog() before early return, to avoid being stuck in a switched state. props mdawaffe. fixes #16444 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 00:17:35 +00:00
markjaquith dc3a5b3c8c Remove admin bar CSS cruft that darkened the bar in RTL languages. props ocean90. fixes #16427 for 3.1 branch
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-01 01:47:00 +00:00
nacin 93886c8280 Bump.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 17:29:03 +00:00
nacin 6aaa33cee0 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 14:44:33 +00:00
markjaquith 94c578613f Branching for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-30 20:45:59 +00:00
nacin 277be4ce51 Use array_intersec_assoc. props duck_, fixes #16378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 19:37:38 +00:00
ryan f2feff7453 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@17368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 15:18:22 +00:00
ryan 186e70bcca Use get_dashboard_url() to redirect to the active blog if the user doesn't have access to the current blog. fixes #16297
git-svn-id: http://svn.automattic.com/wordpress/trunk@17367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-26 16:35:04 +00:00
westi 9400a59207 Don't redirect continually on empty search results pages. Fixes #16357 props garyc40
git-svn-id: http://svn.automattic.com/wordpress/trunk@17366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-26 09:56:17 +00:00
ryan 3d90dfb160 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 20:04:24 +00:00
ryan b2bf441bb1 Fix theme filtering when no JS. Props dd32. fixes #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@17364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 20:00:42 +00:00
ryan 011cc6550e Add name to reassign user dropdown. Props nacin. fixes #16361
git-svn-id: http://svn.automattic.com/wordpress/trunk@17363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:36:50 +00:00
ryan 75641ee14a Fix redirects for trashed post bulk ops. Props nacin, SergeyBiryukov. fixes #16355
git-svn-id: http://svn.automattic.com/wordpress/trunk@17362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:30:24 +00:00
ryan b345e996c7 Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:20:20 +00:00
ryan 4ffa4e4f4e Don't pass deprecated arg to update_blog_status(). Props PeteMall. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@17360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 17:39:10 +00:00
westi 5268a0e7d8 Fix the bulk actions on Network > Sites and Network > Users. Fixes #16364
git-svn-id: http://svn.automattic.com/wordpress/trunk@17359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 14:34:41 +00:00
markjaquith 8e98240a80 Get is_post_type_archive( 'my-post-type' ) working properly outside of the loop. props bit4. fixes #16347
git-svn-id: http://svn.automattic.com/wordpress/trunk@17358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 21:15:50 +00:00
markjaquith 4603a50cae Revert [16832]. see #9591. fixes #16282
git-svn-id: http://svn.automattic.com/wordpress/trunk@17357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 06:26:38 +00:00
markjaquith 7cb71c46d5 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: http://svn.automattic.com/wordpress/trunk@17356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 04:16:55 +00:00
nacin 7c2102556c RC3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:50:23 +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 34358d9a42 Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:36:54 +00:00
nacin 45828057ed doaction buttons don't need a name, only an ID. fixes #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:31:35 +00:00
ryan 8249212f7d Don't try to redirect to user admin for unpriv users unless a site admin redirect was requested. fixes #16297
git-svn-id: http://svn.automattic.com/wordpress/trunk@17351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:29:43 +00:00
nacin a1d3c1c62a Global comment_type in WP_Comments_List_Table::prepare_items(). props jorbin, fixes #16344.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:27:04 +00:00
nacin 19efd03fe8 Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:25:32 +00:00
ryan a0b442ede7 Admin bar RTL fixes. Props ocean90. fixes #16340
git-svn-id: http://svn.automattic.com/wordpress/trunk@17348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 13:40:58 +00:00
ryan 498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
ryan 9d0ec2454f jQuery UI 1.8.9. Props demetris. fixes #16331
git-svn-id: http://svn.automattic.com/wordpress/trunk@17346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 02:30:03 +00:00
ryan e9d62d1f01 From post back to get. Props SergeyBiryukov. fixes #16335
git-svn-id: http://svn.automattic.com/wordpress/trunk@17345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 01:31:21 +00:00
markjaquith 47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00