Commit Graph

7677 Commits

Author SHA1 Message Date
dd32 9c4b151ba2 Restore pre-3.1 "Status:" header handling for IIS in wp_redirect. Revist in 3.2 to see if it's still required. Fixes #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 10:15:31 +00:00
PeteMall 800443d208 Ensure correct HTTP status code is returned. Props nacin, fixes #15799
git-svn-id: http://svn.automattic.com/wordpress/trunk@16906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:38:01 +00:00
dd32 99337166eb Other piece of r16904. Limit variable string searching when possible. See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:35:48 +00:00
dd32 20e1171ae8 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:31:33 +00:00
ryan 49ae9c8b6e Make classes global. Props JohnONolan. fixes #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:53:26 +00:00
ryan 3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
ryan dea20dd26b s/default/standard/ for post format slug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 20:50:10 +00:00
ryan cd009bb900 Admin bar sprite cleanups. Props ocean90, darrenmeehan. see #15611
git-svn-id: http://svn.automattic.com/wordpress/trunk@16897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 20:35:28 +00:00
scribu 6114b7403c Always set groupby when a tax query is involved. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 15:15:58 +00:00
scribu 0aaef4b1ad Always call WP_Tax_Query::get_sql(). Fixes #15797
git-svn-id: http://svn.automattic.com/wordpress/trunk@16893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 15:11:02 +00:00
scribu 6552004a1a Slight logic tweak to [16889]. See #14123
git-svn-id: http://svn.automattic.com/wordpress/trunk@16890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 11:44:53 +00:00
scribu 75478abd5c Prevent redundant wp_usermeta JOIN on single-site installs. See #14123
git-svn-id: http://svn.automattic.com/wordpress/trunk@16889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 11:41:00 +00:00
scribu 244ad8dd17 Re-index categories in get_the_category(). Props greuben. Fixes #15442
git-svn-id: http://svn.automattic.com/wordpress/trunk@16888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 20:32:29 +00:00
scribu ccd9189ca4 Set both column header sorting arrows. Props batmoo. Fixes #15480
git-svn-id: http://svn.automattic.com/wordpress/trunk@16887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 20:21:58 +00:00
scribu 91812fa4a7 Set $wp_query->tax_query earlier. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 16:38:51 +00:00
nacin e201fbbbc0 Oh hai, haven't seen you in a while.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 11:12:16 +00:00
scribu cd02eb7f3f Don't set query flags in parse_tax_query(). See #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 15:20:52 +00:00
scribu ff33f41daf Remove excess comments from url_to_postid(). See #15771
git-svn-id: http://svn.automattic.com/wordpress/trunk@16878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:28:36 +00:00
scribu 5bc9f1051c Use is_singular in url_to_postid(). See #15771
git-svn-id: http://svn.automattic.com/wordpress/trunk@16877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:25:02 +00:00
nacin bbbf5dcff5 Use the blue background in the HTML editor, same as the visual editor. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:04:37 +00:00
nacin 86e44f1050 More admin bar styling improvements. Includes RTL fixes. Don't show redundant 'search' value. props ocean90, see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 08:54:41 +00:00
nacin e384bd8c2f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 08:41:48 +00:00
dd32 566f62b824 Include a blank email to prevent a PHP notice when pingbacks are being added, causes XML-RPC responses to be malformed with WP_DEBUG.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 07:17:50 +00:00
dd32 bc8dc99e43 Check to see if WP_Query has returned any posts before blindly accessing posts. Fixes #15771
git-svn-id: http://svn.automattic.com/wordpress/trunk@16872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 06:35:47 +00:00
dd32 3d4b847fbb Coding Standards clean-up, Variable typo fix ($errstr), Svn property correction. See #10588
git-svn-id: http://svn.automattic.com/wordpress/trunk@16871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 05:51:49 +00:00
nacin 96b5c58ec2 use_default_gallery_style boolean filter and new gallery-columns-* class. see #15103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:15:37 +00:00
nacin 951549bf93 wp-caption-text class for the gallery shortcode caption. props chipbennett, fixes #14411.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:05:50 +00:00
ryan 3fa8398525 jQuery UI 1.8.7. Props demetris. fixes #15766
git-svn-id: http://svn.automattic.com/wordpress/trunk@16863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:02:53 +00:00
nacin 4e386b29ce Admin bar script/style improvements. props ocean90, see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 18:47:21 +00:00
ryan 3f98ecf721 like_escape() search string. see #15764
git-svn-id: http://svn.automattic.com/wordpress/trunk@16858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 15:57:48 +00:00
scribu cc34c8aef4 Inline docs for WP_Tax_Query. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 08:20:46 +00:00
scribu ffb54b11c2 Fix notice in get_queried_object(). See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 07:51:04 +00:00
nacin 4b48cc1624 Admin bar CSS cleaning. props ocean90, see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 04:01:16 +00:00
scribu ce9b9a9e78 Always have a WP_Tax_Query instance, to prevent notices. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:42:25 +00:00
scribu 6f9d098c9b Correct relation var and PHP4 constructor. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:36:33 +00:00
scribu e5690e7ebe Introduce WP_Tax_Query. Fix canonical redirects in the process. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:29:21 +00:00
ryan 3ed654c847 Go back to sanitize_user() so that dots are allowed. Props ocean90. see #14910
git-svn-id: http://svn.automattic.com/wordpress/trunk@16848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:29:00 +00:00
nacin 0036c52101 Make get_header_image() ssl-aware. fixes #14835.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:59:35 +00:00
scribu 5fd4580daa False advertising is bad. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:19:23 +00:00
scribu 905f5bf810 Proper check for tax query, which will never be empty, due to 'relation'. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:09:42 +00:00
scribu e11b831338 Set tax query defaults earlier, for notice prevention and convenience. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:05:40 +00:00
PeteMall c22bf34978 Kill blog specific menus from admin-bar in net admin. Fixes #15754
git-svn-id: http://svn.automattic.com/wordpress/trunk@16842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:55:09 +00:00
nacin b3c96b9bcd Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:29:08 +00:00
nacin 746655175a Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:27:53 +00:00
nacin 5aafa64e34 Use correct query var. see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 14:23:54 +00:00
nacin 5c88aa5e8e _get_post_ancestors() in Walker_Page. props layotte, fixes #14329.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 12:38:23 +00:00
scribu 8ba8d20f16 Make get_term_by() use sanitize_title_for_query() too. See #9591
git-svn-id: http://svn.automattic.com/wordpress/trunk@16832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 10:05:19 +00:00
scribu 474c3f0672 Clarify is_single() inline doc. Fixes #14034
git-svn-id: http://svn.automattic.com/wordpress/trunk@16830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 05:27:37 +00:00
scribu 7af05b685c Correct get_file_data() inline doc. Fixes #14071
git-svn-id: http://svn.automattic.com/wordpress/trunk@16828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 03:30:23 +00:00
nacin 6a83feb219 Remove post_type_supports check from register_post_type caps all together. fixes #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 22:07:29 +00:00