Commit Graph

15878 Commits

Author SHA1 Message Date
ryan c4289622f3 Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 03:46:47 +00:00
nacin 14ca237999 s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-14 22:56:15 +00:00
markjaquith 4d159aec4b Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-13 14:44:36 +00:00
ryan 519cc6a295 Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 21:49:30 +00:00
ryan 5c8e92822b Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:41:56 +00:00
ryan 8dd892a91b Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:38:04 +00:00
ryan 0b2f08609e Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:19:02 +00:00
ryan 1981ec619b Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:36:23 +00:00
nacin cd8259fa5d Cleanup crew.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:10 +00:00
ryan 64a20e2a11 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:30:46 +00:00
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