Commit Graph

7680 Commits

Author SHA1 Message Date
scribu 1d3a1c1460 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
Andrew Nacin 3a3d660a6e I have CDO. see #15779.
git-svn-id: https://develop.svn.wordpress.org/trunk@16910 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:25:11 +00:00
Andrew Nacin 12da6006e0 Ensure the map_meta_cap filter receives the right cap when the map_meta_cap flag is false. fixes #15779.
git-svn-id: https://develop.svn.wordpress.org/trunk@16909 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:22:32 +00:00
Dion Hulse 01a2da49e1 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: https://develop.svn.wordpress.org/trunk@16907 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 10:15:31 +00:00
Pete Mall 44db2effda Ensure correct HTTP status code is returned. Props nacin, fixes #15799
git-svn-id: https://develop.svn.wordpress.org/trunk@16906 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:38:01 +00:00
Dion Hulse d1b78e5309 Other piece of r16904. Limit variable string searching when possible. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16905 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:35:48 +00:00
Dion Hulse c6f239ae68 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:31:33 +00:00
Ryan Boren b77d52752a Make classes global. Props JohnONolan. fixes #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16902 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:53:26 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Ryan Boren 00f652341f s/default/standard/ for post format slug.
git-svn-id: https://develop.svn.wordpress.org/trunk@16898 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 20:50:10 +00:00
Ryan Boren 5003828f16 Admin bar sprite cleanups. Props ocean90, darrenmeehan. see #15611
git-svn-id: https://develop.svn.wordpress.org/trunk@16897 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 20:35:28 +00:00
scribu 63e3c4430e Always set groupby when a tax query is involved. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16894 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 15:15:58 +00:00
scribu cbe9f7f3a0 Always call WP_Tax_Query::get_sql(). Fixes #15797
git-svn-id: https://develop.svn.wordpress.org/trunk@16893 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 15:11:02 +00:00
scribu 223dfd3468 Slight logic tweak to [16889]. See #14123
git-svn-id: https://develop.svn.wordpress.org/trunk@16890 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 11:44:53 +00:00
scribu b0384203fa Prevent redundant wp_usermeta JOIN on single-site installs. See #14123
git-svn-id: https://develop.svn.wordpress.org/trunk@16889 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 11:41:00 +00:00
scribu b514837458 Re-index categories in get_the_category(). Props greuben. Fixes #15442
git-svn-id: https://develop.svn.wordpress.org/trunk@16888 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 20:32:29 +00:00
scribu 06622f69ba Set both column header sorting arrows. Props batmoo. Fixes #15480
git-svn-id: https://develop.svn.wordpress.org/trunk@16887 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 20:21:58 +00:00
scribu 09ee8c5c47 Set $wp_query->tax_query earlier. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16886 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 16:38:51 +00:00
Andrew Nacin 86af64c60a Oh hai, haven't seen you in a while.
git-svn-id: https://develop.svn.wordpress.org/trunk@16885 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 11:12:16 +00:00
scribu 619a8a8cff Don't set query flags in parse_tax_query(). See #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16880 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 15:20:52 +00:00
scribu accc855bdc Remove excess comments from url_to_postid(). See #15771
git-svn-id: https://develop.svn.wordpress.org/trunk@16878 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:28:36 +00:00
scribu 9c1dd77de9 Use is_singular in url_to_postid(). See #15771
git-svn-id: https://develop.svn.wordpress.org/trunk@16877 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:25:02 +00:00
Andrew Nacin dfb1f77e3b Use the blue background in the HTML editor, same as the visual editor. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16876 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:04:37 +00:00
Andrew Nacin 10b2d9bf40 More admin bar styling improvements. Includes RTL fixes. Don't show redundant 'search' value. props ocean90, see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16875 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 08:54:41 +00:00
Andrew Nacin bbbfee7e7f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16874 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 08:41:48 +00:00
Dion Hulse d2842aac53 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: https://develop.svn.wordpress.org/trunk@16873 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 07:17:50 +00:00
Dion Hulse 416efb62b4 Check to see if WP_Query has returned any posts before blindly accessing posts. Fixes #15771
git-svn-id: https://develop.svn.wordpress.org/trunk@16872 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 06:35:47 +00:00
Dion Hulse 4c11a459f9 Coding Standards clean-up, Variable typo fix ($errstr), Svn property correction. See #10588
git-svn-id: https://develop.svn.wordpress.org/trunk@16871 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 05:51:49 +00:00
Andrew Nacin 41d4279b66 use_default_gallery_style boolean filter and new gallery-columns-* class. see #15103.
git-svn-id: https://develop.svn.wordpress.org/trunk@16865 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:15:37 +00:00
Andrew Nacin 63357b507a wp-caption-text class for the gallery shortcode caption. props chipbennett, fixes #14411.
git-svn-id: https://develop.svn.wordpress.org/trunk@16864 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:05:50 +00:00
Ryan Boren 62f76f6efa jQuery UI 1.8.7. Props demetris. fixes #15766
git-svn-id: https://develop.svn.wordpress.org/trunk@16863 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:02:53 +00:00
Andrew Nacin ad424075f1 Admin bar script/style improvements. props ocean90, see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16862 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 18:47:21 +00:00
Ryan Boren 181ab7185a like_escape() search string. see #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16858 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 15:57:48 +00:00
scribu ab5cd7a4f5 Inline docs for WP_Tax_Query. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16854 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 08:20:46 +00:00
scribu ea0d5bf166 Fix notice in get_queried_object(). See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16853 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 07:51:04 +00:00
Andrew Nacin 83d896d013 Admin bar CSS cleaning. props ocean90, see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16852 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 04:01:16 +00:00
scribu 5da70bad87 Always have a WP_Tax_Query instance, to prevent notices. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16851 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:42:25 +00:00
scribu 77f5f54ff7 Correct relation var and PHP4 constructor. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16850 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:36:33 +00:00
scribu 85a176fe8f Introduce WP_Tax_Query. Fix canonical redirects in the process. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16849 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:29:21 +00:00
Ryan Boren a239d692a7 Go back to sanitize_user() so that dots are allowed. Props ocean90. see #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@16848 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:29:00 +00:00
Andrew Nacin 0979c21ab0 Make get_header_image() ssl-aware. fixes #14835.
git-svn-id: https://develop.svn.wordpress.org/trunk@16846 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:59:35 +00:00
scribu 1527d28dca False advertising is bad. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16845 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:19:23 +00:00
scribu a2387d8907 Proper check for tax query, which will never be empty, due to 'relation'. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16844 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:09:42 +00:00
scribu a5cb537970 Set tax query defaults earlier, for notice prevention and convenience. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16843 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:05:40 +00:00
Pete Mall df562b62f4 Kill blog specific menus from admin-bar in net admin. Fixes #15754
git-svn-id: https://develop.svn.wordpress.org/trunk@16842 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:55:09 +00:00
Andrew Nacin 8aa42566e8 Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: https://develop.svn.wordpress.org/trunk@16840 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:29:08 +00:00
Andrew Nacin b4d1885aee Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: https://develop.svn.wordpress.org/trunk@16839 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:27:53 +00:00
Andrew Nacin abd3871510 Use correct query var. see #15378.
git-svn-id: https://develop.svn.wordpress.org/trunk@16837 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 14:23:54 +00:00
Andrew Nacin f384fe3e81 _get_post_ancestors() in Walker_Page. props layotte, fixes #14329.
git-svn-id: https://develop.svn.wordpress.org/trunk@16834 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 12:38:23 +00:00
scribu 005b2e5be1 Make get_term_by() use sanitize_title_for_query() too. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@16832 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 10:05:19 +00:00