Commit Graph

7881 Commits

Author SHA1 Message Date
Ryan Boren
8109449e0b RTL for wplink. Props ocean90. see #15864
git-svn-id: https://develop.svn.wordpress.org/trunk@17105 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 20:19:56 +00:00
Mark Jaquith
40bc6b43c1 Remove overly broad CSS rule. fixes #15913
git-svn-id: https://develop.svn.wordpress.org/trunk@17104 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:46:39 +00:00
Ryan Boren
34ef8c8df9 Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
661e41e55b Retrieve only IDs and then do a user fetch loop so that all required user data is present. Props scribu. fixes #15888
git-svn-id: https://develop.svn.wordpress.org/trunk@17100 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 16:27:34 +00:00
Mark Jaquith
135bd083a4 Translate post format term names on the fly. props mfields. fixes #15899
git-svn-id: https://develop.svn.wordpress.org/trunk@17092 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 21:59:16 +00:00
Ryan Boren
0987e3430f Add default for who arg. see #15871
git-svn-id: https://develop.svn.wordpress.org/trunk@17091 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 19:02:44 +00:00
Ryan Boren
1f3ea01d78 List table spinner. Props scribu. see #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@17090 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 18:45:05 +00:00
Ryan Boren
034024021a Comment reply and quick edit js fixes. Props garyc40. fixes #15908
git-svn-id: https://develop.svn.wordpress.org/trunk@17089 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:53:50 +00:00
Ryan Boren
aca2b86eaf Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: https://develop.svn.wordpress.org/trunk@17088 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:25:39 +00:00
Andrew Nacin
dd449b12cc Minify plugin-install.js. see #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17087 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:48:19 +00:00
Ryan Boren
76e77b1790 Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17084 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:25:35 +00:00
Andrew Nacin
15efc0fa0a Clarify the _doing_it_wrong message for conditioanl tags. init prevents the fatal error, but the query still isn't run. Just drop the mention of a hook and we end up with better reasoning why this doesn't work to boot. see #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17083 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:21:42 +00:00
Andrew Nacin
ed9ce46089 Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Ryan Boren
3df8f3d4a5 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17080 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 13:30:39 +00:00
Ryan Boren
75028c8b48 @since additions and updates. Props demetris. fixes #15867
git-svn-id: https://develop.svn.wordpress.org/trunk@17079 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:49:18 +00:00
Ryan Boren
c460268d15 Check is_network in the screen object for AJAX requests. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17077 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:57:25 +00:00
Ryan Boren
2423095bc1 Relocate isset check. Props TobiasBg, SergeyBiryukov. fixes #15041
git-svn-id: https://develop.svn.wordpress.org/trunk@17076 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:41:08 +00:00
Andrew Nacin
1df12424d1 Don't let the screen options text escape the box. props ohanesian, fixes #15329.
git-svn-id: https://develop.svn.wordpress.org/trunk@17075 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:06:54 +00:00
Andrew Nacin
9dd606211b Call comment_type() without arguments that way 'Comment' is translated internally with context. fixes #15798.
git-svn-id: https://develop.svn.wordpress.org/trunk@17074 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:44:14 +00:00
Andrew Nacin
23339857e5 Docs for get_post_format_slugs(). props demetris, fixes #15867.
git-svn-id: https://develop.svn.wordpress.org/trunk@17073 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:22:06 +00:00
Andrew Nacin
18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin
9a5687bdfd Don't fatal error when conditional tags are called before init. fixes #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17068 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:17:52 +00:00
Andrew Nacin
28604faac7 Have 'My Sites' in admin bar actually link to my-sites.php. props ocean90, fixes #15900.
git-svn-id: https://develop.svn.wordpress.org/trunk@17067 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:52 +00:00
Andrew Nacin
d8871ce771 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
Andrew Nacin
9aaa805cfb Thorough CSS reset of the admin bar to avoid theme conflicts. props ocean90, JohnONolan, filosofo, duck_. fixes #15851.
git-svn-id: https://develop.svn.wordpress.org/trunk@17064 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:11:24 +00:00
Ryan Boren
99bd388ef3 Fix guid generation for page auto drafts. Props shawnparker. fixes #15041
git-svn-id: https://develop.svn.wordpress.org/trunk@17061 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 14:42:17 +00:00
Peter Westwood
b334556bbf Less ugly show_admin_bar() enforcement. Fixes #15869 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@17057 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 09:54:13 +00:00
Andrew Nacin
f660585656 Allow dfault post format selections. fixes #15882.
git-svn-id: https://develop.svn.wordpress.org/trunk@17056 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:36:11 +00:00
Dion Hulse
17c58ec609 Revert debug cruft from r17052. See #15885
git-svn-id: https://develop.svn.wordpress.org/trunk@17053 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:58:09 +00:00
Dion Hulse
e2024b81fc Fix Pings/Trackback comment table filter. Props greuben. Fixes #15885
git-svn-id: https://develop.svn.wordpress.org/trunk@17052 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:55:46 +00:00
Andrew Nacin
e3c2e17aee Don't limit total_users. props scribu, fixes #15479.
git-svn-id: https://develop.svn.wordpress.org/trunk@17034 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 22:07:26 +00:00
Ryan Boren
bf811456b4 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
Mark Jaquith
3373f98da0 Strip partial name= parameters when doing canonical redirection on them with default permalinks. props filosofo. fixes #15775
git-svn-id: https://develop.svn.wordpress.org/trunk@17031 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 20:57:03 +00:00
Mark Jaquith
381f8eeed1 Do not add URL query args twice in certain Canonical Redirect situations. Use add_query_arg(). props filosofo. fixes #15774
git-svn-id: https://develop.svn.wordpress.org/trunk@17030 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 20:23:34 +00:00
Andrew Nacin
537d726a7c Make get_the_taxonomies() take an array of arguments. props scribu, fixes #14740.
git-svn-id: https://develop.svn.wordpress.org/trunk@17028 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 16:33:16 +00:00
scribu
e58993fe2e Disable sorting by post count for now. See #15861
git-svn-id: https://develop.svn.wordpress.org/trunk@17024 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 10:25:27 +00:00
Peter Westwood
373ed6ae4e -- bad white space part deux
git-svn-id: https://develop.svn.wordpress.org/trunk@17023 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:42:37 +00:00
Peter Westwood
ee16fbfe00 -- bad white space
git-svn-id: https://develop.svn.wordpress.org/trunk@17022 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:40:15 +00:00
Peter Westwood
99aa874270 Ensure show_admin_bar( false ) works after init. Fixes #15856.
git-svn-id: https://develop.svn.wordpress.org/trunk@17021 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:34:36 +00:00
Peter Westwood
6853258d19 If we are previewing don't show the admin bar. See #15856
git-svn-id: https://develop.svn.wordpress.org/trunk@17020 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:32:53 +00:00
Andrew Nacin
5ee410fd40 NULL isn't set.
git-svn-id: https://develop.svn.wordpress.org/trunk@17019 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:32:43 +00:00
Andrew Nacin
1f6ecacf22 More admin bar css reset. props JohnONolan, see #15851.
git-svn-id: https://develop.svn.wordpress.org/trunk@17017 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 04:51:14 +00:00
scribu
e452616f40 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17013 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:38:15 +00:00
scribu
08ffc2d291 Get only required fields in wp_getAuthors(). Props duck_. See #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17011 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 23:43:24 +00:00
Ryan Boren
748f5f0154 phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 22:46:13 +00:00
Ryan Boren
d56880f092 Revert [16987]. This pollutes home and siteurl during signup and blog creation. see #14867
git-svn-id: https://develop.svn.wordpress.org/trunk@17005 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:48:00 +00:00
scribu
c9c1be7e78 Remove placeholder row when adding first term. See #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17003 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:13:47 +00:00
scribu
96e692baed Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17002 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:05:14 +00:00
Ryan Boren
de072fe02a Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Ryan Boren
c561de13d4 Add jquery and utils dependencies for editor js. Props JohnPBloch, jczorkmid. fixes #15830
git-svn-id: https://develop.svn.wordpress.org/trunk@17000 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:23:54 +00:00
Ryan Boren
c1e26ef82c Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Peter Westwood
b8d51ca378 Bumpity Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@16997 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 11:32:08 +00:00
Andrew Nacin
4db50ee643 The user description field should be esc_textarea when context is edit. see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@16995 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 10:04:21 +00:00
Andrew Nacin
541c45ba0e Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Mark Jaquith
dda708677e Use ENT_QUOTES in esc_textarea() in case someone uses it in a value='' situation by accident. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16993 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:24:22 +00:00
Andrew Nacin
8c7a9647fc Add scheme arguments to get_blogaddress_by_domain and get_blogaddress_by_id. props adambackstrom for initial patch, fixes #14867.
git-svn-id: https://develop.svn.wordpress.org/trunk@16987 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:58:57 +00:00
Andrew Nacin
3653bb7926 Use maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Andrew Nacin
8cf8f3380c maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16977 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:06:59 +00:00
scribu
c12c44db5e Fetch only the required field in wp_dropdown_users(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@16974 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 23:56:53 +00:00
Andrew Nacin
98aac89317 Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00
Pete Mall
a02674aebc Move search results text in site-themes/site-users. Props sorich87, ocean90. Fixes #15553
git-svn-id: https://develop.svn.wordpress.org/trunk@16961 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:32:25 +00:00
Peter Westwood
c80789036e Allow a plugin to filter our slugs if it wants to. Fixes #15726
git-svn-id: https://develop.svn.wordpress.org/trunk@16960 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:56:25 +00:00
Andrew Nacin
a653754287 Add theme_mods option if is_admin. props MarkJaquith, fixes #14828.
git-svn-id: https://develop.svn.wordpress.org/trunk@16958 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:39:00 +00:00
Ryan Boren
700374e0b0 Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723
git-svn-id: https://develop.svn.wordpress.org/trunk@16957 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:33:02 +00:00
Andrew Nacin
0c8e238e6c Add user_nicename, nicename, ID to WP_User_Query orderby. props duck_, fixes #15816.
git-svn-id: https://develop.svn.wordpress.org/trunk@16956 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:18:04 +00:00
Andrew Nacin
51396e1e89 _doing_it_wrong takes three arguments. fixes #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16955 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:14:25 +00:00
Andrew Nacin
2a44684f3e s/site/user/ if signup doesn't have a domain attached. props wpmuguru, fixes #15780.
git-svn-id: https://develop.svn.wordpress.org/trunk@16954 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:09:26 +00:00
Andrew Nacin
598bb9952a Allow actual DB fields in WP_User_Query orderby. props duck, see #15816.
git-svn-id: https://develop.svn.wordpress.org/trunk@16953 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:51:38 +00:00
Andrew Nacin
26e0e1ab6f Admin bar blogname handling improvements. Kill visible property vestige. props ocean90, fixes #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16952 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:48:06 +00:00
Andrew Nacin
c4ffd06f66 Inline doc fixes for get_next|previous|adjacent_post. props kawauso, fixes #15822.
git-svn-id: https://develop.svn.wordpress.org/trunk@16951 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:45:14 +00:00
Andrew Nacin
778b91c128 TinyMCE 3.3.9.3-dev. fixes #15111.
git-svn-id: https://develop.svn.wordpress.org/trunk@16950 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:09:43 +00:00
Ryan Boren
b04abefc26 Skip confirmation email fixes. Props ocean90, duck_. see #15725
git-svn-id: https://develop.svn.wordpress.org/trunk@16949 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:04:19 +00:00
Peter Westwood
905ec5fb30 Ultimate make_clickable. Fixes #14993 props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@16948 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 13:43:30 +00:00
Andrew Nacin
e3fce95343 You are doing it wrong in query.php. see #15824, see #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@16947 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:21:27 +00:00
Andrew Nacin
0b37b225a1 Grammar and spelling. see #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16946 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:09:53 +00:00
Andrew Nacin
bdacc3985a Move _doing_it_wrong to other debug functions. Modify docs and the output message. see #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16945 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:06:39 +00:00
Peter Westwood
70f4c32dcb Clear both in the right now widget so it clears nicely when there are extra comment statuses added. Fixes #14985 props doktorbro.
git-svn-id: https://develop.svn.wordpress.org/trunk@16943 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:52:38 +00:00
Peter Westwood
a95a5b65cc Better message text to reflect that it might not just be an incorrect argument but maybe your calling something way too early. See #15824
git-svn-id: https://develop.svn.wordpress.org/trunk@16942 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:39:23 +00:00
Peter Westwood
3b1748b60d Zap the extra * props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@16941 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:34:52 +00:00
Peter Westwood
26f81c3629 Switch to _doing_it_wrong(). See #15824
git-svn-id: https://develop.svn.wordpress.org/trunk@16940 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:31:00 +00:00
Peter Westwood
052f67d71f Introduce _doing_it_wrong(). See #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16939 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:29:50 +00:00
Andrew Nacin
4904a251a5 Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: https://develop.svn.wordpress.org/trunk@16938 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:27:38 +00:00
scribu
510942bbfb Limit height only to iframe body. Fixes #15679
git-svn-id: https://develop.svn.wordpress.org/trunk@16937 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 10:39:50 +00:00
Peter Westwood
95f478f057 Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@16936 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 09:16:15 +00:00
Peter Westwood
2caeab48f0 Give the Logout menu item the correct parent so it appears when we have avatars as well as when we don't. Fixes #15611 props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@16934 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 08:38:49 +00:00
Ryan Boren
c5f37f3001 Internal linking IE tweaks. Props koopersmith. see #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@16933 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 03:13:10 +00:00
Ryan Boren
0155728ba5 Beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@16932 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:37:46 +00:00
Ryan Boren
5df71d4669 Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@16931 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:36:24 +00:00
Andrew Nacin
a6eda30d3b Fix nesting of parentheses. fixes #14995, props duck_, jakub.misek.
git-svn-id: https://develop.svn.wordpress.org/trunk@16929 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:51:13 +00:00
Andrew Nacin
be843f53d8 Remove redundancy. see #14288.
git-svn-id: https://develop.svn.wordpress.org/trunk@16928 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:47:09 +00:00
Ryan Boren
9a4d1e4c30 Pink trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@16927 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:38:38 +00:00
Ryan Boren
4d85c3a424 Pink trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@16926 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:37:04 +00:00
Andrew Nacin
8b6cf91dc9 Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712, props greuben.
git-svn-id: https://develop.svn.wordpress.org/trunk@16925 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:19:47 +00:00
Andrew Nacin
70b6bbcfa8 Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712.
git-svn-id: https://develop.svn.wordpress.org/trunk@16924 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:17:49 +00:00
Andrew Nacin
dc821cedbf Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16922 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 17:58:47 +00:00
Mark Jaquith
176075ba48 Fix canonical paged/feed redirects. props rfw. fixes #14288
git-svn-id: https://develop.svn.wordpress.org/trunk@16920 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:55:35 +00:00
Mark Jaquith
595bc10419 Add WP Rewrite root to front of add_permastruct() call when adding a taxonomy. fixes #15813
git-svn-id: https://develop.svn.wordpress.org/trunk@16918 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:28:16 +00:00
Ryan Boren
5945f381fc Honor defaults in wp_dropdown_users(). Props duck_. fixes #15791
git-svn-id: https://develop.svn.wordpress.org/trunk@16916 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:19:08 +00:00
Ryan Boren
ccd108bd5e Honor the page template when a page is the home page but not also the front page. Props filosofo. fixes #15513
git-svn-id: https://develop.svn.wordpress.org/trunk@16915 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 15:45:19 +00:00
Andrew Nacin
4ebfb979b1 Fix admin bar styling when no avatars are in use. props ocean90, see #15611.
git-svn-id: https://develop.svn.wordpress.org/trunk@16913 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 13:42:56 +00:00
Andrew Nacin
306bf053a6 Pass args to nav_menu_css_class filter. props scribu, fixes #15808.
git-svn-id: https://develop.svn.wordpress.org/trunk@16912 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 13:25:07 +00:00
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