Commit Graph

15874 Commits

Author SHA1 Message Date
ryan c68f7ef382 Add some nonce checks to the uploaders. Props duck_. For 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:32:01 +00:00
nacin b6d689386b Remove two out of date strings from network contextual help. see #16988 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 18:01:30 +00:00
nacin 4dd235d1e3 3.1.1 beta 1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 21:13:38 +00:00
azaozz c1315f1aa1 Fix position of submenus when showing avatar, props johnjamesjacoby, see #16667 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:33:30 +00:00
azaozz 15629d2e5f Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for 3.1.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:13:53 +00:00
ryan e0c7538280 Parse the meta query again if query vars change. Set a global query_vars_changed flag instead of doing multiple hash creation calls. Props greuben. see #16742 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 16:08:02 +00:00
dd32 ff7a775638 Reinstate [15462] for 3.1; Prevents canonical redirects for custom rewrite rules for taxonomies. See #16627
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 01:18:41 +00:00
ryan 000c091b09 Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 19:58:03 +00:00
ryan 1e995c979b Don't die for failed db connects during install. Props westi. fixes #16640 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 17:47:20 +00:00
ryan b2c412ebcc Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:43:16 +00:00
ryan 4e71b1a011 Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:36:20 +00:00
ryan 852860648d Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:28:09 +00:00
ryan b5528f516d Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:07:50 +00:00
nacin 0f785851c8 Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 18:47:36 +00:00
markjaquith 9168d77a75 Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 04:25:40 +00:00
markjaquith fbff9bf162 Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:47:25 +00:00
markjaquith 946a00ceb0 Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:41:10 +00:00
markjaquith fc28e3f83f Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:19:20 +00:00
ryan 5e09c87f1d Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:56:43 +00:00
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