Commit Graph

15375 Commits

Author SHA1 Message Date
Peter Westwood
30eae8ee5c Add cap checks. do the action in php. See #15793
git-svn-id: https://develop.svn.wordpress.org/trunk@16892 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 12:08:27 +00:00
Peter Westwood
f76d96c609 Add some filters and an action to make this more flexible for plugin extension / modification. See #15793.
git-svn-id: https://develop.svn.wordpress.org/trunk@16891 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 11:58:49 +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
1f570675c1 Fix Parent dropdown after creating a category. Props Utkarsh, garyc40. Fixes #15194
git-svn-id: https://develop.svn.wordpress.org/trunk@16884 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 10:29:19 +00:00
Mark Jaquith
589ccc5ac7 Mark Twenty Ten as GPL per new theme directory guidelines. props pross. fixes #15632
git-svn-id: https://develop.svn.wordpress.org/trunk@16883 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 07:02:18 +00:00
Dion Hulse
3fcf08fe17 Add missing global for r16881 See #15781
git-svn-id: https://develop.svn.wordpress.org/trunk@16882 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 06:40:52 +00:00
Dion Hulse
81e923a291 Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
git-svn-id: https://develop.svn.wordpress.org/trunk@16881 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 05:43:35 +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
Peter Westwood
721f2b01cf Fix row hilighting when user is spam. See #15558 props beaulebens.
git-svn-id: https://develop.svn.wordpress.org/trunk@16879 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:40:49 +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
3ce701f9f3 Don't clear saved username in wp_attempt_focus. props JohnPBloch, wojtek.szkutnik. fixes #14031.
git-svn-id: https://develop.svn.wordpress.org/trunk@16870 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 04:59:49 +00:00
Andrew Nacin
82c7adaec6 Utilize gallery-columns-# classes in Twenty Ten. props ianstewart, lancewillett. fixes #15103.
git-svn-id: https://develop.svn.wordpress.org/trunk@16869 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 04:05:32 +00:00
scribu
3f5f212ffb Don't show search box if there are no items available. See #15353
git-svn-id: https://develop.svn.wordpress.org/trunk@16868 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 20:22:34 +00:00
potbot
aa21762023 POT, generated from r16866
git-svn-id: https://develop.svn.wordpress.org/trunk@16867 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 20:21:45 +00:00
Andrew Nacin
468bab05a7 Deprecate twentyten_remove_gallery_css in favor of the use_default_gallery_style filter. see #15103.
git-svn-id: https://develop.svn.wordpress.org/trunk@16866 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:27:12 +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
scribu
4d7afd30fa Don't show search box if there are no themes available. See #15353
git-svn-id: https://develop.svn.wordpress.org/trunk@16861 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 18:40:48 +00:00
Andrew Nacin
acdd0eff66 IFRAME_REQUEST for network/update.php. props duck_, see #15724.
git-svn-id: https://develop.svn.wordpress.org/trunk@16860 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 18:25:18 +00:00
Ryan Boren
1bbc935dec Lose last-blog-admin-visited. Figure out a better way in 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@16859 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 17:25:04 +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
Ryan Boren
523a810530 Add retro gravatar option. Props beaulebens. fixes #15759
git-svn-id: https://develop.svn.wordpress.org/trunk@16857 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 14:50:43 +00:00
scribu
13055dfc1a Remove unnecessary comments. See #15416
git-svn-id: https://develop.svn.wordpress.org/trunk@16856 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 08:55:17 +00:00
scribu
70e3fbe1e8 Redirect to correct page after bulk action for posts and comments. Props garyc40. Fixes #15416
git-svn-id: https://develop.svn.wordpress.org/trunk@16855 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 08:49:16 +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
3ebb27ae3e Always exit after wp_redirect. props filosofo, fixes #15518.
git-svn-id: https://develop.svn.wordpress.org/trunk@16847 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 18:02:54 +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