15855 Commits

Author SHA1 Message Date
ryan
db890f3ef9 Don't show admin bar on login screen. Props nacin. fixes #16588 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:49:14 +00:00
ryan
1c704a2db8 Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:07:06 +00:00
ryan
60e0ec7adb Don't perform taxonomy queries for single post requests. Props scribu. fixes #16703 for trunk
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:02:12 +00:00
ryan
7149f70a81 Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 21:54:48 +00:00
ryan
b24da574e1 Don't double process the tag query var. Props scribu. fixes #16730 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-03 16:11:26 +00:00
ryan
011b0bd2b0 Do not do canonical redirects for unregistered feeds. fixes #16704 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-03 15:56:08 +00:00
nacin
2bac601ee9 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 18:35:19 +00:00
markjaquith
05759ee9ca Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 17:30:10 +00:00
ryan
fdf0a096db Do not perform canonical redirects for IISto avoid redirect loops on some IIS setups. fixes #16639 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 15:33:42 +00:00
ryan
bb2e880429 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 15:02:17 +00:00
markjaquith
f7d54d04e0 Reparse the taxonomy query if query vars change. fixes #16622 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 04:10:53 +00:00
markjaquith
0fad424d88 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-23 14:45:33 +00:00
markjaquith
662ff0ce80 Also mention compressed scripts
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 22:36:58 +00:00
nacin
af09e49ba4 Avoid printf entirely. props SergeyBiryukov, fixes #16611 for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 10:13:03 +00:00
potbot
5c29dc99c0 POT, generated from r17478
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 08:27:36 +00:00
nacin
e0be5a74dd Back compat with the gallery_style filter in Twenty Ten. fixes #16610 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 08:23:11 +00:00
nacin
ff64d344f3 Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 04:25:11 +00:00
ryan
68b6a2813d 3.0 compat for twentyten. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 20:10:47 +00:00
markjaquith
cd5bc88945 Make a written offer pointing to a central WordPress.org URL for obtaining the source to any binary programs included in WordPress, instead of relying on third party sites. Include the MIT license file that the swfupload project omitted from their codebase. fixes #16517 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 19:39:57 +00:00
nacin
46c2bc99bf Ensure we're matching the complete theme directory when excluding parent templates from the theme editor. props chrisbliss18, fixes #16607 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 18:55:48 +00:00
ryan
861d81ad6c Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-17 01:31:56 +00:00
nacin
a18b9d8970 Bump.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 19:38:39 +00:00
ryan
7c25c2160d Lose create_function() in links_add_target() and links_add_base_url(). esc_attr() the target to provide extra coverage for plugins. Props Justin Rainbow, nacin. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 19:24:45 +00:00
ryan
d5cd365c06 Don't allow changing the post type. Props nacin. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 18:58:40 +00:00
ryan
4425fc362e Use ->query instead of . Always kick off the parse_query action. fixes #16545 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 16:27:03 +00:00
ryan
7e22be1283 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 00:00:16 +00:00
ryan
1f56cc0d04 Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 23:58:42 +00:00
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