westi
465026255f
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: http://svn.automattic.com/wordpress/trunk@16942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:39:23 +00:00
westi
4207e8fa19
Zap the extra * props duck_
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:34:52 +00:00
westi
167df97e81
Switch to _doing_it_wrong(). See #15824
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:31:00 +00:00
westi
ed33168add
Introduce _doing_it_wrong(). See #15824 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:29:50 +00:00
nacin
844636bf1c
Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:27:38 +00:00
scribu
87c95d40f8
Limit height only to iframe body. Fixes #15679
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 10:39:50 +00:00
westi
bb27a217a5
Bumpity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 09:16:15 +00:00
westi
cd582d3a24
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: http://svn.automattic.com/wordpress/trunk@16934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 08:38:49 +00:00
ryan
51bc3b0529
Internal linking IE tweaks. Props koopersmith. see #15739
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 03:13:10 +00:00
ryan
9cfba9d139
Beta2
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:37:46 +00:00
ryan
7f88c122ea
Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:36:24 +00:00
nacin
5c4e3256fc
Fix nesting of parentheses. fixes #14995 , props duck_, jakub.misek.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:51:13 +00:00
nacin
dd82562191
Remove redundancy. see #14288 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:47:09 +00:00
ryan
ec858cde06
Pink trailing whites
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:38:38 +00:00
ryan
0e072f2dd7
Pink trailing whites
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:37:04 +00:00
nacin
e4698ba1be
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: http://svn.automattic.com/wordpress/trunk@16925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:19:47 +00:00
nacin
3efc0738b6
Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:17:49 +00:00
nacin
f4c1734b60
Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 17:58:47 +00:00
markjaquith
eb94b43e3c
Fix canonical paged/feed redirects. props rfw. fixes #14288
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:55:35 +00:00
markjaquith
15ebb1f893
Add WP Rewrite root to front of add_permastruct() call when adding a taxonomy. fixes #15813
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:28:16 +00:00
ryan
010b2f1eef
Honor defaults in wp_dropdown_users(). Props duck_. fixes #15791
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:19:08 +00:00
ryan
14b8509961
Honor the page template when a page is the home page but not also the front page. Props filosofo. fixes #15513
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 15:45:19 +00:00
nacin
79c35059ce
Fix admin bar styling when no avatars are in use. props ocean90, see #15611 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 13:42:56 +00:00
nacin
caf0ec965e
Pass args to nav_menu_css_class filter. props scribu, fixes #15808 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 13:25:07 +00:00
scribu
e6d0e7a509
Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:53:31 +00:00
nacin
9845ee1fcd
I have CDO. see #15779 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:25:11 +00:00
nacin
cd51624aba
Ensure the map_meta_cap filter receives the right cap when the map_meta_cap flag is false. fixes #15779 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:22:32 +00:00
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
markjaquith
e0e9dbb8eb
Work around some unset variable notices in xmlrpc.php. props redsweater. props sorich87. fixes #10665
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 22:00:40 +00:00
ryan
83d1c0bf29
Use santize_key() in more places. Props WraithKenny. fixes #14910
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:32:19 +00:00
nacin
62364410c0
Include the username in the incorrect password message, for clarity. fixes #14575 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:25:52 +00:00
markjaquith
c1a0cf30c3
Do not store empty _wp_old_slug values. fixes #15736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:22:16 +00:00
markjaquith
298c858c5b
Use is_page_type_hierarchical(). props nacin. see #15140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:17:01 +00:00
markjaquith
218867ff3c
Do not do slug logging/redirects for hierarchical post types. see #15140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:10:38 +00:00
nacin
fdb3b09a99
Fix closing admin menu animation. props filosofo, fixes #15615 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:51:22 +00:00
nacin
e000cbf83a
Better reset for ul and li in the admin bar. props duck_, fixes #15727 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:39:49 +00:00
nacin
224e703d8e
Define all margins for the admin bar input. props chrisbliss18, fixes #15216 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:38:27 +00:00
nacin
a773f692ba
s/method_exists/is_callable/. props hakre, fixes #14933 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:27:49 +00:00
ryan
071c5dff0d
Remove stripslashes(). No longer needed. Props RogerTheriault. fixes #12560
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:25:18 +00:00
westi
fe92a01932
Correct the logic as there is no publish_post cap.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 17:07:55 +00:00
westi
b3bc43ab49
Check for extra caps here too.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:52:08 +00:00
westi
38d526d196
Correct some more cap checks to use the correct caps.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:18:42 +00:00
westi
d9b7e7cf81
Condense the logic. Props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:59:56 +00:00
westi
183e561585
Ensure that we always check the right cap when posts are added or edited.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:31:17 +00:00
dd32
5cce49e2b7
Enable canonical redirections for Permalink suporting IIS. Props peaceablewhale See #10187
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 11:04:40 +00:00
nacin
13a9058319
Close a quote. see #15308 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:49:56 +00:00
scribu
b624542cc5
Revert logic change made in [16789]. See #13818
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:15:09 +00:00
scribu
39d0718bff
Set queried object on CPT archives. Fixes #15730
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:57:38 +00:00
nacin
2be192c80e
Admin bar styling improvements.
...
* Ensure there isn't a text shadow for update and comment counts.
* Hide zero count of pending comments via PHP, not CSS.
* Show the update title attribute across the entire menu item, props demetris.
* Let the CSS breathe a little.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:50:24 +00:00
nacin
611f511e0f
Don't show blurry text shadow in the admin bar count. props demetris, fixes #15308 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:28:15 +00:00
scribu
2fd70020ea
Use has_archive in get_post_type_archive_link(). See #13818
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:51:40 +00:00
nacin
35b4860563
Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:12:44 +00:00
nacin
0a61447061
Use pagination base for CPT archives. props scribu, fixes #15728 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:02:52 +00:00
nacin
440671b932
Initialize this variable.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 01:03:12 +00:00
nacin
69ca141a66
Handle posts without titles better in internal linking. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:22:43 +00:00
ryan
693f828149
Don't show Suspend/Unsuspend links for the main site on the admin bar. Props ocean90. fixes #15669
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:11:19 +00:00
nacin
c697ff4926
Initialize a variable. props kapeels for initial patch. fixes #15703 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:55:13 +00:00
ryan
4cfb079fc5
Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:32:07 +00:00
ryan
5ce0d9cb7a
Apply wp_get_attachment_url to empty urls. Props filosofo. fixes #15494
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:16:21 +00:00
nacin
26d7de2d93
We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:17:06 +00:00
nacin
09e076b152
Remove unnecessary space. props demetris, JohnPBloch. fixes #12797 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 22:56:47 +00:00
ryan
daaed10ca0
Add jquery-ui-sortable dependency to nav-menu. fixes #15622
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:57:09 +00:00
nacin
a64b107868
This should be a string. fixes #15704 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:32:25 +00:00
nacin
e03399c715
Fix handling of no titles and long titles in internal linking. see #11240 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:28:06 +00:00
scribu
f4c63d53aa
Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:24:05 +00:00
nacin
4dd3b77b48
Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:41:19 +00:00
nacin
fde64e232f
Restore bottom padding in plugin rows. fixes #15547 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:15:09 +00:00
nacin
140c4c5606
Flush these left.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 04:51:52 +00:00
markjaquith
0c10eec60c
Highlight home page Custom Nav Menu item even when extra query args are present in the URL (only if all other highlights fail). props filosofo. fixes #13994
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:54:57 +00:00
markjaquith
5cfe6c81cc
Fix up the PHPdoc for get_file_data(). props hakre. fixes #14071
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:44:36 +00:00
markjaquith
7290e527e7
Pass post ID to embed_oembed_html filter to avoid global variable incantations. props filosofo. fixes #15491
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:38:27 +00:00
markjaquith
7b83e5082e
Remove some unused CSS. props ocean90. fixes #15696
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:37:03 +00:00
markjaquith
4fbc3224d5
Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:35:33 +00:00
nacin
a8962d02f8
Please test beta one / More fixes are on the way / Beta two next up
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 05:06:14 +00:00
nacin
42394406c1
Check that ancestors are not the currently queried objects in nav menu classes. props filosofo, fixes #14518 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 04:29:56 +00:00
nacin
d0098e51bb
Unescape ampersands before making an oEmbed request. props Viper007Bond, fixes #14514 , see #11311 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 02:23:17 +00:00
markjaquith
9cb7a9b837
We know approximately how tall the QuickPress box will be. Let's reduce the amount of UI twitchiness as it async loads!
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 23:31:01 +00:00
nacin
2d90cdddfe
Things that go bump in the night
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 11:13:47 +00:00
westi
cd767d889e
Revert [16719] until it has has UI review. See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 11:01:23 +00:00
nacin
4e2fb85913
Introduce remove_editor_styles(). fixes #14903 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 10:09:00 +00:00
nacin
373a66db0f
Introduce remove_custom_background(). see #14903 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 09:59:35 +00:00
scribu
2e2ac55ced
Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 09:01:23 +00:00
nacin
f3c57e9940
Don't use orange as an on state. Also, restore zero margin on the filename header. fixes #15672 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:18:27 +00:00
nacin
c7fe205805
Don't even show parent theme files when viewing the child theme. see #15672 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 03:52:59 +00:00
nacin
72958d1c53
Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 22:53:01 +00:00
nacin
47cfe8dd05
Post format indexes. First pass. see #15378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 10:13:17 +00:00
westi
e69d948ca4
Revert [16649] - The core output on this is for logged out users only - need to rework this if we want to move the output. See #14510
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 09:44:17 +00:00
nacin
8d9cf65725
s/occured/occurred/. props aldenta, fixes #15653 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:30:21 +00:00
nacin
562c038e71
Remove sticky arg from post support. props michaelh, see #12702 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:16:04 +00:00
markjaquith
74f17e9850
Fix typo in PHPdoc. props PeteMall.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 22:56:55 +00:00
markjaquith
df1887a81a
Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:45:47 +00:00
markjaquith
f2d1e78ec6
Add class to Tag Cloud widget div. props djzone. fixes #12602
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:28:17 +00:00
markjaquith
9edf7af6b4
Another s/default/standard/. see #15582
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:24:41 +00:00
westi
1df7f1be64
Revert [16279] - the recursive nature of this regex doesn't play well with stack space. See #14993
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 17:26:06 +00:00
westi
57fca2acf3
Clean the cache when deleting a term. Fixes #15651
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 17:10:02 +00:00
scribu
3b5707c4be
Add note about wp_next_scheduled() in wp_schedule_event(). See #14668
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 16:27:16 +00:00
westi
3640dfb0db
Restore the fix with to the Create New User form fields. Fixes #15642 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 09:55:13 +00:00
markjaquith
b608e8ca3e
Argh. Missed another s/default/standard/ in [16679]. Any others? see #15582 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:38:42 +00:00
markjaquith
e98e5b094b
Missed a s/default/standard/ in [16679]. props PeteMall. see #15582 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:36:00 +00:00
markjaquith
a1b12eb6e5
Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:20:48 +00:00
markjaquith
e7140d23cb
The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 03:19:14 +00:00
markjaquith
ff7ac5a045
Move Post Format UI out of Publish meta box and into its own box. see #15638
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 02:42:38 +00:00
nacin
831ffc5483
Return true if not is_admin. Tidy. see #14903 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:50:23 +00:00
nacin
efe850aa42
Introduce remove_custom_image_header(). see #14903 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:16:35 +00:00
ryan
0eeb985ef2
Deprecate and ignore the refresh arg. fixes #15605
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 22:12:09 +00:00
markjaquith
3a7b4b71d4
Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:48:52 +00:00
markjaquith
5b37b224f8
Throw WP_Error if post_type passed to register_post_type() is longer than schema allows. props phrostypoison. fixes #13709
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:43:39 +00:00
scribu
57d6d72d2f
Remove archaic reference return in get_children(). Props filosofo. Fixes #12372
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:23:57 +00:00
scribu
0c8a8c3655
Get rid of misplaced 'taxonomy_template' filter. Fixes #14740
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:16:24 +00:00
ryan
a9e5cc0817
Hide Extra-Long admin bar text. Props filosofo. fixes #15412
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:14:52 +00:00
ryan
1b72cb22a4
Prevent default post formats from entering the DB. see #15629 #15582
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:03:39 +00:00
ryan
3f72e340d6
Update since phpdoc. Props demetris. fixes #15445
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
scribu
5e43a0760b
Make image edit labels more concise. Props lloydbudd. Fixes #13613
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:40:15 +00:00
ryan
ce490df051
Export filtering. Props duck_. fixes #15197
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:21:58 +00:00
ryan
a031db170f
Fix comment_notes_before. Props mrmist. fixes #14510
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:52:32 +00:00
ryan
b7d3ba8db8
Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:51:31 +00:00
scribu
2d2dea8fa2
Validate pagination input. Props batmoo. See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 06:02:19 +00:00
markjaquith
a0bc51f8d8
Use prepare() instead of addslashes(). props wpmuguru.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 01:51:32 +00:00
nacin
bd0a73d083
Bump.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 23:38:22 +00:00
markjaquith
b246fdf17f
Drop pingback/trackback blogroll whitelisting feature. Too many ways to abuse it. props avereha. props vladimir_kolesnikov. fixes #13887 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 22:46:35 +00:00
ryan
2911ff8ec3
Add bump down for menu bar. Allow themes to add a custom bump callback. Props ocean90. fixes #15592
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 21:50:57 +00:00
PeteMall
f4e8cf9bb6
Address redirection loop with multiple networks and network admin. Props mwidmann, fixes #15591
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:45:40 +00:00
ryan
e1bb824b25
Prepare properly. Props Vladimir Kolesnikov.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:04:11 +00:00
scribu
6eff593e14
Get rid of in favor of . Fixes #15607 . See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
scribu
d171e12580
Update URL when performing ajaxified action. See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 18:57:33 +00:00
nbachiyski
368eefd69c
comments_number() doesn't need to call get_the_ID(), because get_comments_number() does it if post ID is missing
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 17:34:43 +00:00
nbachiyski
442de36663
Add New string fixes. Fixes #15577
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:54:06 +00:00
ryan
9d8b8ace88
Default Add New menu link to first post type in list. Avoids empty href issues. see #15308
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:16:29 +00:00
ryan
3342a5b4c0
Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it. Props ocean90. fixes #15597
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:07:32 +00:00
westi
d2bce97ced
Make the list of actions that can be performed on a site in the User List in Network admin filterable.
...
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 13:31:42 +00:00
nacin
e466bb9d65
Use get_user_count() if multisite in wp_version_check. props PeteMall, fixes #15599 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:27:01 +00:00
nacin
d0b26b2d43
Kill check_server_timer(). fixes #15602 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:16:24 +00:00
scribu
cbca4fd42a
Make bottom admin pagination scroll to the top after rows are updated. See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 19:05:12 +00:00
ryan
b1e7c513b7
Remove wp_admin_body_style(). Props ocean90. fixes #15507
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 22:05:54 +00:00
ryan
50cb4c26c6
Admin bar phpdoc update. Props filosofo. fixes #15418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:51:12 +00:00
ryan
d4a7589502
Super admin menu hover fix. Props filosofo. fixes #15524
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:47:28 +00:00
ryan
6dc6d9892f
Revert [16359]. Deal with it in 3.2. see #15361
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:38:38 +00:00
ryan
21650c59bc
Meta data caching improvements. Props mdawaffe. see #15545
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:35:26 +00:00
nbachiyski
9c6ba6387e
Add context to Add New admin bar menu label -- we have many other Add New
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 11:16:23 +00:00
scribu
3014920524
Make date columns first sort in descending order. See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 02:03:02 +00:00
nacin
37ce5d0c63
Post beta bump for tonight's build.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 19:02:06 +00:00
westi
fe18b7024f
Things go bump in the night.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 16:16:12 +00:00
scribu
6e2eae9736
Minor code beautification. Props hakre. Fixes #15569
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 02:14:33 +00:00
markjaquith
f23d5de358
Cast to array, to avoid notices. props hakre. fixes #14997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:34:22 +00:00
markjaquith
14be097d5e
Revert [15829] for now, consider better solution for 3.2. see #13550
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:25:26 +00:00
westi
b0d6453462
Cast to string so we return the correct datatype. See #15517 props barry.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 17:51:39 +00:00
ryan
43448dc471
Bump tinymce gz. see #15544
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 15:34:19 +00:00
westi
59c95ba48e
Let SimplePie do more of the date handling for us. Props rmccue.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 11:53:12 +00:00
scribu
42361800ad
Correct cache invalidation in update_usermeta() and delete_usermeta(). Props mdawaffe. Fixes #15559
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:47:52 +00:00
markjaquith
dc77ee14f8
Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:44:46 +00:00
ryan
86c173262f
Load network plugins for wp-activate.php. Restore MU load order. Props blamenacin. fixes #14718
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 00:19:38 +00:00
scribu
719b8d8f4a
Introduce 'relation' operator between tax queries. Props Otto42 for initial patch. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 20:22:27 +00:00
scribu
c891b0ebc7
Ajaxify theme feature filter. Props ocean90 for initial patch. See #14936
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 20:17:22 +00:00
scribu
3230b44f63
Make get_file_data() regex even more precise. Props hakre. See #15193
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 19:37:31 +00:00
ryan
104c9ed3d8
Make sure create_users is strippped from blog admins for multisite setups where add_new_users is not enabled. see #15357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 16:29:21 +00:00
scribu
d941809a3c
Remove debug cruft from [16543]. See #14590
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:49:23 +00:00
scribu
696bfb5fc6
Minor cleanup in queried object setting logic. See #14590
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:47:45 +00:00
nacin
53a2e0667e
Cast term_id to int for queried_object_id. props wojtek.szkutnik, fixes #14590 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:32:19 +00:00
scribu
5fa3c84fdb
Remove vestige code from theme.js. See #14936
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:06:15 +00:00
nacin
9134684d84
escape URL in wp_link_pages. fixes #14271 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 23:54:30 +00:00
scribu
f93ca9618a
Prevent notice when checking for hierarchical tax rewrite. Props demetris. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 21:56:20 +00:00
scribu
2ec0d0509e
Fix 'timeinfo' cache invalidation. Fixes #14922
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 21:45:45 +00:00
nacin
69b3167678
Revert [15688], [15689], [15691]. Try again in 3.2. see #14966 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
nacin
0d56b69953
Add the audio post format, the final format we plan to support. see #14746 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:05:14 +00:00
nacin
60685a399d
Yeah, about that comma... Fix internal linking for both IE6 and IE7. props koopersmith, fixes #15485 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 06:32:18 +00:00
scribu
06c1418787
Consider only IN tax queries when returning the queried object. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 05:14:47 +00:00
ryan
9f9c57934f
Bump tinymce version. see #15532
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 03:03:28 +00:00
ryan
42bb6c326a
Bring link dialog to front when TinyMCE is fullscreen. Props koopersmith. see #15532
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 02:48:58 +00:00
scribu
0a1d745a54
Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 16:33:05 +00:00
scribu
e3126350ce
Don't display search subtitle on themes page. Props ocean90. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 16:20:08 +00:00
nacin
c50bb5c082
Use correct name in script loader. see #14936 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 14:10:33 +00:00
scribu
24f00c889f
Update get_tax_sql() docblock. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 14:09:01 +00:00
nacin
72a354331b
Add a simple filter to allow removing the recent comments default widget styles. fixes #15493 , see #14876 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:55:11 +00:00
nacin
d30ef21e80
Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876 , #15493 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:48:35 +00:00
nacin
4d6e524d90
Escape the wrap ID and class attributes going into sprintf() and s/slug/wrap_id/ to make it more obvious. see #14235 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:37:09 +00:00
nacin
17a87ff30f
Introduce items_wrap arg to wp_nav_menu(). props filosofo, fixes #14235 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:32:02 +00:00
scribu
1f4da8bfc6
re-minify edit-comments.js. See #15504
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 22:03:54 +00:00
scribu
cbd4ea48ca
Don't do any taxonomy stuff if is_singular. See #15487
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:51:21 +00:00
ryan
66d34fa710
array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:43:19 +00:00
scribu
36658f37ca
Fix logic for when excluding a non-existant term. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:28:50 +00:00
ryan
44733f9635
If the queried term does not exist make sure no posts are returned in the query rather than falling through to querying all posts. Fixes 404s when querying cats that do not exist. see #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:10:20 +00:00
nacin
d29759048d
Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:27:12 +00:00
westi
1a0818d477
Ensure that we return post IDs as strings to honour API defintions. See #15517
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 15:50:56 +00:00
scribu
b21ec2cbd5
Remove debug cruft from [16505]. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 13:48:24 +00:00
scribu
7f59d20fb5
Don't set post_type to 'any' for category and tag queries. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 13:39:07 +00:00
westi
91a375041d
Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 12:01:15 +00:00
westi
0441736806
Add missing calls to convertEntities for js l10n
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 11:56:59 +00:00
nacin
384b75278c
IE8 fixes for internal linking. props koopersmith, see #15485 , see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 02:02:37 +00:00
ryan
1310eaa966
should not be an array of arrays. Props nickmomrik
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 23:58:29 +00:00
markjaquith
d1d83710e7
Do not set is_category/is_tax/is_tax for is_singular requests. props mtekk. fixes #15487
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 19:25:53 +00:00
nacin
f1b54c5029
Bump wplink.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 19:02:57 +00:00
ryan
39f72f982f
Fill http by default. Props koopersmith. see #11420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:59:43 +00:00
ryan
203079e963
Clear fields on refresh. Props koopersmith. see #11420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:54:03 +00:00
ryan
ad499c6131
wplink IE fixes. Props koopersmith. see #15485
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:49:12 +00:00
ryan
42ce1825ac
Remove debug cruft.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 17:10:35 +00:00
ryan
0b37bd0b6d
Populate post term relationship cache in get_the_terms(). Restores caching lost when we moved away from get_the_category(). see #15407
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 17:09:21 +00:00
scribu
8ab7aafec4
Use event delegation in wp-lists.js. Fixes #15488
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 16:11:56 +00:00
josephscott
43ff5a69a8
Expose post format details in XML-RPC:
...
- New method: wp.getPostFormats
- New field in methods dealing with posts: wp_post_format
props ericmann, fixes #15405
git-svn-id: http://svn.automattic.com/wordpress/trunk@16484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 13:57:05 +00:00
scribu
7879bcaee5
Force GROUP BY when there's a tax query. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 09:17:59 +00:00
nacin
8233e4f6b5
Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00
ryan
7cb2ad6d3a
Return false if empty cat passed. Restores old behavior.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:06:48 +00:00
markjaquith
8cd425bf92
Use "default" as the key (not "0") for the default post format string in the translation array. props josephscott
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 04:32:33 +00:00
ryan
374cfa11b4
Link to edit profile screen within same admin if in network or user admin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 23:07:59 +00:00
scribu
762eca08ca
Fix user pagination. Props duck_. Fixes #15479
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 22:51:36 +00:00
scribu
d5b3719be8
Make entire sortable header clickable. Props batmoo. Fixes #15352
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 21:39:22 +00:00
nacin
0d7979ea9a
s/flush/flush_rules/ in a comment. fixes #15474 , props hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:21:54 +00:00
nacin
b8ce0261df
More param fixes, props duck_. see #14783 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:12:48 +00:00
nacin
a40a66dfe1
s/ui-dialog/wp-dialog/ in our dialog styles. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:07:59 +00:00
markjaquith
e2879c73fa
Exclude term exclusions even if they are also inclusions. props foofy, scribu. see #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:04:47 +00:00
scribu
d23ca4da48
Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 18:46:41 +00:00
ryan
9829892631
Script bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 14:23:05 +00:00
nacin
7a2af1c100
Second half of [16462]. props duck_. see #15308 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:51:50 +00:00
nacin
d32722275e
Clean up logic when selecting post types for the admin bar content drop-down. see #15308 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:01:07 +00:00
nacin
f9434dc3f6
Kill the background from the default jQuery UI dialog theme. We'll get this from .wp-dialog in the colors stylesheets. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:50:20 +00:00
nacin
d9b2230489
More svn add. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:20:19 +00:00
nacin
485daddde1
Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin
9820a48b54
Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:56:47 +00:00
nacin
3bb8ace4e2
Ludicrous speed for internal linking. First pass. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
nacin
31f08706f7
Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 04:29:27 +00:00
nacin
d37c4b0ebc
WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:34:28 +00:00
nacin
695644cc72
Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:19:08 +00:00
nacin
8ff32f52df
Add list_pages filter. props johnjamesjacoby, fixes #13668 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:23:05 +00:00
nacin
d397326116
When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:17:13 +00:00
ryan
c50cc5c57a
Pinking shears
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:48:27 +00:00
ryan
847499e531
Pinking shears
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
ryan
01a32c0af0
Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:25:42 +00:00
markjaquith
c8b4e1cf5d
admin-bar.js is stale. Bumping the version number.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:55:09 +00:00
markjaquith
3e53432b7b
Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:35:24 +00:00
markjaquith
78e63786d0
Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:21:45 +00:00
markjaquith
6482610f9a
esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
nacin
4beb3ab36e
get_tag_link and get_category_link can also return WP_Error. fixes #15449 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:10:50 +00:00
scribu
0921736b76
Differentiate between localized and raw total pages. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:03:27 +00:00
markjaquith
bbaa4eb8a1
The path goes INSIDE home_url(). fixes #15413
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:38:28 +00:00
ryan
a6cdc2dea4
Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:11:44 +00:00
scribu
a0e5b38765
Fix ambiguous column error. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 12:33:32 +00:00
nacin
e5f944a913
Don't check post_type_supports in map_meta_cap. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 06:21:34 +00:00
nacin
4fda3f791f
Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 04:52:01 +00:00
nacin
7b078d3b9b
Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 03:30:27 +00:00
scribu
275888f2e6
Re-introduce ->tax_query as a read-only var. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 02:04:08 +00:00
scribu
f58b21e69d
Optimize get_tax_sql(). See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 01:56:01 +00:00
scribu
d2a5add61a
Deprecate update_category_cache(). Fixes #15446
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:56:00 +00:00
nacin
de65e1f2f3
Fix arin whois link. props ozh. @todo consider its removal. see #15281 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:54:22 +00:00
scribu
8cf88a2e84
Minor get_meta_sql() cleanup. See #9124
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:27:34 +00:00
nacin
3f5b442306
Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:18:48 +00:00
nacin
200f550862
More updates to post.js. see [16248].
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:13:17 +00:00
nacin
c09b2e5b22
Improve internal linking river feedback. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 18:30:34 +00:00
azaozz
4002b79b7a
Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 17:30:18 +00:00
scribu
8b107e23f4
Revert [16402] outright. Causes issues with themes. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:36:20 +00:00
scribu
af6dbfde54
Revert taxonomy.php part of [16402]. Not fully backed yet. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:24:14 +00:00
scribu
690cd434d1
Don't pollute the 'tax_query' query var. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:22:09 +00:00
nacin
99f3141859
Use user_trailingslashit in get_author_posts_url(). fixes #15441 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:09:46 +00:00
scribu
aa0e750a9f
Update some @since tags. Props demetris. Fixes #15438
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 13:16:13 +00:00
nacin
2f107efd02
Internal linking functionality updates. Scrap pagination for a river of results. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 05:11:41 +00:00
nacin
16327a7dbb
Internal linking UI updates. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 04:25:14 +00:00
ryan
bbd70cabe7
Minify wplink js. see #11420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 01:21:18 +00:00
nacin
50ca771db7
Bump wplink version. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:47:22 +00:00
nacin
d042642802
Properly force variable to an array. props Viper007Bond, fixes #15407 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:19:51 +00:00
azaozz
c121aa0ae3
Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:57:27 +00:00
nacin
afcbc49e62
Next pass on internal linking. Functional, but needs styling. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:48:24 +00:00
nbachiyski
27200382fa
Fallback to only RTL attributes in wp_die()'s HTML tag if it's very early in the execution. Fixes #6132 . Props RanYanivHartstein and nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 20:13:05 +00:00
ryan
4b8b1bbbba
Minify wplink js. see #11420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:42:49 +00:00
ryan
ee8966d821
Auto focus URL field. see #11420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:40:34 +00:00
nacin
29203134cb
Sanity cast. see #15192 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:06:57 +00:00
nacin
bd638424fc
set_post_thumbnail(). fixes #15192 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:59:25 +00:00
nacin
c5aa88412a
capability_type = page and no custom caps should also kick on map_meta_cap. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:11:34 +00:00
scribu
e55bee786e
Revert [16384]. See #15433
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 15:23:04 +00:00
scribu
b20d93c69c
Ignore 'name' qv if 'p' qv is set. Fixes #15433
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 13:33:16 +00:00
scribu
9e939da4f3
Fix get_tax_sql() docs. Props Viper007Bond. Fixes #15431
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 11:24:55 +00:00
scribu
cc72395bbb
Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:51:39 +00:00
scribu
7cb5240bd6
Re-parse tax query just before calling get_tax_sql(). Fixes #15161
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:11:25 +00:00
scribu
2b58e241d0
Better error handling in get_meta_sql(). Props Viper007Bond. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:02:39 +00:00
westi
17d25e2cdc
Fix regression in wptexturize with single quotes when used for contraction. See #15241 props norbertm.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 08:52:36 +00:00
nacin
478186859b
Properly check, initialize, or cast a number of variables. props ChenHui. see #14642 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
scribu
14fa85ba94
Make submitted-on a class instead of an id. Fixes #15426
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:28:55 +00:00
scribu
a41a7b5b5b
Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
scribu
03dd41a0d2
Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
scribu
5ed4e6d260
Fix empty query vars being passed as 'true' instead of ''. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 00:48:30 +00:00
scribu
6b2aa2177f
Update doc for WP_Query::post. Fixes #15105
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:32:18 +00:00
scribu
5f0adf4d70
Use wp_start_object_cache() in switch_to_blog(). Props prettyboymp. Fixes #15361
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:11:50 +00:00
scribu
7640c5748b
Add colon after Upload/Insert. Fixes #14810
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:52:51 +00:00
scribu
9c4ab78301
Always apply comment_text filter in check_comment(). Props hakre. Fixes #14680
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:30:36 +00:00
scribu
40b2c5b6c5
Kill WP_Object_Query. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:32:43 +00:00
scribu
cd60463f36
Revert most of [16018]. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:26:15 +00:00
scribu
6267650ddd
Split get_search_sql(). See #15170 . See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:18:45 +00:00
scribu
4b927768fd
Prevent horizontal scrollbar. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:33:12 +00:00
nacin
134adb6ec1
Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:32:20 +00:00
scribu
e56413ae33
Add 'get_the_terms' filter. Props filosofo. Fixes #15410
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 14:08:27 +00:00
nacin
7b010efc77
Escape the class arg in wp_list_categories. props hakre, fixes #11514 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 11:06:26 +00:00
nacin
81a8f2d3ce
Use square brackets instead of braces for string access. props hakre, fixes #13900 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin
f6d1e9c634
Only a static class method or function can be used in an uninstall hook. props scribu, fixes #13786 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:45:57 +00:00
nacin
3ccfb56e3c
Set map_meta_cap to true when capability_type = post and no custom caps are specified. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 08:40:38 +00:00
westi
00b232ea51
Revert [16320] and [16321] for now. Breaks things
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 22:44:16 +00:00
westi
435c4c2dbf
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu
98cda5bd65
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
scribu
18116f12c6
Don't use deprecated category properties. Props filosofo. Fixes #15408
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 18:40:51 +00:00
nacin
3f7374b8e6
Self-close embed tag for googlevideo embed handler. props pross, fixes #14230 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:17:35 +00:00
nacin
fd4b0965f8
Only register post_format taxonomy to posts. see #15396 , #14746 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:58:58 +00:00
nacin
2ad9865886
Only mysql_free_result if we have a valid resource, and remove error suppression there. see #15402 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:40:43 +00:00
nacin
83fbd4e36b
Memory usage and execution improvements in wpdb. Store and work with resources directly, rather than full copies of results. Plugins which incorrectly used wpdb->last_result (a private property) will need to shift to wpdb->get_results() with no \$query. Magic getter is introduced for back compat when using PHP5. props joelhardi, fixes #12257 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:15:18 +00:00
nacin
96835b99d0
Use term cache in get_post_format() to save a boatload of queries. see #15396 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 09:49:34 +00:00
nacin
b80fc23177
jQuery 1.4.4. props demetris, fixes #15201 , #15227 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:13:11 +00:00
nacin
1478fb89f1
Typo fix. see #14424 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:04:34 +00:00
markjaquith
75d045de8e
Add checks for WP_Error. props ptahdunbar. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
markjaquith
6d78cf73f9
Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:05:33 +00:00
nacin
5f4a583fb1
Remove more create_function calls. props huichen, see #14424 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00
nacin
7ec4e83dc5
Remove old header/footer link active state. props dremeda, fixes #14487 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:17:11 +00:00
ryan
a071a3a1df
Admin bar fixes. Props ocean90. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 20:02:52 +00:00
ryan
5cef2ca0a6
Register admin menus against admin_bar_menu action to be consistent with other menu hooks. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 19:11:12 +00:00
ryan
e0aaecc573
Make the My Sites menu items use admin_url() instead of hardcoding the url. Props caesarsgrunt. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 18:48:38 +00:00
ryan
7440948514
phpdoc fixes. Props hakre. fixes #12526
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 17:02:14 +00:00
ryan
6304a38db7
Farbtastic 1.3u. Props flashingcursor. fixes #14707
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:34:22 +00:00
nacin
d974a35fb0
Don't notify the author when they posted or moderated the comment. fixes #12774 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:28:49 +00:00
ryan
3a4671f530
Prevent stomping of global. Props prettyboymp. fixes #13945
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:22:18 +00:00
ryan
c10218f665
Admin bar tweaks. Props filosofo. see #15308
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:19:25 +00:00
ryan
113d5e7529
Admin bar tweaks. Props filosofo. see #15308
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:19:14 +00:00
ryan
6ea5924298
Faster is_serialized(). Props duck_, hakre, Denis-de-Bernardy. see #14429
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:10:16 +00:00
ryan
0a1fa29fe2
Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:03:51 +00:00
westi
9acf6d451e
Don't show duff links if someone decides that they want the admin bar for all users - even those who are logged out.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 11:49:37 +00:00
westi
0027abcb1a
Strip back the stats in the memory based object cache to something less verbose and useless.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 10:55:06 +00:00
westi
58c936f7df
Link the shortlink button to the shortlink. Props caesarsgrunt see #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 10:24:56 +00:00
scribu
8885e4f78e
Add context to get_meta_sql(). See #15018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 10:06:05 +00:00
westi
ae213c99ca
Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 23:31:54 +00:00
westi
9e30ccd803
Add support for ID style classes in get_body_class(). Fixes #12397 props filosofo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 22:07:07 +00:00
westi
583ac68a44
Move the l10n helper function into a seperate js file so we can always output it first.
...
Fixes #15124 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@16282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 21:53:30 +00:00
westi
71fab5576a
Improved RegEx for quote matching in wptexturize. Fixes #4539 and #15241 props norbertm.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 19:23:57 +00:00
westi
2d09607167
Don't capture the pesky trailing punctuation. Fixes #14993 props filosofo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 17:47:46 +00:00
nacin
8b6cb32160
Ensure we have a valid post type object when checking for has_archive. props filosofo, fixes #15364 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 16:42:59 +00:00
ryan
d26a1aa4ef
Pass post ID to get_enclosed filter. Props willnorris. fixes #14018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 16:40:49 +00:00
ryan
6764a0c3fa
Admin bar hover fixes. Props filosofo. see #15307
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 16:19:55 +00:00
nacin
795ab6d0f3
Cripple capability_type. Produced inconsistent, janky meta cap mapping; now only acts as a capability base. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 14:50:14 +00:00
nacin
42fbeea783
Properly set up menu_name. We're handling it differently because it defaults off other labels. fixes #14832 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 00:42:43 +00:00
scribu
3cbc8ef308
Make get_tax_sql() a standalone function. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 23:30:35 +00:00
scribu
db1d9369eb
Make get_meta_sql() a standalone function. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 23:22:13 +00:00
ryan
d24a3cfe04
Always allow super admins to have create_users. see #15357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 21:45:06 +00:00
nacin
faa53fa488
Better better message.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 20:37:47 +00:00
ryan
8a62fb6cb5
Drop display_name from user search columns. It doesn't have an index. see #15170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 20:01:56 +00:00
scribu
e9952075ee
Allow mix of 'taxonomy' => 'foo', 'term' => 'bar' and 'foo2' => 'bar2'. Props filosofo. Fixes #15363
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 16:45:51 +00:00
scribu
3a7d16a308
Set 'operator' field. Fixes #15350 . See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 12:27:03 +00:00
westi
b14547df9b
Better message.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 10:45:30 +00:00
westi
fe28a9d18b
Switch the following XMLRPC api calls to support an optional number of posts.
...
blogger.getRecentPosts
metaWeblog.getRecentPosts
mt.getRecentPostTitles
git-svn-id: http://svn.automattic.com/wordpress/trunk@16256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 10:16:23 +00:00
westi
01c45f4bad
Mark the calling of wp_get_recent_posts() with just a count as deprecated - only use in core was from XMLRPC.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 10:14:38 +00:00
nacin
91d3b6bea9
Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 02:09:00 +00:00
nacin
c3b6ef86ea
Confirm that the queried term object is of the requested taxonomy in wp_list_categories. fixes #15347 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 01:20:38 +00:00
nacin
7e8670bb01
Merge two strings in JS, which were merged elsewhere some time ago.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:52:02 +00:00
ryan
f444adeba7
Resurrect nav-tab-wrapper. Lost in [16136]. see #15154
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 22:12:46 +00:00
westi
c95930fa12
Fix typo in error message. Props PeteMall
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 10:08:51 +00:00
scribu
41592d266b
Remove nofollow on comment reply links. Fixes #10550
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-07 01:06:37 +00:00
ryan
59bffc3071
Prime blogs of user cache from old cache to avoid mass DB requests on upgrade. see #14379
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 18:45:20 +00:00
ryan
0a0d648660
Send moderation emails to post author. see #6286
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 15:20:50 +00:00
westi
ee291ef5a5
Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 09:41:03 +00:00
scribu
ca4f75d494
Uncheck mass select checkbox when updating rows via ajax. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 23:07:00 +00:00
scribu
a1d7b0f945
Make get_file_data() regex more precise. Fixes #15193
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:22:28 +00:00
nacin
a8eb3d747d
Revert [16021]. See #14170 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:35:28 +00:00
nacin
c914ad1731
Add missing arguments to post_type_archive_title. props greenshady, see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:14:43 +00:00
ryan
9a9d29019d
Introduce user_can(). Props simonwheatley. fixes #14602
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 17:04:46 +00:00
ryan
98c65bd2f7
Don't fire wp_notify_postauthor() when the author moderated the comment. Props mrmist. fixes #12774
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 15:36:04 +00:00
ryan
dbf7388c5b
Don't anchor regex. Props ozh. fixes #14628
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 15:29:50 +00:00
ryan
fccb87dbcb
Eliminate some queries in get_page_by_path() by consulting cache. Props Denis-de-Bernardy, wojtek.szkutnik. fixes #11373
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 15:26:15 +00:00
scribu
c0b067fcf5
remove leading <li> from get_views() and add it later. Fixes #15321
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 14:34:09 +00:00
scribu
e7318d2068
Skip category/tag queries if post type doesn't support them. Props mfields. Fixes #15322
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 12:47:19 +00:00
westi
93bb73ea88
Restore the functionality of some of the other timezone format modifiers in date_i18n props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 11:19:06 +00:00
markjaquith
92159ea0c2
Allow get_post_format() to assume current post if none passed in. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 09:40:36 +00:00
markjaquith
c6a5d1192c
Post Formats generate output in post_class() (format-foo), and body_class() (for single... single-format-foo). Now themers can support Post Formats with one line of PHP and by adding CSS! see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 06:48:56 +00:00
markjaquith
a4ac7eca6f
get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 03:04:13 +00:00
markjaquith
920bfad390
Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 02:04:22 +00:00
markjaquith
b581a43b30
Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:33:50 +00:00
markjaquith
288f0bc195
Bump the post.js version
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:11:29 +00:00
ryan
1af4d93e6d
jQuery 1.4.4rc2. see #15227
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 17:56:13 +00:00
ryan
20181ba697
Use bool not string. Props TobiasBg. see #15170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 14:43:10 +00:00
scribu
4e97737cbc
Allow tag cloud using multiple taxonomies. Props sorich87. Fixes #15313
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 10:45:14 +00:00
westi
037fae5ae6
Don't mangle the primary_blog option when trying to fix it. Don't set people to be a subscriber on a blog they already have a role for. See #15316
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 09:31:58 +00:00
westi
2855be97ac
When adding a user to the blog pass in the current blog id. See #15316 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 09:06:45 +00:00
markjaquith
17fbb0e123
add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 07:41:07 +00:00
nacin
c9190e667c
Blue tweaks. props saracannon, see #15207 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 01:59:58 +00:00
ryan
4bebab39b1
Allow trailing wildcard user searches by appending *. see #15170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 19:31:11 +00:00
ryan
6291fa9dc6
Anchor user search queries to the front. Limit columns searched based on what the search string looks like. see #15170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 19:02:42 +00:00
ryan
2539d4cd37
jQuery UI 1.8.6. Props demetris. fixes #15303
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 16:22:24 +00:00
ryan
e98d6bd25a
Lose super admin bar css. No longer used. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 14:22:54 +00:00
ryan
f5ab587c9d
Show latest x users with no paging if on a large network. see #15170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 13:34:04 +00:00
nacin
606ae7ee4d
Tabs for internal linking. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 23:25:24 +00:00
nacin
72c23453d1
New color scheme swatches for the profile page. props JohnONolan, saracannon. see #15207 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 21:04:29 +00:00
scribu
158a07459d
Use wp_basename() in WP_Query too. See #11887
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 17:28:28 +00:00
scribu
fdd3556806
Introduce wp_basename() and use it for media handling. See #11887
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 17:19:55 +00:00
nacin
66e9cbb8e1
Implement the screen options toggle sprite across color schemes. props PeteMall, and use correct file ext, props ocean90. see #15207 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 15:35:10 +00:00
westi
81a1c190c4
Revert 16150 - breaks things more than it fixes things. See #14993
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 11:42:30 +00:00
westi
c6471ef6e2
Don't capture RFC3986 sub-delims when making urls clickable except for ). Fixes #14993 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 09:45:09 +00:00
westi
2bc7106135
Rename new classes to match our coding standards. Fixes #15280 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 08:29:07 +00:00
nacin
500e2d3f4c
Remove deleted file from the manifest. Note that most other blue files were never added. see #15207 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 05:24:58 +00:00
nacin
7a76c916c3
Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 05:05:27 +00:00
scribu
d2e8b78a42
Just pass meta type to get_meta_sql(). See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 20:34:54 +00:00
scribu
b29899f93f
Rename class.wp-object-query.php to class-wp-object-query.php. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 20:21:29 +00:00
westi
85a7330154
Add the post status as a class so that a theme can easily style private posts differently. Fixes #15279 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 18:07:31 +00:00
westi
e52d8a51bb
Add a post class if a password is required for the post to be displayed. See #13860 props zeo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 18:05:33 +00:00
ryan
629eb4397d
Use CPTs in admin bar menus. Props duck_. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 14:58:59 +00:00
scribu
c8bd2835a0
make not_found puctuation translatable. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:21:56 +00:00
scribu
7f7d5e3c75
Remove check on unexistant $ids var in WP_Query::get_posts. Props Utkarsh. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:28:49 +00:00
scribu
b890848aaa
Use get_queried_object() in more get_*_template() functions. Fixes #15263
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:23:10 +00:00
scribu
e2efa78154
use get_queried_object() wrappers throughout. See #14015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:02:17 +00:00
westi
51c714b256
Always capture ! as part of a url. See #14993 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:09:29 +00:00
scribu
a37d9f9a1d
Add 'get_meta_sql' filter. Props sc0ttkclark for initial patch. Fixes #15018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 00:21:06 +00:00
nacin
a512dbefb2
Move code out of the conditional. props duck_, fixes #14415 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 18:21:23 +00:00
nacin
04deafb31c
File-level phpdoc for new class files. fixes #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 14:09:05 +00:00
nacin
588523f119
Move Walker_Page* to post-template, Walker_Category* to category-template, and rm classes.php. see #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 14:06:08 +00:00
nacin
731bf1fb06
Begin the dissolution of classes.php. see #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 07:02:06 +00:00
nacin
244216d617
Kill the admin-bar directory. see #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 06:40:04 +00:00
nacin
0fceac8180
Add menu-item-object-$object class. props filosofo, fixes #14053 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:49:42 +00:00
nacin
63d8410bfa
Move an array cast further down the stack. props filosofo, fixes #13965 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:39:53 +00:00
ryan
b2e698ed3d
get_queried_obecjt() and get_queried_object_id(). Props filosofo. fixes #14015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 20:48:54 +00:00
azaozz
28466e59f1
Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 20:06:00 +00:00
ryan
4ea26a63c2
Lose Manage Sites. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 18:18:21 +00:00
ryan
8bb1145443
Use get_edit_profile_url(). see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 18:15:24 +00:00
ryan
4c96431cfd
Add Network Admin link to super admin menu. Link Site Options to site-info.php. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 18:12:18 +00:00
ryan
f261f86fd0
get_dashboard_url() and get_edit_profile_url(). Determine the appropriate dahboard for a user based on the user's blogs and the current blog. see #14696 #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 17:48:53 +00:00
ryan
a488b0d1b8
Fix comments links. Props PeteMall. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 16:50:21 +00:00
ryan
ce13c6bdf0
Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 16:23:17 +00:00
westi
547632b70d
Only show it as the Global Dashboard if multisite. See #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 15:45:29 +00:00
ryan
4f3bdf2226
Add Updates menu to admin bar. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 15:36:45 +00:00
ryan
3ea2439dee
Add Appearance menu to admin bar. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 15:26:36 +00:00
ryan
94a67ef5ff
Beginnings of new admin bar organization. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 15:17:22 +00:00
westi
a532e1d86d
Don't show a shortlink button if we don't have one. See #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:58:14 +00:00
nbachiyski
c6491e5db4
Retain backwards compatiblity for the few plugins using _n_noop()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:37:03 +00:00
ryan
f5c4171fce
Fix typo. Props filosofo. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:27:52 +00:00
nbachiyski
9f5c506a9f
Introduce and use translate_nooped_plural(). Fixes #13996
...
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
* translate_nooped_plural() takes one such associative array and translates it
* it works on both the result from _n_noop() and from _nx_noop()
* this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
* translate_nooped_plural() is applied where applicable
git-svn-id: http://svn.automattic.com/wordpress/trunk@16073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:12:14 +00:00
westi
e7ee7a2eaa
If someone has defined WP_SHOW_ADMIN_BAR it wins period. Otherwise we break for things like XMLRPC which disable this always. See #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:44:02 +00:00
westi
693c1f6f60
More admin bar updates. See #14772 props filosofo.
...
Moves js out into seperate file.
Respects WP_SHOW_ADMIN_BAR.
Moved shortlink to top-level
Removed admin bar from non-multisite admin pages.
Set eol-style on new files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:25:58 +00:00
westi
00cfb6bd82
Fix some notices when pinging
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:07:28 +00:00
westi
4ef6fab485
Don't pass deprecated argument to discover_pingback_server_uri!
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:06:48 +00:00
nacin
0552424317
Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064 , fixes #15247 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 00:31:27 +00:00
westi
c83e1d1ef3
Switch to using WP_HTTP_IXR_Client in core. See #10588 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:15:54 +00:00
westi
022e654b72
Introduce WP_HTTP_IXR_Client. Extends IXR_Client and switches it to using the WordPress HTTP API instead of fsockopen. See #10588 props andy and ryan.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:13:24 +00:00
westi
23edf3baa4
Ensure we always have a headers array.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:11:16 +00:00
westi
1237f25dc6
Add a TODO to review this code later.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:00:53 +00:00
markjaquith
fc6e89da45
Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
ryan
15b56af964
Update wp-tinymce.js.gz. see #11420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:03:16 +00:00
scribu
568620021d
Introduce get_terms_args filter. Fixes #15020
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 19:09:18 +00:00
ryan
00925c6424
s/Read Site/Visit Site/. Props markmcwilliams. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 19:00:12 +00:00
scribu
bc5d96f856
Add terms_clauses filter. Props sc0ttkclark for initial patch. See #15020
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:55:30 +00:00
ryan
d4ef5a4029
Lose the snack menu. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:29:44 +00:00
ryan
ec51413035
Typo fix. Props markmcwilliams. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:19:37 +00:00
scribu
88cdfd1d90
Make get_meta_sql() return associative array. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:02:37 +00:00
scribu
8e078d980c
Remove duplicate file docs. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 16:28:58 +00:00
scribu
7312ccc847
Move WP_Object_Query to it's own file. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 16:27:18 +00:00
ryan
23948ab364
get_current_blog_id(). Props aaroncampbell. fixes #15233
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 15:46:11 +00:00
scribu
354845e683
More precise role querying. Props johnbillion for initial patch. Fixes #12693
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 13:26:16 +00:00
westi
f72c161adc
phpDoc and a bug fix for the new media XMLRPC functions. See #15151 props koke.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:12:59 +00:00
westi
13732ff5cc
Comment it out better
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:02:52 +00:00
westi
4699e8f58f
Add a todo. See #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:01:44 +00:00
westi
717ef94b9b
Missing part of the admin bar rework. See #14772 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 11:48:22 +00:00
westi
e87c0a1666
Debug should be a plugin not a core feature for now. See #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:48:52 +00:00
westi
cb9f9db1fb
Revert [16039]. Wasn't as much junk as it looked :-( See #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:45:35 +00:00
westi
418e9d705d
Strip out some junk from trunk. See #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:35:55 +00:00
westi
22839d2a49
Admin bar cleanup. See #14772 props filosofo.
...
Moves CSS into seperate files.
Patch cleanup included moving function call arguments back on to one line where not necessary to split them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:31:36 +00:00
westi
fed42ecdf1
Purger more create_function usage during autop and iso descrambling. See #14424 props ScottMac.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 07:38:00 +00:00
westi
5169f2036c
Remove create_function usage during preview. See #14424 props ScottMac.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 07:25:30 +00:00
nacin
cec34630c8
Doc fix for get_author_posts_url. props simonwheatley, fixes #14249 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 07:15:23 +00:00
nacin
7c92b4ca0d
Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 06:30:59 +00:00
nacin
df7f5821db
Use correct variable. props linguasite, fixes #14141 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 05:58:49 +00:00
nacin
16d0878544
Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 05:22:45 +00:00
nacin
a07ec69bce
Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 03:58:51 +00:00
nacin
71815b682c
Use call_user_func for wpnique_filename callback. fixes #14627 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 22:27:06 +00:00
scribu
0ca1e83f76
Set additional fields when searching. Fixes #15211
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 20:17:00 +00:00
scribu
4eb0f634b2
Trigger activation hooks for netork plugins when new site is created. See #14170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 19:41:59 +00:00
scribu
8333876a68
Make comment clauses more similar to post clauses. See #15019
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 19:05:39 +00:00
scribu
1ce593e3de
Add filters to WP_Comment_Query. Props sc0ttkclark. Fixes #15019
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 18:49:45 +00:00
scribu
9bb5485853
Move get() and set() methods from WP_Query to WP_Object_Query. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 18:16:52 +00:00
scribu
8a95232377
Fix inconsistencies in metadata filters. Props sc0ttkclark. See #14766
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 17:45:08 +00:00
westi
b0969c8e5b
First pass at 'wp.getMediaItem' and
...
'wp.getMediaLibrary'. See #15151 props koke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 17:20:46 +00:00
westi
2f7035c68d
Restore the (at most 15) on the Recent Posts Widgets UI - Accidentally removed as part of [14483].
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 14:10:47 +00:00
nacin
dab1e8301c
Improve the line height on div.updated, div.error. props joelhardi, fixes #14891 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 11:57:55 +00:00
nacin
05fde90357
Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 10:46:24 +00:00
nacin
9f9f5205b0
Fix some encoding issues. props hakre, fixes #14735 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 09:54:17 +00:00
nacin
51b4b138af
Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:27:45 +00:00
westi
afc867fe64
Remove the ghetto code and use the script loader properly on the login page.
...
Ensure that we actually have convertEntities available on the login page.
Introduce a login_footer action.
Hook in the script loader to the login_header and login_footer actions.
See #5919 , #15124 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@16000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 06:57:10 +00:00
westi
7186208818
Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 06:39:20 +00:00
nacin
8f1f98fa02
Return empty array in wp_get_sidebars_widgets() if no sidebars are defined. fixes #14876 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 01:56:54 +00:00
nacin
c10da6c1ec
Standardize on 'Display as dropdown' and list those before post counts in default widgets. fixes #15096 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 01:52:59 +00:00
nacin
122f7797e4
jQuery 1.4.4 preview as of Wed Oct 27 00:55:02 2010. see #15227 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:58:41 +00:00
nacin
d1093ac706
More pedantry.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:33:29 +00:00
nacin
0e41407e8c
Bool cast preg_match, in readable form. see #9824 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:30:49 +00:00
nacin
ea8ea55d49
Bool cast preg_match. see #9824 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:27:08 +00:00
scribu
8feaf39b4d
Don't trigger verbose page rules if permalink begins with fixed string. Fixes #9824
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:25:03 +00:00
scribu
3102a4edf5
Round bottom-right corner of the screen options dropdown. Fixes #15226
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 22:15:58 +00:00
nacin
16b1f727af
Specify feed type in the_category_rss() call. props benward, fixes #14451 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 20:15:18 +00:00
scribu
f7bb6febeb
Add filters to *_metadata() functions. Props sc0ttkclark. Fixes #14766
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 19:11:27 +00:00
scribu
57a7c073ef
Introduce 'fields' query var to WP_Query. See #14777
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 19:01:55 +00:00
nacin
5a81941fed
Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 18:15:47 +00:00
westi
e2d7b7dbe9
Expose the media options over XML-RPC. Fixes #15153 props koke.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 17:46:29 +00:00
westi
ac3e880df7
4th argument of wp.getOptions is optional so don't notice if it's not supplied.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 14:43:20 +00:00
ryan
197a16b836
Refactor wp_get_recent_posts to use get_posts(). Props blepoxp. fixes #14389
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 13:50:38 +00:00
ryan
5c487f5dba
Fix infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 13:44:03 +00:00
nacin
49672ae608
Allow page rewrites to be disabled. see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 07:12:06 +00:00
nacin
1f04bb1bda
Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:45:13 +00:00
nacin
484aebcf5c
Fix custom background selector for IE7. props duck_, fixes #14152 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:42:14 +00:00
nacin
0373c403aa
Remove redundant filter. props coffee2code. fixes #14285 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:34:28 +00:00
ryan
da54089621
Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 20:45:58 +00:00
nacin
ee1ba7f2f3
Importer and exporter overhaul, mega props duck.
...
Exporter overhaul:
* Add author information to export
* Greater usage of slug identifiers
* Don't export auto-drafts, spam comments, or edit lock/last meta keys
* Inline documentation improvements
* Remove filtering for now (@todo)
* Bump WXR version to 1.1, but remain back compat in the importer
Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249 ):
* Use an XML parser where available (SimpleXML, XML Parser)
* Proper import support for navigation menus
* Many bug fixes, specifically improvements to category and custom taxonomy handling
* Better author/user mapping
Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108 .
See #15197 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@15961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 20:43:52 +00:00
westi
8cdb268183
Attempt at a fix for url encoding issues with UTF8 chars. See #10249 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 14:50:58 +00:00
nacin
76b4a3cac7
Pass comment ID from comment_text to get_comment_text. Also add the comment object as context to the filter. fixes #14261
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 03:11:01 +00:00
ryan
614dd3b3a9
Idempotence for sanitize_user(). Make sanitize_key() match its phpdoc. Props duck_ fixes #15198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 20:33:54 +00:00
nacin
f714463866
Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 18:07:20 +00:00
nacin
3413426dab
Rearrange wp-load include. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 03:56:10 +00:00
nacin
caf177947d
Remove dead arguments. see [15937], see #13818 , props dd32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 03:27:01 +00:00
nacin
e31f06608c
Compress scripts and bump for [15939] [15940]. see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 03:03:52 +00:00
nacin
a583da8c45
Internal linking, first pass. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 02:58:42 +00:00
nacin
81f2d8b405
Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 19:49:25 +00:00
nacin
fe9c1f3770
Remove post_type params from is_archive(). use is_post_type_archive() for full context. see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 19:20:47 +00:00
nacin
86112c2f7e
Move the CPT archive flag outside of the rewrite argument, into its own has_archive. has_archive controls more than just URL rewriting, it also handles whether ?post_type= is treated as a CPT archive. feeds remain in rewrite as ?feed= would work regardless. see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 18:29:22 +00:00
nacin
b0443feba3
Remove some capability_type code in WP_Query. Only build faux caps if we're querying for multiple post types or if the post type object can't be found. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 18:16:41 +00:00
nacin
f244d99609
Allow capability_type to be an array, for odd plural situations such as story/storys/stories. After registration it reverts to a singular string. Lots of documentation for meta capabilities and post types, also some cleanups for register_post_type documentation. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 18:03:26 +00:00
nacin
c2f5e78a1e
Use a consistent variable.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 17:51:18 +00:00
nacin
3dfec1ee81
Don't make redundant str_replace calls in link-template. props duck_.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 17:13:52 +00:00
scribu
81025846b1
Also convert uppercase letters in Latin Extended-B. See #9591
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 15:36:16 +00:00
scribu
633daa01cb
remove_accents(): Nordic characters fixes. Props einare. Fixes #4739 . See #9591
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 13:00:21 +00:00
scribu
c613576e77
Introduce sanitize_title_for_query(). See #9591
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 12:55:55 +00:00
scribu
6fca3408b6
Introduce _qv_basename() and apply it to hierarchical taxonomies. See #9591 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 22:54:05 +00:00
scribu
99f5c0f184
Remove debugging code in wp_check_term_hierarchy_for_loops(). See #14662
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 21:31:57 +00:00
scribu
e3691d5188
Remove misplaced code in WP_Query::parse_tax_query(). See #12659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 21:17:09 +00:00
ryan
e1a7cc966f
Do not set role if it is the same. Props nickmomrik. fixes #14708
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:38:20 +00:00
ryan
62003eb20f
Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:23:00 +00:00
ryan
2e486e7b10
Actions for adding and deleting meta. Props wojtek.szkutnik mitchoyoshitaka. fixes #14173
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:18:33 +00:00
ryan
920bf4e235
Use underscore separator
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:10:23 +00:00
ryan
edbfd35f31
Fix attribute spacing. Props Utkarsh. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 18:59:06 +00:00
ryan
669c5fab8e
Remove redundant logged in check. Props neoxx. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 18:42:26 +00:00
dd32
ac2ca038ea
Support wildcard domains in WP_PROXY_BYPASS_HOSTS and WP_ACCESSIBLE_HOSTS. Fixes #14636
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 10:27:35 +00:00
nacin
53e77351a5
Revisions and attachments should also generate meta capabilities as part of their cap object. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 00:25:14 +00:00
nacin
14ccdbec33
Pruning shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 19:55:28 +00:00
nacin
c64766e6f2
s/ms-options/settings. props PeteMall, fixes #14826 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 17:09:15 +00:00
nacin
a724633db8
Only dumb down delete_others_posts if it deserves to exist. fixes a notice. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 16:28:35 +00:00
nacin
f5e23028ff
Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 15:42:06 +00:00
nacin
02440f343c
Clean up get_post_type_capabilities. Don't bother with new capabilities for edit_others_posts and delete_others_posts if the post type does not support authors.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 15:05:10 +00:00
nacin
c46c3c4637
Only check the post author if the post type supports authors. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 14:55:15 +00:00
nacin
d27f272247
Rough first pass on map_meta_cap for custom post types. see #14122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 14:40:04 +00:00
scribu
defc740cff
Revert accidental changes to WP_Query made in [15887]. See #14163
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 14:06:52 +00:00
scribu
14fbf27b0d
Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 14:03:25 +00:00
nacin
d3451c6301
Fix html in WP_Object_Cache::stats. props Utkarsh, fixes #15183 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 13:15:24 +00:00
nacin
e967237499
Kill off get_users_of_blog args argument.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 13:12:05 +00:00
ryan
81f23003e3
Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 13:08:47 +00:00
markjaquith
f67cae286d
Push capital P filter back behind the wpautop one to catch Wordpress after opening HTML tag
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 22:44:15 +00:00
ryan
c7811f19b3
Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 20:43:32 +00:00
ryan
669a403b55
Update network-wide active user and blog counts via a cron job to avoid costly count queries. see #15170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 20:22:14 +00:00
scribu
0319925e7f
Fix tax=term1+term2 queries. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 19:00:57 +00:00
nacin
080d1b0969
Make get_users arg optional. props duck_. see #14572 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 17:21:06 +00:00
ryan
6130324d14
Schedule update checks from an init hook. see #15148
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 16:50:57 +00:00
westi
eb3d1dd7c8
Fix variable mis-name.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 13:38:50 +00:00
ryan
a002cfdc7f
Equal equal equal. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 13:27:55 +00:00
ryan
2814ee67e1
show_admin_bar(). see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 13:23:39 +00:00
ryan
86274d836d
admin_bar_init action. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 13:07:54 +00:00
scribu
7c7af674b4
Get rid of $taxonomy_query_vars altogether. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 12:12:31 +00:00
scribu
21af801a5a
Fix 'taxonomy' and 'term' query var logic. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 12:07:23 +00:00
nacin
54c498f974
Remove Lucida Grande from the sans serif font stack. fixes #8352 , props iammattthomas.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 10:30:28 +00:00
nacin
a38103b1a9
Body classes for custom taxonomies and terms. props nkuttler, fixes #15017 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 09:32:16 +00:00
scribu
d71913bcce
Make $id arg optional in the_terms(). Fixes #15160
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 22:46:26 +00:00
scribu
d73598ad4d
Correct dockblock for the_terms()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 22:41:34 +00:00
scribu
10532b9345
Don't stomp on posts_per_page in get_posts(). Props bobbyblade. Fixes #15150
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 17:08:32 +00:00
ryan
c4599ec729
Lose get_ordered_blogs_of_user() and set_visibility(). Not using them yet. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 15:32:33 +00:00
scribu
fe9c746809
Re-add the ability to filter by 'taxonomy' and 'term' query vars. Fixes #13582 . See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 14:41:30 +00:00
dd32
0c1eb68663
Limit wp_old_slug_redirect() to redirecting to only posts of the same post_type kind. See #15140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 10:27:34 +00:00
dd32
0c56811154
Fix current-cat & current-cat-parent classes for Category listings for non-category taxonomies. General cleanup of wp_list_categories() sanity checking. Props TheDeadMedic for the initial taxonomy patch. Fixes #15143
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 10:10:11 +00:00
nacin
b3334f02af
Doc fixes for wp_find_hierarchy_loop. props mdawaffe, fixes #14662 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 08:16:10 +00:00
nacin
c840f4676e
Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:58:02 +00:00
nacin
5e1184aa57
Pinking shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:48:22 +00:00
nacin
76e493c281
Full @since's for 3.1.0.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:38:42 +00:00
nacin
7c39422697
Inline docs for _get_last_post_time helper.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:35:12 +00:00
nacin
a4946ed793
Restore jQ noConflict. props filosofo, fixes #15147 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:26:52 +00:00
scribu
efb8b6abcc
Get rid of wp_cache_key(), as it's not really that useful. See [15838]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 21:54:39 +00:00
scribu
ea1470d6af
Fix custom post type feed when no regular posts present. Props aaroncampbell for initial patch. Fixes #14922
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 21:06:49 +00:00
ryan
a2ec5bfafa
Introduce schedule_event filter. fixes #15146
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 20:50:35 +00:00
ryan
72a9626c15
Allow flagging of a blog as mature via a URL. Move some actions into update_blog_status(). Props Viper007Bond. fixes #14385
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 18:53:47 +00:00
ryan
bb6b103711
Remove get_current_screen() call
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 18:23:46 +00:00
ryan
580bf5eead
Allow turning off the admin bar via WP_SHOW_ADMIN_BAR constant, no_admin_bar() function, or show_admin_bar filter. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 17:58:36 +00:00
ryan
54ae23aa08
Cache invalidation for get_blogs_of_user(). fixes #14379
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 17:11:00 +00:00
dd32
a034198225
Use $wpdb->prepare in wp_old_slug_redirect(). See #15140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 11:44:19 +00:00
dd32
7c046687ec
Save _wp_old_slug for all published post_type's, brings old-slug redirection to Posts and CPT's. See #15140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 11:24:29 +00:00
scribu
af29ce4440
Apply filter in plugin_basename(). Props vladimir_kolesnikov. Fixes #13550
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 13:47:40 +00:00
nacin
d91842f870
Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 07:12:34 +00:00
dd32
ddae2a0b15
Prevent notices on non-existent Term locations (such as /tag/404-non-existant-term/)
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 06:14:58 +00:00
dd32
f76743d01a
Remove missed tokens in [15825]. See #12659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 06:10:53 +00:00
dd32
81924ad20b
Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 05:41:22 +00:00
dd32
baa0935d9a
Move hierarchical_url to $args['rewrite']['hierarchical']
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 04:36:26 +00:00
azaozz
c62d0b2e1b
Editor: stop inserting empty paragraphs before/after captioned images, see #15095
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-16 22:11:31 +00:00
nacin
98f3c14240
jQuery 1.4.3. props demetris. fixes #15135 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-16 14:05:58 +00:00
nacin
7ef6752c9d
Custom post type archives, second pass. see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 19:44:57 +00:00
ryan
3df9f849ce
nav_menu and post_format taxonomies should not be public. fixes #15107
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 14:53:55 +00:00
ryan
3706be0956
Remove dead code from get_next_posts_link(). Props filosofo. fixes #14850
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 14:43:31 +00:00
ryan
fd2896de77
Improve regex performance in wptexturize(). Props mdawaffe. fixes #15093
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 14:34:38 +00:00
westi
1ca31b7365
Group the quicktags js. Fixes #15124 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 13:43:34 +00:00
nacin
dbd2431a55
Remove debug cruft.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 08:55:06 +00:00
nacin
21f2b80f97
Use map_meta_cap for multisite super admins in current_user_can_for_blog. props jamescollins, see #15122 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 06:47:40 +00:00
westi
1bc8d5c12f
Display mysql_connect errors when WP_DEBUG is enabled. Fixes #14654 props lloydbudd and hakre
...
Always die if we can't connect to the db no point in going any futher.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 18:47:39 +00:00
ryan
0a01e66745
Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 15:09:04 +00:00
nacin
142f9230f0
Use correct variable. see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 11:31:48 +00:00
nacin
eb8762d626
Custom post type archives. see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 10:39:47 +00:00
scribu
605476f2d0
Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 08:47:41 +00:00
scribu
76ffe532d4
get_edit_term_link() improvements:
...
* add optional $object_type parameter
* make $term_id and $taxonomy parameters mandatory
* pass all relevant information to the filter
* use in WP_Terms_Table
See #9702
git-svn-id: http://svn.automattic.com/wordpress/trunk@15800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 07:35:13 +00:00
ryan
6ffa9e31d3
Don't hide empty terms when determing exclude trees. Props layotte. fixes #14446
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 20:12:20 +00:00
scribu
b43424f94e
Don't look in in WP->parse_request(). See #15112
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 16:55:58 +00:00
scribu
22643b9464
Sacrifice DRY for readability in WP_Query. Props nacin for initial patch. See #14997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 16:37:01 +00:00
scribu
a9e671a75c
Add posts_clauses_request filter too. Props hakre. See #14997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 15:49:26 +00:00
scribu
810b3a215f
Don't attempt to convert objects to strings in WP->parse_request(). Fixes #14330
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 15:21:19 +00:00
scribu
c9190d87d5
Introduce edit_term_link() and get_term_url(). Props yoast. Fixes #9702
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 14:54:21 +00:00
scribu
47f98231a5
Restore previous filter order in WP_Query. See #14997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 13:45:53 +00:00
nacin
148dac95df
s/showposts/posts_per_page/
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 05:25:00 +00:00
scribu
119713f3da
first pass at strength indicator on password reset. see #5919
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 21:37:01 +00:00
scribu
08e984e5e8
move password-strength-meter.js into user-profile.js. See #5919
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 20:29:19 +00:00
ryan
d082fbbb4f
Allow deleting a format. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 19:43:54 +00:00
ryan
d753847050
has_post_format(). see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 19:25:58 +00:00
ryan
0982c3c0f9
Post formats, take one. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 18:33:14 +00:00
scribu
9b325e28ea
Introduce wp_query_clauses filter. Fixes #14997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 15:04:44 +00:00
scribu
59a7f7f015
Remove redundant call to function_exists() in wp_nav_menu(). Fixes #15094
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 13:21:08 +00:00
scribu
d1ba770236
don't re-urlencode taxonomy query vars. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 12:18:42 +00:00
nacin
57ccc147e2
Make it explicit that you can set fallback_cb to false in wp_nav_menu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 03:16:45 +00:00
scribu
f0d8d094e2
Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-10 22:10:36 +00:00
scribu
47b8974ca6
Make parse_reques() set empty variables. Props filosofo for initial patch. Fixes #10710
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-10 20:02:26 +00:00
nacin
302259ee13
s/blog/site/ on the admin bar code. props markmcwilliams, see #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 12:22:00 +00:00
scribu
ba8217c8df
Fix warning caused by empty meta query. See #14645
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 12:18:52 +00:00
nacin
7bb63ebe44
esc_html in WP_Object_Cache::stats(). fixes #15003 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 11:38:12 +00:00
scribu
e157f923ed
Get rid of redundant $this->meta_query. See #14645
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 10:48:13 +00:00
scribu
50dc04d43b
Get rid of redundant ->tax_query. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 10:19:15 +00:00
dd32
089b75c67d
Standardise on ->user->domain and ->user->account_domain being trailingslash'd. See #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 05:25:09 +00:00
ryan
76c787d4d2
Some more hierarchy loop detection.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 16:22:14 +00:00
nacin
b7bacd1bf2
s/Wether/Whether/
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 02:35:06 +00:00
nacin
137796ddbd
Add NOT LIKE/BETWEEN/IN. props AaronCampbell, fixes #9124 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 02:27:22 +00:00
scribu
b64336e0cd
Remove debug cruft introduced by [15751]. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:50:32 +00:00
scribu
f5276df854
Add 'tax_query' as public query var. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:47:52 +00:00
westi
f964eed6b5
Avoid Notice if the query doesn't have a post set e.g. on a 404 . Fixes #15059 props chrisbliss18.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:23:50 +00:00
westi
7e5c6cb031
Ensure we don't generate incorrect content types when files are requested with query strings. Fixes #14450 props chrisbliss18.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:00:45 +00:00
ryan
7119110439
Unset global variables when they are no longer needed.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 20:12:49 +00:00
ryan
9c31fd7c70
First pass of user admin. Network admin and screen cleanups. see #14696
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
scribu
c640cfb7ef
More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 09:53:37 +00:00
nacin
5757866954
Sticky post support for post types, first pass. see #12702 , props azizur.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 09:10:35 +00:00
markjaquith
dd6ea0186c
Revert accidental inclusion in last commit... [15740]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 08:06:31 +00:00
markjaquith
df006b32e2
Fix an English fail.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 08:04:15 +00:00
nacin
5f0bc55c0b
Some doc updates. see #15048 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 05:59:50 +00:00
nacin
38e017024d
Verify that a widget is draggable before stripping its draggability. props filosofo, see #12863 . Fixes widget creation for jQUI 1.8.5; should be fixed in jQUI 1.8.6.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 04:20:19 +00:00
scribu
6c0eb6bf79
Proper handling of array query variables. Props loushou. Fixes #14330
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 23:18:42 +00:00
nacin
50120d23da
Shift theme mods to be reliant on the theme slug instead of name. fixes #15048 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 21:00:17 +00:00
scribu
54304cc2d4
Prevent db error when dealing with unexistant parent term. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 12:06:23 +00:00
scribu
2a99093ba9
Better way of settings tax related query flags. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 11:13:37 +00:00
scribu
38888b588d
Make hierarchical URLs work for any hierarchical taxonomy. See #12659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 11:04:03 +00:00
scribu
a8367fa6f2
Generalize taxonomy queries:
...
* transform wp_tax_query() into WP_Object_Query::get_tax_sql()
* create parse_tax_query() method in WP_Query
* add doc-block for $tax_query and $meta_query
See #15032 . See #12891 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@15731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 10:40:30 +00:00
scribu
ef709f8953
further meta query optimization. props aaroncampbell. fixes #9124
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 23:06:20 +00:00
scribu
7630099b45
Revert part of [15713] to prevent notices. See #14645
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 22:42:47 +00:00
azaozz
57fdacc00e
Properly reference tinyMCEPreInit in wp-tinymce.js.gz, fixes #15027
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 17:43:20 +00:00
scribu
62176cc636
Don't revalidate $meta_type in get_meta_sql(). Props Viper007Bond. See #9124
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 22:51:31 +00:00
scribu
be24b1998b
Use elseif in get_meta_sql(). Props Viper007Bond. See #9124
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 22:47:04 +00:00
scribu
390ec67a52
Enhance get_meta_sql. Props aaroncampbell. Fixes #9124
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 21:37:08 +00:00
scribu
31797f691a
Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 21:05:31 +00:00
nacin
38b834c848
Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 20:53:04 +00:00
scribu
8d138e0c4c
Put the simple meta query first, so that orderby=meta_value works even when using 'meta_query'. See #15031
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 20:19:21 +00:00
nacin
7ee6aecd1b
Account for Twenty Ten in theme name collisions and properly fall back to TT in get_current_theme(). fixes #15719 , props tonyf12.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 19:50:13 +00:00
scribu
f558d12bf0
Introduce WP_Object_Query. See #15032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 18:57:13 +00:00
scribu
1190c4094b
Strip redundant 'meta_' from 'meta_query' keys. See #14645
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 18:26:26 +00:00
scribu
6107efe572
Recognize meta_query as a query var. Props aaroncampbell. Fixes #14645
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 17:51:17 +00:00
nacin
7119d7429e
Restore wp_delete_category. props blepoxp, fixes #15008 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 16:28:01 +00:00
ryan
b065274ec5
jQuery UI 1.8.5. Props demetris. fixes #12863
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 16:19:18 +00:00
scribu
6e56dce7dd
Fix menu box search. Fixes #14335
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 14:17:34 +00:00
dd32
2764315403
Fix canonical redirection for permalinks containing %category% with nested categories and paging. Fixes #13471 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 11:30:11 +00:00
dd32
bc41e93707
Revert part of [15703]. The Metadata API doesnt unserialize everything.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 11:00:36 +00:00
dd32
d9e1a542ee
Introduce hierarchical taxonomy URL's, Can be enabled by setting 'hierarchical_url' to true upon taxonomy registration. See #12659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 10:37:25 +00:00
dd32
16d7e9e96e
Forgot to change a variable name in [15703]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 10:03:05 +00:00
dd32
4629103d2c
Simplify get_user_metavalues() to entirely rely upon the Metadata API, Removes a direct SQL Query. de-serializing is handled by the Metadata API now.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 09:59:53 +00:00
dd32
4ebe0cbc48
Fix a hard-coded database table typo. s/wp_users/$wpdb->users/
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 09:43:02 +00:00
dd32
057627e640
Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 09:17:18 +00:00
dd32
6129438ba5
Cache terms under more scenario's in update_post_caches(). Fixes #15026
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 08:56:04 +00:00
dd32
da4b33fc83
get_user_metavalues(): Use cached user objects when querying for a single user, Prevents duplicate usermeta queries from Adminbar. Whitespace & s/AS/as/. See #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 07:38:32 +00:00
dd32
37c6a67d65
Do not load adminbar css in media uploader. See #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 04:16:33 +00:00
dd32
168fff8678
Do not show admin bar in update iframes. See #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 04:11:34 +00:00
dd32
8a8c64c988
Fix return false; for Adminbar Blog info.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 03:15:35 +00:00
dd32
6c47b193ac
Fix profile link in admin bar. Props mellertime. Fixes #15022
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 03:04:28 +00:00
dd32
da79c2a100
Sanitize meta keynames used as object properties on retrieval. Fixes #14924
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 02:55:11 +00:00
nacin
d596b05eac
wp_quickpress_form, first pass. props jorbin. see #14966 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 07:41:48 +00:00
nacin
c6ff4fbaa9
Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008 , props blepoxp.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 07:29:44 +00:00
nacin
054e18cb05
Docs and breathing room for get_media_buttons() and friends. see #14966 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 03:08:39 +00:00
nacin
4e666d5d44
Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 02:58:59 +00:00
scribu
2bfd821b9b
Allow search in archive pages. Fixes #14831
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 22:52:15 +00:00
scribu
688f990cd0
Split wp_filter_object_list() into wp_list_filter() and wp_list_pluck(). Fixes #15016
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 18:48:51 +00:00
scribu
70728369f9
Set 'cat' query var for backwards compatibility. Fixes #15007
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 18:03:06 +00:00
azaozz
88868f5ba5
Properly align all buttons in the TinyMCE dialogs, see #12574
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 05:31:42 +00:00
azaozz
0b64e7bd0a
TinyMCE 3.3 first run
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 05:14:12 +00:00
dd32
9ce6d04ffb
Retire IIS 3,4,5 Set-Cookie redirection workaround. See [2436] for original implementation. See #10187
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 04:02:24 +00:00
dd32
26bf32ac3e
utilise wp_guess_url() in installation redirection to provide an Absolute URL. See #14062 . See #14904
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 03:08:02 +00:00
ryan
ec07e220ad
Remove wordpressmu_wp_mail_from(). fixes #14586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-01 18:32:47 +00:00
ryan
0449fee5da
has_term(). Props ptahdunbar. fixes #12526
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-01 17:44:53 +00:00
scribu
a4167676ea
Add inline documentation for ms-blogs.php. See #14953
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-01 01:32:31 +00:00
nacin
c63d9afdec
Some phpdoc for ms-functions.php. props boonebgorges. see #14953 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-29 23:44:34 +00:00
scribu
af5d4ba206
Do thorough resets in init() and init_query_flags(). Props coffee2code. Fixes #14976
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-27 23:48:03 +00:00
ryan
b5008205b5
Admin bar, first pass. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-27 20:26:36 +00:00
nacin
a89ebb3322
Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 08:31:16 +00:00
dd32
dfadcb73fc
Only show the Password Strength Meter when JavaScript is available. Fixes #14943
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-25 10:58:01 +00:00
ryan
a2a9451ae6
Feature filter visuals. First pass. see #14936
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 18:50:31 +00:00
scribu
d4ded42a1b
get_objects_in_term(): include term children when querying by slug. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 14:08:07 +00:00
dd32
6dd01bf248
Do not generate invalid SQL for empty term archives. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 12:09:44 +00:00
dd32
1380f38f95
Use the correct term_id field in get_body_class().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 11:58:21 +00:00
scribu
164be642a4
Consistently set $post_type to 'any' when a taxonomy query is involved. See [15649]. See #14589
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 23:19:47 +00:00
scribu
61cd7dffe0
Set $post_type to 'any' when taxonomies are involved (code resqued from r15613). See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 23:11:49 +00:00
westi
b3054b3106
Complete the move to a seperate class file for #14820 props filosofo.
...
Add support for replacing the class used. Fixes #14814 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 21:38:28 +00:00
westi
4df97ff398
First part of #14820 . Copy the file to preserve history. Props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 21:22:21 +00:00
scribu
41cdb90eb9
Make login css more flexible. Props joelhardi. Fixes #7763
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 15:26:16 +00:00
ryan
f3d45472d2
Don't fetch theme_roots transient on every page load. Avoid it altogether if there is only one theme dir. fixes #14911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-21 19:41:35 +00:00
nacin
669b7b3e87
Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-21 14:52:03 +00:00
ryan
2d360ad164
Revert [15637]. Still needed for PHP4.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 19:17:47 +00:00
nacin
9e97f25249
Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 19:13:47 +00:00
ryan
bef67a04e2
Remove annoying, useless construcotrs. Props Rasmus. http://talks.php.net/show/confoo10/8
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 18:53:03 +00:00
ryan
dbe85a7f46
Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 18:11:06 +00:00
ryan
6b351163ef
Simplify sanitize_key() and use it in more places. see #14910
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 15:28:58 +00:00
scribu
c2100074d3
Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-19 11:08:20 +00:00
scribu
dea3a23691
Introduce get_ancestors(). Props filosofo. Fixes #12443
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:20:16 +00:00
nacin
75cdf1c0c4
Fix logic inversion in r15626. see #14892 . Also note that r15626 fixed a s/is_category/is_tag/ typo introduced in r6011, on line 1340.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-17 22:35:05 +00:00
scribu
168659371d
Don't require category__in, tag__in etc. to be arrays necessarily. Fixes #14892
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-17 22:27:22 +00:00
scribu
17c867e74b
Remove extraneous sanitization of category_name. Leave it to wp_tax_query(). See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-17 17:07:11 +00:00
scribu
367e4916ee
Allow plugins to manipulate the meta query args. See #14645
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-17 16:08:35 +00:00
scribu
d66d93ccab
Apply filter to wp_get_current_commenter(). Fixes #14878
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-16 20:48:18 +00:00
scribu
91ab066e89
use get_user_count() in get_sitestats()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-15 20:13:31 +00:00
scribu
95ccbb88cf
Clean up wp_list_authors(). See #10329
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-15 19:52:25 +00:00
scribu
abf924be2b
Fix border radius in login form. Props filosofo. Fixes #14872
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-15 09:24:11 +00:00
nacin
2671e9cc72
Some docs and corrections to _wp_link_page().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-14 16:48:38 +00:00
nacin
3ad167f45d
Make note of an optional argument. props hakre, fixes #14870 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-14 16:22:55 +00:00
scribu
692b43a71b
Calculate term count using $wp_query->tax_query. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-14 11:34:40 +00:00
scribu
2030231f66
Clean up taxonomy queries in WP_Query. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-13 16:44:14 +00:00
scribu
ec7490bc41
Update Incutio XML-RPC Library to latest version (1.7.4). Props hakre. Fixes #14703
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-13 16:36:08 +00:00
scribu
4c7deb41e7
Apply filters consistently in get_*_template() functions. Fixes #14310
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-12 18:46:18 +00:00
nacin
ca725961c5
More efficient is_super_admin(). Don't call new WP_User on the current user. props mdawaffe, fixes #14842 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-10 23:24:34 +00:00
nacin
4850c82d1c
Fix UPLOADS constant. see #14840 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-10 20:29:19 +00:00
markjaquith
ab8bf0a05e
wp_dequeue_script() and wp_dequeue_style(). fixes #14815 . props scribu
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 04:42:47 +00:00
nacin
7e30a69c07
Add force_filtered_html_on_import filter. fixes #14818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 02:43:18 +00:00
scribu
2570a9e7df
Replace is_term() with is_tax(). See #14161
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-08 16:58:58 +00:00
scribu
6feafae8a1
Clean up single_cat_title(), single_tag_title() and wp_title(). Fixes #14161
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-08 16:21:13 +00:00
scribu
449d62100e
Introduce 'edit_comment' meta cap. Fixes #14520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 23:35:28 +00:00
nacin
4e283a8047
Return the character range removed in [15594]. fixes #14633 , props demetris.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 17:52:43 +00:00
nacin
d66295976c
Speak in full, clear sentences. props mrmist, fixes #14633 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 15:28:56 +00:00
nacin
aa0f906c84
Pass some context to the pre_comment_approved hook. props coffee2code, fixes #14802 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 14:36:35 +00:00
nacin
806f2d56a1
Only run update checks on the main site. fixes #14554 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 13:43:32 +00:00
nacin
5a20c05d27
Phpdoc argument/@param cleanups. props duck_, see #14783 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
markjaquith
4d44c562e4
Rename caller_get_posts WP_Query flag to ignore_sticky_posts, because that is the only thing it does. fixes #14624 . props scribu
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:46:08 +00:00
markjaquith
07c704aad2
Duplicate Save button for nav menus at the bottom. fixes #14265 . props duck_
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:40:53 +00:00
markjaquith
b01b411b45
Support custom post type links in wp_list_pages(). fixes #14177 . props scribu
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:31:07 +00:00
markjaquith
48ca617449
Make the second (taxonomy) parameter for get_term_link() optional if you pass in a term object as the first argument (which has the taxonomy in it). fixes #13081 . props scribu
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:29:00 +00:00
markjaquith
722fde708c
More efficient calendar queries. fixes #8351 . props vladimir_kolesnikov
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:22:56 +00:00
markjaquith
e7c4ac4014
When doing current page highlighting logic, apply untrailingslashit() to everything so that slash additions or omissions still match. fixes #14208 . props filosofo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:17:37 +00:00
markjaquith
437a0f5cbb
Do not cache terms indefinitely... use TTL of one day. fixes #11431 . props Denis-de-Bernardy
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:13:01 +00:00
scribu
f2c9a08521
Don't hardcode the pagination base. Fixes #12507
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 01:18:42 +00:00
scribu
80e2918946
Use _wp_meta_sql() in WP_Query. See #14572 . See #14645
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-06 11:28:59 +00:00
scribu
c27d704999
Use multiple JOINs instead of CASE in _wp_meta_sql(). See #14572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-06 11:04:50 +00:00
scribu
6fd94cd065
Rewrite WP_User_Query to use JOIN instead of subquery. See #14572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-06 08:09:41 +00:00
scribu
7d0891ad85
Use get_users() in wp_dropdown_users(). See #14572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 18:47:25 +00:00
scribu
7b26cd223f
Fix meta query in WP_User_Query. See #14572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 15:30:10 +00:00
scribu
babd60d5d5
Don't suppress errors in _wp_meta_sql(). See #14572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:54:55 +00:00
scribu
1652fe96c1
fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:49:52 +00:00
scribu
11ff3a7ce9
call get_users() from get_users_of_blog()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:35:55 +00:00
scribu
27d0a177f7
introduce _wp_meta_sql(). Preparation for adding blog_id to WP_User_Query. See #14572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 13:31:33 +00:00
nacin
15bc341696
phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 02:45:39 +00:00
nacin
650f97e684
Adjustments to [15549]. See #11624 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-04 15:51:04 +00:00
nacin
713b3c1b82
Fix the delete_user meta cap.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-04 12:24:43 +00:00
nacin
b97858641c
Add a note about REMOTE_ADDR behind proxies.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-03 10:18:32 +00:00
ryan
051b9c2f3b
Do not run kses on display filters for front page views. see #14758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-02 15:06:07 +00:00
ryan
f781ba4824
is_blog_admin(). fixes #14763
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-02 15:03:39 +00:00
ryan
5d5f2ed563
Make smilies links SSL aware. Props tech163. fixes #14360
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:26:18 +00:00
ryan
b482fe4499
Link directly to comment in email notification. Props lancewillett. fixes #12797
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:24:41 +00:00
ryan
bb7ac14d8c
Pass more info to notification filters. Props mdawaffe. fixes #14743
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:19:15 +00:00
ryan
db718fc987
Cache to site_name instead of current_site_name. Props benward. fixes #14461
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:17:20 +00:00
ryan
925124db11
Update last_changed when cleaning comment cache. fixes #14713
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-30 19:59:16 +00:00
scribu
950901ca92
Don't use the global anymore. Fixes #11624
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-28 11:57:28 +00:00
scribu
bc0c1bb3f0
Always set no_found_rows = true in get_posts(). Fixes #14528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-28 11:51:02 +00:00
scribu
349fbcaf30
update WP_Query docs. See #14600
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-28 11:09:18 +00:00
ryan
725f073450
Fix typo in [15544]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 16:53:26 +00:00
nbachiyski
d7fcadc5b8
Make menus manipulation easier for plugin developers
...
* Add a wp_nav_menu_objects filter, which gets a sorted list of all menu node objects in the currently rendered menu
* Add current, current_item_ancestor and current_item_parent boolean member variables to each menu node object, which are true when the item has the current-menu-item, current-menu-ancestor or current-menu-parent CSS class respectively
git-svn-id: http://svn.automattic.com/wordpress/trunk@15544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 16:13:39 +00:00
scribu
e675b1e837
WP_User_Query constructor improvements. Props filosofo. Fixes #14709
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 15:41:32 +00:00
scribu
e7a6f6f967
use get_users() in get_editable_user_ids() and cache result. See #14572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:18:57 +00:00
scribu
32f3fc6cbf
Fix weird wrapping of sorting arrow in Chrome. Fixes #14706
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-26 22:11:04 +00:00
ryan
b57bd51402
Remove WP_USE_MULTIPLE_DB. Introduce init_charset() and set_charset(). fixes #14672
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-26 18:34:18 +00:00
markjaquith
798ba9900d
Leonard Lin was kind enough to relicense his balanceTags() function as "GPL (any version)" instead of "GPL v2.0." http://github.com/lhl/balanceTags/blob/master/README
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-26 15:43:32 +00:00
ryan
6ff179a805
is_* WP_Query methods. Props mdawaffe. fixes #14494
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 18:05:33 +00:00
scribu
ab4fc9bba9
Rename admin-table.js to list-table.js
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 01:59:13 +00:00
scribu
593bd95cea
munge admin-table.js & minify jquery.query
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 21:44:25 +00:00
scribu
3a1d872cfd
Move list table deprecated functions to wp-admin/includes/deprecated.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:33:56 +00:00
scribu
91a362c574
Deprecate get_hidden_columns(). Fixes #14651
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:30:18 +00:00
scribu
f01476fb54
Add register_column_headers() and print_column_headers() to deprecated.php to prevent fatal errors in plugins. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 00:26:48 +00:00
scribu
196de8fce6
Use adminTable to refill #the-extra-comment-list. See #14637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 00:06:51 +00:00
scribu
fbca3e400c
refactor admin-table.js code
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 21:02:24 +00:00
markjaquith
e55cf70e35
Do not attempt to clear post cache for post ID 0... that will recursively destroy your server
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 06:50:53 +00:00
scribu
f2614ac277
Safer hierarchical display check. Fixes #14600 ; See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-16 01:36:21 +00:00
scribu
bf4a46cd9f
Round th corners. Based on patch by wedsxcrfv. Fixes #14613
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-15 11:02:31 +00:00
scribu
c6056827ed
Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596 ; See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu
17cc67eb45
Fix ajaxification in network area by using ajaxurl. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 00:45:40 +00:00
scribu
020ce73746
Ajaxify list-type screens in the admin. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
ryan
5f30d3e9a0
Add user_meta to global groups. see #14475
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 21:30:06 +00:00
ryan
21e3f0f7fa
Network Admin, first pass. see #14435
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 20:34:54 +00:00
nacin
2f90a8c63c
Ensure we're checking when looking for is_super_admin() in map_meta_cap(). Bump DB version.
...
fixes #14454 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-29 21:58:58 +00:00
markjaquith
7944bd5d82
These are not verbs. http://notaverb.com/badbad_verbs
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-27 18:02:45 +00:00
nacin
65c1243ce3
More curses on PHP 5.0.5. see #13757 , fixes #14160 . for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-25 07:35:59 +00:00
nacin
9f1d1ba7fa
Add unregister_nav_menu(). props jorbin, fixes #14001 for 3.1.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 20:50:11 +00:00
ryan
53d9320180
Temp fix for canonical redirects of taxonomy links containing non-ASCII bases. Props nbachiyski. see #14201
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 20:08:21 +00:00
nacin
620ec5d87e
Disable the visual editor in iOS. props azaozz, simonwheatley. fixes #13326 for 3.1.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 17:23:44 +00:00
ryan
a0289e8ce8
Clean up wp_update_themes(). Fix reporting of active theme. Props josephscott. fixes #14381 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 13:24:41 +00:00
nacin
34e43c7bce
Doc update for [15402]. fixes #14301 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-21 00:50:01 +00:00
nbachiyski
22bc77ccee
Do not include newline character in the beginning if the database error string
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-19 20:35:15 +00:00
ryan
614d734492
Remove rededundant code. see #14292
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-18 14:06:14 +00:00
ryan
d59d54b09d
Hex octets are case-insenstive. Don't 301 when the only octet case differs. Props hakre. fixes #14292 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-18 13:46:35 +00:00
westi
4a037313e3
Remove debug cruft. See #14315 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-17 11:13:35 +00:00
westi
64100e8783
Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-16 09:40:09 +00:00
ryan
900c2e22d4
If category already exists, return its ID. Restores previous behavior. fixes #14067 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-14 14:12:23 +00:00
nacin
bd703ffa52
get_post_permalink() should take a post ID and pass the post object to the filter. Note that the filter received a post object previously as the variable. props filosofo, fixes #14299 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:56:49 +00:00
nacin
e3dcb82e26
Don't throw 404 in the backend. fixes #14088 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:47:12 +00:00
nacin
38ce17e03b
Prevent the same menu item from receiving duplicate IDs if the menu is used twice. All menu items now get a class with their post ID; only the first item now gets an ID. fixes #13976 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:30:59 +00:00
ryan
8513fbef01
Sanity check properties in wp_get_single_post(). Props filosofo. fixes #13904 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:30:09 +00:00
nacin
113a26770f
Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:27:05 +00:00
nacin
5fb64228d8
Have wp_set_post_terms return wp_set_object_terms. fixes #14301 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:01:48 +00:00
ryan
3a5154435e
Perform strict equality comparison. Props shawnparker. fixes #13350 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-12 15:28:31 +00:00
ryan
44e222d5ae
Add equal sign to blacklist. Props Pádraic Brady. for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-12 14:30:39 +00:00
markjaquith
57deb5ec03
More judicious Wordpress-to-WordPress correction, to avoid bungling reasonable URLs. fixes #13971
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-08 19:35:29 +00:00
nacin
e965180dc1
Pass feed type from the_content_feed to get_the_content_feed. props peaceablewhale, fixes #14214 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-06 20:41:07 +00:00
nacin
69b10a2948
Restore trackback_rdf(). reverts [13991]. fixes #11139 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-03 05:55:04 +00:00
dd32
ea54f7f91c
Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-02 07:52:14 +00:00
ryan
ffba502e8c
Don't use deprecated function. Blacklist curlies.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 17:46:37 +00:00
dd32
a14d289755
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 00:05:18 +00:00
dd32
c22f156a8a
And the rest of r15353. See #14147
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 23:54:39 +00:00
dd32
1c986a3e88
Tabs are so much nicer than spaces.. Props jorbin. Fixes #14147
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 23:52:33 +00:00
ryan
088aff8699
Use get_post_types() to create list of hierarchical post types. fixes #14079 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 14:10:54 +00:00
nacin
1017822b6f
Deprecated doc cleanup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-28 10:11:41 +00:00
nacin
e91e34be6a
Remove a @todo. see #14014 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:25:29 +00:00
ryan
9a032e6eef
Fix inverted logic in [15331]. see #13934
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:17:33 +00:00
ryan
6c31f32be1
Don't perform current user ops in switch_to_blog() or restore_current_blog() if init hasn't fired. Avoids wp_get_current_user() not defined error when those functions are run before init. Ops on current user prior to init are meaningless anyway. see #13934
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:16:06 +00:00
nacin
b3c30fe1ff
WPMU->Network Codex link updates. props wpmuguru, see #14014 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:15:43 +00:00
ryan
24be098207
Fix is_site_admin() when passing a username. Props francescolaffi. fixes #14046
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 15:11:36 +00:00
nacin
0a21a349fb
Fix typo in php comment. props Utkarsh, fixes #14072 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 06:26:40 +00:00
ryan
a00f656cbc
Fix current page detection for home when index.php is in the requested URL. Props filosofo. fixes #13977 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 17:39:29 +00:00
ryan
cf17e68308
Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:07:11 +00:00
ryan
81e213c211
Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:01:29 +00:00
ryan
6582f99bf2
Pass ID to is_super_admin(). Props bigdawggi. fixes #14066 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 14:49:23 +00:00
nacin
d77e093aba
Some whitespace in WP_HTTP. props hakre, see #13897 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-23 14:26:57 +00:00
nacin
b7ac72a92b
Assign menu-item-home also when menu item isn't current. props filosofo, see #14053 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-22 22:05:43 +00:00
dd32
d33463f89d
Fix typo in wpmu_signup_blog_notification() and wpmu_signup_user_notification(). Props mdawaffe. Fixes #14002 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-20 04:12:03 +00:00
dd32
9615351ae6
Some coding standards cleanups for WP_HTTP. Props hakre for initial patch. See #13897
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:02:09 +00:00
dd32
b55852aad0
Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 06:54:21 +00:00
nacin
194181c6e5
Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-18 05:37:45 +00:00
ryan
6c8477d684
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-17 19:27:56 +00:00
ryan
39f4e9173c
3.0
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-17 15:59:07 +00:00
ryan
6ac19c2928
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 22:21:08 +00:00
ryan
d053a4f707
Avoid var name collision. see #13929
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 21:46:42 +00:00
ryan
7d6d546f33
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 19:45:57 +00:00
ryan
b0f05715e9
Make dbh parameter to select optional for plugin back compat. Don't pass by ref to preserve PHP 4 support. fixes #13914
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 19:28:01 +00:00
ryan
bfd7a6b75b
Retern variable to avoid notice in PHP 4.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 19:11:44 +00:00
nacin
d22bec05b6
Two birds with one stone. fixes #13902 , props ocean90, wahgnube. fixes #13555 , props hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 20:31:44 +00:00
markjaquith
e3d5fb602b
Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 20:07:02 +00:00
ryan
15bbb301b4
Remove trailing whites
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 23:39:35 +00:00
ryan
6423bfd5db
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 21:41:11 +00:00
ryan
59362ab139
Menu ancestor fixes. Props filosofo. fixes #12812
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 21:19:55 +00:00
nacin
f98fc6e766
Add missing filter to wp_get_nav_menu_items(). props filosofo, fixes #13858 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 20:50:55 +00:00
nacin
35a3cdce98
Fix IE8 line-height of title input. props ocean90, fixes #13890 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 20:48:24 +00:00
nacin
48bc4e220c
Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:52:30 +00:00
nacin
40e4de4ba8
Treat trash/untrash of posts associated with media items the same as other stati changes. props koopersmith, see #13822 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 08:33:48 +00:00
dd32
0122124ee0
Fix PHP Notice in Revisions comparison. Props filosofo. Fixes #13853
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 01:34:18 +00:00
markjaquith
ce78b2c33f
Update jQuery UI to 1.7.3 (small maintenance update with three little changes). props aaroncampbell. fixes #13868
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-13 10:39:20 +00:00
westi
48c70855bb
bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-12 21:25:48 +00:00
nacin
a7feda2506
Fix two sprintf placeholders in a WP_I18N string. props demetris, fixes #13865 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-12 21:00:08 +00:00
ryan
d6a33e28ea
RC3
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 20:30:04 +00:00
ryan
5ecd1f31f2
Trim trailing whitespace.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 20:19:35 +00:00
ryan
5345acbf26
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 18:17:23 +00:00
ryan
29b2070ac9
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 18:07:15 +00:00
westi
fae09eb1d1
Fell the dead wood. No point keeping a function as deprecated we only just introduced. See #13747
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:55:08 +00:00
nacin
6310ca6f21
Don't use deprecated functions. props filosofo, fixes #13854 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:49:35 +00:00
nacin
2eadcb9aef
Fix warnings related to static pages. props zeo for initial patch. fixes #13830 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:04:06 +00:00
wpmuguru
7d84b75d72
fix warning when page on front missing, see #13830
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 16:30:59 +00:00
wpmuguru
d956d4ba27
add ancestor classes for taxonomy objects, props filosofo, fixes #13831
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 16:00:29 +00:00
ryan
c614b6d0a2
Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:53:41 +00:00
wpmuguru
9eaf91db65
hide unpublished items on frontend nav menus, props filosofo, fixes #13822
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:34:32 +00:00
dd32
b5838fcce2
re-minify wp-admin.dev.css after r15215. See #12225
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 12:42:40 +00:00
nacin
975b2cdb6d
Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 05:19:36 +00:00
nacin
e82cadea33
Fix admin menu background for long names. props JohnONolan, fixes #13803 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 00:42:09 +00:00
westi
e85cb9a279
O'Malley sez bump me pls
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:43:47 +00:00
wpmuguru
74d9ba3159
allow custom content dir in WP 3.0 main site, fixes #13733
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 19:37:51 +00:00
nacin
69164abe07
Improve the custom background front-end callback. Also, background-attachment should default to scroll, not fixed. fixes #13751 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 18:28:25 +00:00
nacin
e13e6254dc
Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:57:30 +00:00
nacin
1e732357a2
Don't specify a background for the default RSS widget's icon. props lancewillet, fixes #13719 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:49:55 +00:00
nacin
af612805e8
Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 16:07:33 +00:00
ryan
930711454f
Fix global post stomping in get_post(). Turn get_page() into an alias of get_post(). Props westi. fixes #13753
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 14:55:26 +00:00
ryan
02be42f58d
Remove old hidden columns usermeta keys. fixes #13783
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 14:41:51 +00:00
wpmuguru
d2517b7b02
removed unused validation from activation process, see #13760
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 00:10:12 +00:00
ryan
f46ce5e7bc
Allow assigning an empty menu to a location. fixes #13787
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 22:05:27 +00:00
westi
fe4edfc76d
Mr Bump says hai!
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 21:02:48 +00:00
nacin
10b86ca5f7
Script bump for [15176] and use existing naming convention.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 04:01:12 +00:00
ryan
d68747d9af
Update get_current_user_id() and move to user.php. Props filosofo. fixes #13785
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 15:12:15 +00:00
ryan
33886d651b
Don't force post_status to publish for custom taxonomy queries. fixes #13755
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 14:08:33 +00:00
ryan
5fdd52d2ce
bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 14:02:44 +00:00
ryan
c89b8c3ef2
Resurrect get_blog_list() and get_most_active_blogs() but leave deprecated. Props ocean90. fixes #13773
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 13:56:20 +00:00
ryan
a353af5a41
phpdoc fix. Props duck_
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 13:24:20 +00:00
ryan
76036b069b
Deprecate get_most_active_blogs() and get_blog_list(). Props ocean90. fixes #13773
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 13:00:09 +00:00
dd32
ebe57d5b69
Use the correct variable name. See #13778
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 11:04:51 +00:00
dd32
a0729014b8
Use the correct variable name. Props ScottMac. Fixes #13778
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 11:02:17 +00:00
nacin
1d16e3de6e
Fix phpdoc typo. props demetris, fixes #13781 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 07:44:50 +00:00
nacin
b538f27b0a
++;
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-07 17:41:39 +00:00
ryan
977102dbb1
Typo fix. Props pedger, mattsains. fixes #13740
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-06 14:44:48 +00:00
nacin
f60838c8f9
s/echos/echoes/ in phpdoc. props demetris, fixes #13742 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-06 05:16:32 +00:00
nacin
e10b12eb0c
Script bumps for [15146].
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-05 21:09:55 +00:00
ryan
b39e28ec1b
Fix logic
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 20:11:06 +00:00
nacin
bdd183d1eb
Remove 'popular_items' label for hierarchical taxonomies. see [15140], [15141]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 19:21:06 +00:00
ryan
78bc6f2877
Make upgrading global so maintenance_nag() can see it. see #13721
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 15:16:17 +00:00
ryan
5a4c8048f7
Better ms lang file check. Props ocean90. fixes #13706
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 12:59:44 +00:00
ryan
1084f71a34
Fix ms lang file check. Props ocean90. fixes #13706
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 12:53:44 +00:00
westi
d2cca478ef
bumpity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 07:27:18 +00:00
nacin
378e597a30
Bump.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 21:54:59 +00:00
nacin
dacccec2f7
Prevent 'Enter menu name here' menus, and offer some feedback. props koopersmith, fixes #13703 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 03:33:54 +00:00
nacin
58490ec182
Hide the 'Close' link in nav menu no-JS. The Cancel link should suitably handle the modified workflow. props ocean90, see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 22:47:42 +00:00
nacin
6789149d20
Let's not emphasize that multisite might as well be its own language. fixes #13706 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 21:11:37 +00:00
westi
4c7dc10d60
Let the filters know its a sample permalink. Props yoast.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:52:22 +00:00
ryan
17129fb62e
Cut 'em out, move 'em on, trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
ryan
a2b95178e4
Whitespace cleanup. Props zeo. fixes #13678
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 19:56:19 +00:00
ryan
bc5df27659
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 17:58:57 +00:00
nacin
60bc51c308
Add menu_id to wp_nav_menu() and move container_id to the container. Set the container arg to false to not use a container. fixes #13669
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 17:04:07 +00:00
ryan
d4c5f9b0cd
wp_get_nav_menus filter. Props filosofo. fixes #13702
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 16:31:42 +00:00
nacin
a161f9bdcd
Ensure we're only auto-adding root pages to menus. fixes #13447 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 15:08:03 +00:00
ryan
23ad4b4ef0
Remove debug. fixes #13670
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 15:00:09 +00:00
ryan
43c22c1e5b
IIS rewrite fixes. Props duck_, ruslany. fixes #13679
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 14:58:36 +00:00
ryan
dd66d99477
Make _pad_term_counts custom post type aware. Props reko. fixes #13670
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 14:55:33 +00:00
ryan
3410a00cb6
Pass args to wp_list_categories filter. Props momo360modena. fixes #13682
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 14:02:54 +00:00
ryan
2c07470d40
clearstatcache() after writing files. Props momo360modena. fixes #13683
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 14:01:21 +00:00
ryan
0dd1323350
Consolidate nav menu class assignments. Props filosofo. fixes #13664
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 13:48:26 +00:00
ryan
497f4dfee7
Nav menu API cleanups. Props filosofo. fixes #13696
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 13:43:46 +00:00
ryan
bf354522bd
Use import cap. Add old edit_files cap to list of caps to shutdown if DISALLOW_FILE_EDIT. see #13681
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 18:08:27 +00:00
ryan
1f60247343
Add export capability. fixes #13681
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 18:02:05 +00:00
ryan
73e28ef8d2
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 17:29:42 +00:00
nacin
cb88a1c972
Introduce has_nav_menu(). Returns boolean whether the theme's registered nav menu location has a menu assigned to it. props greenshady for the idea.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 16:40:14 +00:00
ryan
d1d63b81d5
Remove login-header.png. Use CSS3 with fallback color. Login RTL fix. Props ocean90. fixes #13587
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 15:54:00 +00:00
ryan
98111ddf95
Don't add sticky class if is_paged(). Props iandstewart. fixes #13666
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 15:03:49 +00:00
ryan
5c15c3a615
Add colors-fresh and colors-classic to rtl_styles so that suffixes are handled properly. fixes #13676
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 14:23:56 +00:00
nacin
9ee19ac71f
/me bumps versions.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 21:49:13 +00:00
wpmuguru
b41ce8cb18
add rewrites for registration pages, fixes #13638
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 20:50:27 +00:00
nacin
760277c95e
Nav menu improvements. props koopersmith. RTL support for tabs, better tab handling, other improvements. see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 20:22:49 +00:00
nacin
34ff99fb59
Use correct element in jQuery selector. props ocean90, see #12186 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 16:30:02 +00:00
nacin
332bac61a1
Cleanups.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 16:11:20 +00:00
nacin
a57f8861e6
Move the Walker_Nav_Menu_Checklist class to admin/includes.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 15:47:53 +00:00
nacin
44b9c9812f
Remove vestigial 'context' code for wp_nav_menu. This was used when we used to use the same function as a theme template tag and admin template function (now we don't.) fixes #13656 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 14:54:50 +00:00
nacin
982f8a95f1
Don't fall back to pages list in the menus widget. props filosofo, fixes #13634 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 14:15:28 +00:00
markjaquith
100e81c448
Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 06:33:46 +00:00
westi
dc657c74fc
Bumpity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-30 21:37:19 +00:00
markjaquith
945b9b66be
Default Google Gears ignoreQuery to true in manifest. see #13562
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-30 08:45:50 +00:00
nacin
b69c4270ca
Fix a default taxonomy label. props michaelh, fixes #13624 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 20:45:31 +00:00
nbachiyski
22342a502d
Better detection whether we are on the Network page. Use custom constant to tell us. See #13565 , props nacin
...
We used to load multisite translations each time WP_ALLOW_MULTISITE was defined, but
it could lead to alot of false positives. Generic config files can include to allow
users to updgrade to multisite without further editing the config file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 20:35:19 +00:00
nacin
37604414c4
Full no-JS and IE support for [15062]. fixes #13615 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 20:33:48 +00:00
markjaquith
7aa4551ec7
Do not load window.onbeforeonload event if we are not on an existing nav menu. props filosofo. Reduce opacity on nav menu postboxes if we are not on an existing nav menu, and for JS users, deactivate all links and form elements, to make it obvious that those UI elements are not usable at this stage. fixes #13615
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 19:39:40 +00:00
wpmuguru
09b6284057
bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 18:23:47 +00:00
nacin
332c2773e0
Use show_in_nav_menus for attachments. Also add it to register_taxonomy for consistency and have it default to public, not show_ui, like post types. see #13621 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:46:46 +00:00
nbachiyski
ad5f0e1b02
Load multisite strings POT file only on multisite requests. Fixes #13565
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 15:32:43 +00:00
wpmuguru
1c6f95023b
strip www before adding subdomain when creating new site
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 00:32:10 +00:00
nacin
35d800986f
Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 23:04:00 +00:00
nacin
fd7fe309c8
Allow the text labels in the multisite elements of the Right Now dashboard widget. Fixes display with narrow columns due to screen options or browser window width. props ocean90.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 22:40:56 +00:00
nacin
0d09181552
Don't show double-AYS for deleting a menu. props filosofo, duck_. see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:38:19 +00:00
nacin
06fc1036de
Give translators a little more room with nav menu meta box tabs. see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:34:27 +00:00
wpmuguru
daba4756cc
don't clobber term if sitecategories doesn't exist, fixes 13482
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:03:29 +00:00
ryan
b68acfa6b3
Unique menu container ids. Props filosofo. fixes #13597
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 16:32:57 +00:00
nacin
554ef33c03
Bump.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 02:36:49 +00:00
nacin
3e747c6eae
RC 1.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 01:38:29 +00:00
nacin
549ec140b9
Custom background UI tweaks. Make 'Select Color' a link instead of a button, move color below the background image options, standardize screen reader text.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 00:01:59 +00:00
nacin
4b9021ce98
Menu touchups. see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:45:52 +00:00
nacin
15a1a43cd1
New pending menu item behavior. props filosofo, see #13579 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:22:09 +00:00
westi
ad95bd3f19
↑↑↓↓←→←→BA
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 21:44:07 +00:00
markjaquith
4a1321c8ee
Initialize instead of using isset(). props nacin. see #13556
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 20:41:36 +00:00
markjaquith
2ac2f215b2
Tweaks to wp_constrain_dimensions() for better fits and consistency. fixes #13556
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 20:37:42 +00:00
nacin
00192e27a5
Add JS var isRtl to admin-header and remove unused JS localized vars for nav-menu. see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 18:57:07 +00:00
nacin
c3cf7e4ee0
Forever eliminate 'Wordpress' from the planet (or at least the little bit we can influence). props matt.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 16:11:27 +00:00
nacin
a324b52cc5
Some minor IE6/7 tweaks for menus. props ocean90, see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 13:54:14 +00:00
nacin
844226a1d8
Some inline doc updates for get_post_type_capabilities and get_post_type_labels. props MichaelH, fixes #13573 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 12:44:08 +00:00
nacin
5d2bff3f98
Use word-wrap:break-word in the nav menus. props ocean90, fixes #13574 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 12:42:09 +00:00
dd32
f0c63decb0
Fully implement the 'delete_themes' capability. See also r13547
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 09:49:38 +00:00
westi
c1c0effc6a
Improved translation of the comment count in theme-compat. Props zeo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 08:52:14 +00:00
nacin
4de1c8edf4
Add some educational tips. Suggest using add_image_size() in the inline docs for image_get_intermediate_size() and wp_get_attachment_image(). props jorbin. see #13556 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 05:03:46 +00:00
nacin
609e5cfd9a
Use orange for the plugin install thickbox button, not the new gray for update notification bubbles. fixes #13474 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:50:11 +00:00
markjaquith
6655fa6bc7
Use the correct array members of image_resize_dimensions() result when calculating best match for dynamic HTML image resize. fixes #13556
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:40:14 +00:00
nacin
c029f47d0e
Clean up the menu name/actions section. see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:19:23 +00:00
nacin
addcd21cc0
Fix order of params to strpos. props ampt, fixes #12115 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:14:35 +00:00
nacin
2bd40396a9
Don't show expand/collapse menu bit for menu meta boxes except on hover. props duck_, see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:28:23 +00:00
nacin
da7b990fb5
Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:24:33 +00:00
nacin
2019e0a25c
Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 21:30:00 +00:00
westi
2a4783ca35
tick tock
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 20:55:51 +00:00
markjaquith
7baab2607d
Properly redirect custom post type URLs in redirect_canonical(). fixes #13561
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 19:56:26 +00:00
nacin
28a80ce82a
Final bit of escaping in feeds. fixes #13555
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 18:30:51 +00:00
westi
11f0a387cd
Some more url escaping in feeds. See #13555 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:47:29 +00:00
westi
8b4a635d8b
Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:27:18 +00:00
nacin
dd9d57ec6a
Consider 'auto-draft' a draft in get_post_permalink(). prevents custom post types from getting borked GUIDs. see #13555
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:25:57 +00:00
westi
b54183ae4c
Escape the guid urls when placing them in feeds and other xml locations. See #13555 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:01:21 +00:00
ryan
b7947aee30
No default value for pass by ref. Props filosofo. fixes #13553
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 16:25:29 +00:00
ryan
65c6c9a3bd
Make classes property for menus an array. Props filosofo. fixes #13551
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 15:41:21 +00:00
ryan
b085c18258
More menu class back compat. Props filosofo. fixes #13543
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 14:18:46 +00:00
nbachiyski
6b09078e2f
Focus on category field when adding a new category in the write panel
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 09:17:40 +00:00
nacin
039ba88d09
Ensure auto-added pages are both published and sent to the end of the menu. Tiny enhancement and optimization to wp_update_nav_menu_item come with it. fixes #13447 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 06:59:14 +00:00
nacin
c0289daf99
Don't store nonexistent (deleted) menus in the auto-add option. see #13447 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 05:11:46 +00:00
nacin
c490ca0680
Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 04:01:14 +00:00
nacin
4e3c7fddd0
Prevent super admins from shooting themselves in the foot. props jorbin. Checks blog names against an array (filterable) of reserved keywords for subdirectory installs. fixes #13304 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:13:16 +00:00
ryan
1a552dd029
Strip trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
nacin
15d96a96b9
Handle current menu item classes for post pages. props filosofo, fixes #13543 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:38:31 +00:00
nacin
cb826a30ff
New admin menu notification bubble color. props JohnONolan, fixes #13474 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 00:59:15 +00:00
nacin
b0e128e69b
Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 00:41:18 +00:00
wpmuguru
b8187fcd54
allow main site 404 URL to be filtered, fixes #12758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 23:41:36 +00:00
ryan
cf3466579b
Menu notice and stlying fixes. Props filosofo. fixes #12812
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 21:44:34 +00:00
nacin
16f79e5377
Remove unused/duplicated/undocumented post type object label. see #13539
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 19:25:27 +00:00
nacin
479d1d3617
Fix typo. props rovo89, fixes #13494 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:59:20 +00:00
nacin
b04dfafeac
Use a post type object label for edit_post_link's title attribute. props sc0ttkclark.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:55:51 +00:00
ryan
57b34ed1a4
Back compat menu classes. see #12812 #13379
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:54:42 +00:00
nacin
8aae431b3a
Use a filter instead of a new NO404REDIRECT constant. see #12758 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:12:14 +00:00
ryan
7d1d1015f5
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:47:52 +00:00
donncha
22305da3a3
Cast "public" as an int to ensure it gets set correctly.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 16:57:32 +00:00
ryan
31b8da5ae5
Classes for posts and terms in the menus. see #13379
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 16:51:09 +00:00
nacin
542c648ac5
Give is_singular the ability to provide awareness/context for custom post types. props ryan, scribu. Usage: is_singular('book') or is_singular( array( 'newspapers', 'books' ) ). fixes #12588 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 15:36:23 +00:00
wpmuguru
ec8d5fee12
cleanup $indents, props filosofo, see #12758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 15:31:28 +00:00
ryan
432d56981e
Don't set default category when saving an auto-draft. fixes #13531
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 14:43:39 +00:00
ryan
3403e7eb8f
Add ancestor classes. Props filosofo. see #12812
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 14:25:06 +00:00
nacin
913dd27ef5
Allow pages to be added automattically to menus. see #13447 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 13:49:56 +00:00
ryan
c99361e78f
Add parent classes to nav menu. Props filosofo. see #12812
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 13:30:10 +00:00
wpmuguru
d8fe68385d
ensure unique term_id when global terms enabled, see #13482
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 07:24:10 +00:00
wpmuguru
6eb9b64e22
update rewrite rules for IIS, props Frumph, see #12758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 05:12:47 +00:00
nacin
5c5a6d4d73
New 'on' state for admin menus. props JohnONolan, see #13486 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 02:47:43 +00:00
ryan
52f05426e0
Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 02:18:07 +00:00
wpmuguru
569642dd32
give static var initial value, fixes #13517
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 00:31:07 +00:00
wpmuguru
a4e59b62eb
eliminate warning in global_terms(), global to static, fixes #13517
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 00:13:03 +00:00
westi
6c817a180c
New high score!
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:28:37 +00:00
westi
b5820d2934
phpDoc updates.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:26:49 +00:00
nacin
10562923ae
Remove now-unused post_type_object->labels>edit, which was 'Edit' (with context). see #12968 , see #11274 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:19:29 +00:00
nacin
7df33632b7
Even better, remove all UI for global terms. Add a filter to global_terms_enabled() and also allow the site option to simply be deleted. fixes #12666 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 20:45:59 +00:00
nacin
7a5d3f2688
First pass on better UX for menu item save. props koopersmith, see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:50:20 +00:00
nacin
64601e97ae
Invalidate header/background images for the current theme when the attachment is deleted. props ocean90, fixes #12467 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:42:43 +00:00
nacin
9d1d7a20ad
s/navigation menu/custom menu/. props jane, duck_. fixes #13519 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:31:31 +00:00
donncha
e2edbfc768
Added $meta to "wpmu_new_blog" action
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 17:26:21 +00:00
ryan
27015b92ee
Fix update label for link categories. Props duck_. fixes #13515
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 16:09:52 +00:00
ryan
8b5b7a7e75
Remove already exists check for passed in slug. fixes #12349
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 15:56:50 +00:00
ryan
7f96fff66f
Don't issue dupe slug error if provided slug matches name derived slug. fixes #12349
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 15:49:12 +00:00
nacin
f15cdc78cf
Menu tweaks. Save menu locations when saving the menu. Also, centralize theme support checks and add them to menu.php. Improve some branching. Remove some old JS vars, add a missing semicolon, etc. props koopersmith. see #13378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:23:56 +00:00
nacin
35a9bc1670
Properly format menu item title attributes and descriptions. props ryan, fixes #12864 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:56:51 +00:00
nacin
231be64801
Proper checks for current-menu-item. props duck_, fixes #13409 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:01:08 +00:00
westi
75897a5ee3
roll on tomorrow
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 21:05:36 +00:00
dd32
6f9650046a
Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:29:00 +00:00
dd32
9991d1d735
Increase height of Theme install thickbox to remove useless scrollbars. Props ocean90
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:04:24 +00:00
dd32
0821c7163b
Better display handling of error messages during swfupload uploading. Fixes #12225
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 10:59:52 +00:00
westi
0c850182dc
Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:58:06 +00:00
dd32
378f68a0a0
Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:49:21 +00:00
westi
c4e2c65edb
bump bump bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 21:11:03 +00:00
ryan
db35b95450
Use filters instead of action in wp_login_form(). see #11172
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 13:52:25 +00:00
ryan
2a99808ad2
Email messages should be plain text. Props arena. see #13488
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 13:48:38 +00:00
nacin
c84bc2e846
Pixel sanity check. props filosofo, fixes #13470 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:35:37 +00:00
nacin
0eacbe94f6
Script loader bump, and revert new orange that snuck in. see #13441 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:32:02 +00:00
ryan
3841acea6c
Don't look for a fallback menu when a specific location is requested. Props tinkerpriest. see #13378
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 20:28:11 +00:00
nacin
8d4a9a7568
Notice sanity check. fixes #13484 , props etiger13.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:02:36 +00:00
ryan
5659224918
Update phpdoc for wp_insert_term(). Props prettyboymp. fixes #12482
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:19:56 +00:00
ryan
a05a51829a
If slug and name match an existing term in the same taxonomy at the same hieararchy level return error. fixes #13481
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:03:53 +00:00
ryan
7d01ad3a49
Check for siblings only if term already exists in the same taxonomy. see #13119
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 16:03:35 +00:00
nacin
f9783ba838
Some sanity checks -- make sure we have a valid post author user object before checking if the current user is the author.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 15:15:32 +00:00
nacin
e85693b8a9
False alarm, something else is going on here. Revert [14780], restore [14695]. see #13317 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 15:08:07 +00:00
nacin
39af37992a
Revert [14695]. We need to be a bit less strict. see #13317 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 15:03:54 +00:00
ryan
bc596e1533
Fix showing selected for none. Props johnbillion. fixes #13468
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 14:35:39 +00:00
dd32
bde0019142
Clone Objects in add_option()/update_option() to prevent storing PHP5 object references in memory cache. See [9740]. Fixes #13480
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 14:15:59 +00:00
nacin
79f077c6f6
Custom background UI updates. Add padding to radio buttons, also convert repeat/title to radio buttons. props JohnONolan, see #12186 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 03:31:35 +00:00
nacin
870f3ab1c8
New screen options tab design. props JohnONolan, fixes #13477 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 03:20:25 +00:00
nacin
49437c3491
Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 22:43:14 +00:00
westi
f268a16a8b
First pass of conversion of theme-compat to the I18N version of the files. See #12425
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:53:11 +00:00
nacin
acf5d97586
Shake away old files during the upgrade process. see #13307 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:44:33 +00:00
westi
82f53de54b
bumpity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:43:18 +00:00
westi
e8b8361ffe
Attempt to make stripslashes_deep object safe. See #12860
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:16:44 +00:00
nacin
3f443689ed
Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:05:16 +00:00
nacin
337df6e337
Remove AYS for deleting a menu item. fixes #13330 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 14:55:11 +00:00
nacin
8475725f54
Context and translator comments for revisions column names. props dimadin, fixes #13434 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 19:20:22 +00:00
ryan
f1f5f4f8f7
Order menu tabs by name. Allow passing args to wp_get_nav_menus() which are passed on to get_terms(). Default orderby for wo_get_nav_menus() to none since most requests won't care about order. fixes #13334
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:52:37 +00:00
ryan
b5619ffd0c
Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:39:48 +00:00
ryan
caf573b721
Fix viewing autosave revision for custom post types. Props duck_. fixes #13110
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:36:52 +00:00
westi
b5b2fd3c8f
Mark the ULs containing child pages in the page Walker. Fixes #13254 props GDragoN.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 17:24:28 +00:00
ryan
e7f50f9bfe
Add docs for ->insert_id. Props scribu. fixes #13439
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 16:07:42 +00:00
markjaquith
31dd323f01
Add AYS notice on unsaved menu changes. see #12472
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 09:56:02 +00:00
markjaquith
1ba9fe08af
Add missing border to media upload frame. fixes #13430 . props ocean90
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 07:03:24 +00:00
markjaquith
20cb3ed21b
Add nonce protection for setting/removing featured post image. fixes #13438
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
ryan
af59c18f45
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 20:14:03 +00:00
ryan
d9da871cbd
Remove interface.js. Unmaintained, doesn't work with jQuery 1.3, old, crusty, starting to smell like Miss Havisham's cake. fixes #13442
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 18:34:36 +00:00
ryan
e070242b59
Remove old metaboxorder settings. see #13424
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:30:05 +00:00
ryan
bc1bf148e4
Add nonce to menu-locations-save. Props koopersmith. see #13378
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:16:58 +00:00
nacin
77a67b3fed
Inline docs for menu location functions. props jorbin, see #13378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 05:59:25 +00:00
nacin
c370c84d19
Remove autocomplete and codepress. for autocomplete, see #13283 . for codepress, see #13307 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 03:48:22 +00:00
nacin
f02fddce86
Save menu locations meta box via ajax. see #13378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 23:58:56 +00:00
ryan
f0076eed1c
Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:39:36 +00:00
ryan
72d07941c7
Update _fill_many_users() phpdoc. Props miqrogroove. see #13319
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:23:35 +00:00
ryan
8f777718c9
Introduce get_term_feed_link(). Use it in wp_list_categories(). Props blepoxp. see #13058
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:21:12 +00:00
wpmuguru
9fb13d2cba
use network_home_url in get_blogaddress_by_name, see #12735
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 22:21:06 +00:00
wpmuguru
021179162a
improvements to get_home/site_url, props andreasnrb + code cleanup, see #12735
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 21:58:31 +00:00
westi
01389755c7
Make get_attachment_metadata() loop safe.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 21:00:00 +00:00
westi
746846da5b
Bumpity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:48:09 +00:00
westi
ba0ff79ca9
Switch to checking on tt_ids for the category lookup to ensure in_array call is PHP4 compatible. See #13410
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:47:18 +00:00
westi
6881380fc0
Don't return data for user 1 when passed in junk like an array. See #13317 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:34:02 +00:00
westi
3a3cce834a
Fix remaining notice when using closures. Fixes #10493 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 13:41:02 +00:00
westi
86cb0aa6b9
Fix notices/usage of closures as action/filter handlers. Fixes #10493 based on patch from scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 08:10:39 +00:00
nacin
249a6cdd18
Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:38:58 +00:00
nacin
2f7f75511b
Clarify that link_before and link_after text for wp_list_pages also applies to the current page which doesn't actually have a link. fixes #12247 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:11:43 +00:00
nacin
6c01265794
First pass at fixing search for add menu item boxes. props koopersmith, see #13283 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:39:53 +00:00
nacin
d6e2ef4dbf
Custom background UI updates. props ocean90 for initial patch, see #12186 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:17:57 +00:00
wpmuguru
be5268eefc
show upload limit in media upload UI, see #12853
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 23:57:32 +00:00
wpmuguru
23667bf07e
don't check upload_path in upgraded MU install, see #12549
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 21:53:18 +00:00
nacin
7202c8c0b0
Don't show unapproved comments in comments widget. props jshreve, fixes #10615 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 21:44:12 +00:00
westi
1664674948
Don't trim whitespace from sections of the response in IXR_Client. Fixes #12559 props apeatling.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 21:04:26 +00:00
westi
c0e3fe47bc
Bumpity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:59:02 +00:00
nacin
051c2814da
More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:36:49 +00:00
nacin
0f377dabc0
Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 15:05:57 +00:00
ryan
5a1f1bd685
Don't update_post_caches if a persistent object cache is installed. fixes #12611
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 15:00:53 +00:00
ryan
7162ca097e
autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 14:03:46 +00:00
markjaquith
eba281e281
Update media upload window tabs CSS to support wrapping of tabs when they exceed the available width. props edward mindreantre. fixes #10242
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 10:21:10 +00:00
markjaquith
4ab768959d
Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 09:59:15 +00:00
nacin
a2a0b6041b
Also return raw author name and URI from get_theme_data and get_themes. props blepoxp, fixes #12275 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 06:28:35 +00:00
nacin
b0910977a9
Always pass post ID, not post object, to the_title filter. Original the_title filter in get_the_title() uses ID only. props filosofo, fixes #12631 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 05:26:25 +00:00
nacin
00a291c71e
Remove default_comment_status_pages setting from the options table. see #12991 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 05:01:04 +00:00
nacin
5463205114
Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:56:56 +00:00
nacin
7c8a77efa3
Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:47:03 +00:00
ryan
4f88b4bf60
register_post_type phpdoc updates. Props michaelh. fixes #13398
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 22:26:07 +00:00
nacin
c6d21e7fbb
Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 21:46:25 +00:00
westi
15f373629a
Restore the correct behaviour of bloginfo('text_direction'). Fixes #13360 . See #13206 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 21:22:14 +00:00
ryan
d7ff950bb9
Don't output empty title. Props mattwiebe, ptahdunbar. fixes #13240
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 18:52:59 +00:00
westi
83ae6a51ea
Introduce __return_empty_array() and use it instead of create_function in the theme preview.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:55:26 +00:00
westi
366d182843
Bumpity Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:48:29 +00:00
westi
9570dfc394
Introduce __return_zero() and use it instead of create_function in the login header.
...
Also add version info to __return_true and __return_false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:46:53 +00:00
nacin
37ce82fd24
Use valid HTML in the theme editor. span instead of div inside an anchor. props Utkarsh, see #13383 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 07:04:17 +00:00
nacin
a743de0788
First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:20:30 +00:00
nbachiyski
c1dea00b62
Keep label as a quick way to set up a taxonomy/post type, without diving into the labels array. Deprecate singular_label while there. Props nacin. Fixes #13357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 02:13:49 +00:00
nacin
ab0cf8d942
Add closing tr tag to custom-background.php. Close paragraph tags in the recent comments and posts widget controls. props jshreve, see #13383 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:50:46 +00:00
nacin
3f796315da
Only save menu item positions on save. Had implications for draft items otherwise. see #13337 , props koopersmith.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:32:48 +00:00
nbachiyski
4cf46b6d96
I18n for custom taxonomies. Fixes #13357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
wpmuguru
21bef33fc6
add menu slots/theme_menus, props ryan, see #13378
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 22:14:54 +00:00
nacin
b38af2d56d
Check if HEADER_ constants are defined before continuing. props ocean90, fixes #13367 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 21:44:37 +00:00
wpmuguru
24f2415b80
block ms-files.php when not multisite, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 21:40:42 +00:00
westi
08fc51b214
Introduce wp_reset_postdata(). Use it to reset the post global for the current query_posts() call after using a loop with a new WP_Query object. Fixes #12320 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 20:39:54 +00:00
ryan
742db4bc22
get_term_by('id') -> get_term(). Add get_term filters to get_term_by.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 19:16:09 +00:00
nacin
ad1747134a
More wp_navMore inline doc clarifications for wp_nav_menu. fixes #13370 , props jorbin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 19:07:08 +00:00
nacin
08b1d88ef2
More inline doc clarifications for wp_nav_menu. fixes #13370 , props jorbin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 18:47:35 +00:00
westi
175c994615
Add commentary about the posts_search filter. See #10667 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 17:34:43 +00:00
ryan
067fc117cb
Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 17:29:45 +00:00
ryan
531feae685
s/wp_get_nav_menu_item/walker_nav_menu_start_el/ to be more specific. Pass all start_el() args to the filter. Props tomtomp. fixes #13366
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 16:44:12 +00:00
ryan
c53efdc053
Check for WP_Error. Props ptahdunbar. fixes #12949
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 16:34:14 +00:00
ryan
cadfa0dbb0
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 16:00:16 +00:00
ryan
0ce49ca934
Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 15:59:17 +00:00
ryan
ef81c17d3e
Attempt canonical redirect only for public post types. Props solarissmoke. see #13125
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 15:09:43 +00:00
nacin
af91e5264a
Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin
c6572a1d16
Allow wp_nav_menu_items filters to run on the backend as well. props NathanRice, fixes #13371 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 03:50:26 +00:00
nacin
6a3d1484bf
Nav menu inline doc fixes. props NathanRice, fixes #13370 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 03:46:35 +00:00
ryan
7231cc8a56
Don't pass a slug when creating anew menu. This prevents creating a menu whose slug matches a different term in another taxonomy. Props filosofo. fixes #13345
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:23:29 +00:00
nacin
e15c230ffc
Unset capabilities property when we're done. see #13358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:17:38 +00:00
nacin
70f36f6c41
More typos. see #13358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:03:33 +00:00
nacin
1cb8b7d994
Fix typos. see #13358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:57:47 +00:00
ryan
ecb2ff033a
Pass menu id instead of name. Allows menus with commas in the name. Props filosofo. fixes #13368
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:47:08 +00:00
nacin
7734a07cb2
Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:45:18 +00:00
nacin
b2d3b7efa2
Use correct cap check. see #13358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:39:30 +00:00
nacin
3033d58856
Blue scheme for nav menu admin UI. props kpdesign, duck_. fixes #13190 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:31:11 +00:00
nacin
c779fdccf5
Don't nest p tag inside the opening table tag in the new right now box. fixes IE display, and validation. fixes #12202 , props ocean90.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:29:35 +00:00
nacin
7389ea41ea
Use the edit_theme_options capability. fixes #13290 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
nacin
0961da9244
Whitespace and standards in get_userdata. fixes #13317 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 18:59:03 +00:00
ryan
01955d3402
Bumpity bump bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 15:24:31 +00:00
nacin
76c50d8fab
Allow for multiple classes and XFN relationships in menu items.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 23:58:26 +00:00
ryan
4437612d46
Setup user globals for user id 0. Props mdawaffe. fixes #13362
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 23:02:40 +00:00
nbachiyski
46afe7c285
I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00
nacin
918d0832bb
Bump the version alot.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:34:20 +00:00
nacin
b0eb3033ba
Remove apparent debug cruft committed in [14401]. fixes #13355
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:28:12 +00:00
ryan
b2150816f8
Don't update meta data when the new value matches the old value. fixes #13350
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 17:35:07 +00:00
ryan
98b2e56753
Don't order term count queries.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 16:50:25 +00:00
ryan
c7f520240c
Don't set/get tags or categories for post types that do not support them. fixes #13346
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 16:28:00 +00:00
ryan
02058305b5
Don't prime menu item cache if a persistent cache is being used. Prime the menu item cache only on the first call to wp_get_nav_menu_items(). Avoids unneeded queries when wp_get_nav_menu_items() is called repeatedly. see #12734
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 15:55:17 +00:00
ryan
2b930efb74
Unset some vars when done with them to reduce peak memory usage. see #12734
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 14:39:00 +00:00
ryan
a491596163
No need to setup the nav menu items again. wp_get_nav_menu_items() handles it. see #12734
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 14:25:10 +00:00
ryan
69d0ec946e
Reduce number of queries in wp_get_nav_menu_items() by fetching posts and terms with batch queries. see #12734
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 14:21:03 +00:00
ryan
5c48b8b015
Force reauth when auth_redirect() redirects to login. see #12142
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 13:44:40 +00:00
westi
4293dc03db
Kick the version up some more.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:13:35 +00:00
nacin
4e6574f0ac
Revert patch for expecting unslashed data in the metadata API. Had snuck in with [14546]. see #12416 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:51:58 +00:00
nacin
d91623d3d0
Fix double-tabbing in get_dropins.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:41:14 +00:00
nacin
021bb7d9cc
Use correct field name in a query in do_enclose(). fixes #12074 , mtdewvirus.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 09:02:15 +00:00
nacin
a03dfef3fd
Fix typos in phpdoc for comment_form(). props demetris, fixes #10910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 08:47:13 +00:00
nacin
e88d9914de
Remove unused global var. props filosofo, fixes #13316 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 06:06:37 +00:00
nacin
8bd2d0505b
Some sortable improvements in the nav menu UI. props koopersmith, see #13220 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 04:51:57 +00:00
ryan
0c99110a58
Don't call wp_get_nav_menu_items() twice.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 01:11:04 +00:00
ryan
66502fba1a
Allow turning off object_term and postmeta cache updates. Turn off object_term updates in the wp_get_nav_menu_items() get_posts() query to avoid useless taxonomy query.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 00:58:39 +00:00
nacin
616bc49e04
Remove codepress dir. see #13307 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 22:53:25 +00:00
westi
75482afd7e
Bump Bump Bump.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 20:54:12 +00:00
markjaquith
d78b3c9f92
Omit extraneous argument. props coffee2code. fixes #10057
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 07:22:10 +00:00
nacin
2eab801eec
Simplify is_post_type and is_post_type_hierarchical. Make them work like their taxonomy counterparts. see #12588 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 22:10:28 +00:00
nacin
444f8cc6c4
Allow menu items to be dropped on a parent item in addition to just being dragged to the right. props koopersmith, see #13220 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 21:56:53 +00:00
westi
3d610ad782
Bumpity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 21:16:17 +00:00
nacin
4deb7b8b48
Don't use WP_SITEURL and WP_HOME in multisite. fixes #13191 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 19:31:42 +00:00
wpmuguru
54222465f0
consistency & simplicity in get_option(), see #12140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 18:05:16 +00:00
wpmuguru
d1a55c286d
add upload dir support to switch to blog, props ocean90, see #11998
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 22:50:05 +00:00
westi
26a15c00c3
I like alot of version numbers.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 21:07:19 +00:00
westi
5ac646d37d
Restore the strtotime(). See #9285 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 20:57:23 +00:00
nacin
2bf6d14767
Allow duplicate emails (generally empty) if WP_IMPORTING to restore 2.9 behavior. props blepoxp, yoavf. fixes #13130 . see r12778.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 20:35:04 +00:00
westi
73a3f58148
Don't cache option values while installing. See #12140 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 18:32:20 +00:00
nacin
8d7445c3e8
Fix start of week and SQL WEEK handling. props mdawaffe, fixes #10397 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 05:01:29 +00:00
nacin
1c05c2f6e2
Fix to is_post_type. props scribu, fixes #12588 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 04:57:23 +00:00
nacin
d8e2d6d4a9
Standardize returned array keys when output = 'names'. Return numeric keys. Standardizes get_object_taxonomies with get_taxonomies, get_post_types, and get_post_stati. props scribu. fixes #13109 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 03:24:47 +00:00
westi
c24de5caf8
Make wp_get_shortlink() loop friendly. Fixes #13212 props ryan.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 21:20:17 +00:00
westi
6631dd331b
Bump the rev some more for the next nightly
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 21:09:54 +00:00
westi
eda3a209e0
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 20:54:05 +00:00
westi
390a40981f
Improve cross DST future post publishing behaviour to try and publish at the correct time if we have PHP5 timezone support available to help. Fixes #9285 props technosailor.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 20:40:29 +00:00
nacin
e333d5fc61
Use wp_cache_set instead of wp_cache_add in recent posts and archives widgets. props Denis-de-Bernardy, fixes #11580 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 20:40:10 +00:00
nacin
fa23d1edf0
Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:53:40 +00:00
westi
2b9d0dad68
Pass extra context to wpmu_new_blog.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:36:20 +00:00
westi
62141ab55f
Make the recent comments widget use the get_comments() api and cache the result. Fixes #10615 props filosofo and blepoxp.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:31:45 +00:00
nacin
6e33a3ec34
Small fix to r14479. see #13109 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 18:16:39 +00:00
nacin
90a0883b12
Allow get_object_taxonomies to return taxonomy objects. props scribu, fixes #13109 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 18:07:50 +00:00
nacin
6c69044070
Prevent ambiguous table aliases in wp_post_mime_type_where. props stephdau, jfarthing84, fixes #12750 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 18:03:05 +00:00
nacin
40da0a5720
Remove duplicated query var. props lriggle, fixes #13280 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 17:49:54 +00:00
nacin
0a71b5dc8a
Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 17:11:52 +00:00
nacin
625f6d8ad5
Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:13:31 +00:00
nacin
e34150ab5b
Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:09:10 +00:00
nacin
585ea858af
Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:29:50 +00:00
wpmuguru
7c47fba666
use same salts/keys across network, see #12142
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 22:08:53 +00:00
nacin
d63a41ca15
Check custom links, including a home link, against the current URL to see if we should add current-menu-item. props ptahdunbar, fixes #13213 , see #13220 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 22:01:56 +00:00
nbachiyski
8ff9331f75
Cast the result of glob(), because on some systems it returns false on empty result set. Props ipstenu, fixes #13252
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 21:55:34 +00:00
nacin
0ad32e0c61
Revert part of r14429 as it broke HTTP in setup-config. Revisit when we decide to fully deprecate get_bloginfo(url). see #9008 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 21:41:45 +00:00
nacin
1852eae49f
Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 20:48:28 +00:00
nacin
eded683486
Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135 , fixes #13249
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:40:04 +00:00
wpmuguru
96153a63ae
add default comment status setting for pages, props messenlehner, see #12991
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:31:24 +00:00
wpmuguru
1beb7406da
use reset vs offset 0, props scribu, see #13246
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 18:41:38 +00:00
dd32
ce9fce6073
Handle $wp_query->query being a string in r14341. See #12391 , #12047 . Fixes #13241
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 18:08:03 +00:00
nacin
9fb099891f
Add trailing slash to some home_url() calls. props zeo, fixes #13245 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:13:11 +00:00
wpmuguru
94e529cee3
add export property to post types, see #10317
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 16:23:25 +00:00
nacin
950ce6553b
Remove re-adding of filter. see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 16:00:30 +00:00
nacin
0891a9dea0
More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin
7466fadd24
Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
nacin
86c5154557
Clean up whitespace in status/PT/tax registration.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 06:13:28 +00:00
dd32
c843c7edf3
Remove accidental code. See #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 05:48:08 +00:00
nacin
5edbc3d3c7
Revert accidental removal of parse_url(). see #9008 , props PeteMall.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 04:57:22 +00:00
wpmuguru
abed02b32d
use homeurl(), props PeteMall, see #9008
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 00:28:29 +00:00
ryan
2ecda01ce0
Fix user validation feedback. Props sivel. fixes #13162
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:46:42 +00:00
dd32
2bbdd19973
Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:35:22 +00:00
wpmuguru
8c3476d90e
use filter vs action in 14420, see #12853
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:58:04 +00:00
wpmuguru
bc0ae7852f
limit upload size to site's available limit, see #12853
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:40:02 +00:00
ryan
02c300164a
White list instead of black list post types when searching. Props sivel. fixes #13183
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:22:34 +00:00
nbachiyski
7ee70968ce
Refactor get_available_languages() to use glob() instead of *dir functions. See #13023
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:07:31 +00:00
nacin
856f478a9e
Bail when there is neither a menu, or a fallback. props ptahdunbar, fixes #13006 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:03:52 +00:00
ryan
039b8aa6e5
Don't suppress errors when including cron if WP_DEBUG. Props sivel. fixes #11507
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:46:19 +00:00
markjaquith
0c1ce4e9bc
Add some new protocols for KSES. Make the list of protocols filterable. Start esc_url() with the same list. fixes #10914 . props technosailor
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:20:20 +00:00
nacin
4d855dbda7
Use get_row instead of get_var in get_site_option, aligning it with get_option, due to funkiness with 0/false/null. fixes #13043 . props laceous.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:02:32 +00:00
westi
1afa45d117
Add is_child_theme(). Fixes #12998 props ptahdunbar.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:56:57 +00:00
nacin
0cd84fba21
Add HTML 5 elements to kses, first pass. props rmccue. see #12835 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:34:49 +00:00
ryan
7b7243d94a
Strip trailing whites.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
dd32
8213b95a67
s/#/ \/\/ / - Remove #comment with // comment in WP_Query
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:20:46 +00:00
dd32
e840bb1167
WP_Query whitespace cleanup, some loop cleanup as well
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:19:13 +00:00
nacin
aca357b327
Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:10:26 +00:00
dd32
9a87641ad8
Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:23:44 +00:00
nacin
e965a965d3
Use CSS3 gradients for the admin header and footer. Fall back to a solid color for IE. Props JohnONolan, fixes #12586 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:12:19 +00:00
ryan
18513489e2
Hooks for the widgets api. Props ptahdunbar. fixes #12546
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:01:43 +00:00
nacin
b63ee5748a
Deprecate checkdnsrr from is_email. Unused in core, and wonky on some server setups (Mac OS X < PHP 5.3 specifically). A plugin can always add it back. props technosailor, fixes #12503 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:54:37 +00:00
wpmuguru
49e39c3b59
only use domain cookies in a subdomain install, see #12142
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:53:05 +00:00
nbachiyski
2a1d6e141b
Take out the leading space from the translatable string
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:48:33 +00:00
ryan
172aa06718
Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
nacin
0c2e93aee7
Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 16:59:51 +00:00
westi
70aa9e12eb
Fix the edit post link to cope with the change in behaviour of admin_url to always escape the url. See #13051 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:56:35 +00:00
westi
628d0b247d
Correctly mark things as private in the phpDoc
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:27:15 +00:00
nacin
08f650de1a
First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:28:35 +00:00
nacin
9d077332ba
Fix string in ms_not_installed().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:14:15 +00:00
westi
c01891f5bd
Refactor the error messages and make them translatable.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:13:40 +00:00
westi
ae468d52ac
First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
...
Fixes #12425 and #13009 .
The fallback to these template files is now depreceated and will be removed in a future version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 09:57:24 +00:00
nacin
223277cc44
Fix notice in ms_not_installed().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 09:51:40 +00:00
nacin
c5af6664a6
Remove debug.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 07:12:26 +00:00
nacin
0b597379e4
Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 06:28:05 +00:00
nacin
4d7c88f4a4
Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 05:49:19 +00:00
dd32
514808ebd1
Bump Manifest version number. See #13177
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:48:40 +00:00
dd32
4916a8075d
Serve a canonical redirection for ?p=, ?page_id=, ?attachment_id= url's for incorrect post_types (ie. ?p=<page_id> will redirect to that page url). Fixes #13125
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:37:11 +00:00
nacin
421cade8cb
Tweaks for nav menu admin tabs with JS disabled. props koopersmith, see #13215
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:51:43 +00:00
wpmuguru
6ed0c429d1
fix warning in r14342, see #13104
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:33:02 +00:00
ryan
91354eefee
Escape links by default. Props alexkingorg. see #13051
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
a77ea8d632
Only query for global_terms_enabled once.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:08:05 +00:00
wpmuguru
e2f361cea4
use correct var in r14342, see #13104
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:40:31 +00:00
wpmuguru
709ed743e5
strip www from subdomains in blog lookup, see #13104
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:34:11 +00:00
dd32
be926482ce
Fix custom WP_Queries when using page_on_front. Props aaroncampbell. See #12391 (Which caused it), Fixes #12047
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:28:11 +00:00
nacin
16f6590bc3
Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
nacin
54763a0e76
Clarify menu creation versus save. props duck_, see #13134 . Check in scripts for r14332, see #13204 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:15:41 +00:00
nacin
bbe76ccd6e
Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:10:42 +00:00
markjaquith
247c08f604
Make sure alloptions is an array before we try to use unset() on its alleged key
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 06:02:54 +00:00
nacin
d751526e11
Align the update nag with the screen meta box.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:09:34 +00:00
nacin
3a2f3b3433
s/blog/site/ in more places.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 07:09:38 +00:00
ryan
b1d6ee584a
Replace dashes with empty strings instead of underscores so that keys match keys that might be stored in a persistent cache from 2.9. Remove current user reset. Kinda buggy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 17:57:30 +00:00
markjaquith
4a1e7550a3
Make sure sidebars_widgets is an array. If it is a string (no idea how, but it happens), we get a fatal error
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 17:37:42 +00:00
nacin
0cfdd41300
Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:37:46 +00:00
nacin
bb3f1f5f45
Clean up secret_salt_warning. Use stronger version of wp_generate_password. Shrink line-height of #update-nag so multiple-line messages don't look so awful, use padding instead.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:25:54 +00:00
nacin
d08414276a
Prune and tidy the message in ms_not_installed. Only show detailed information if wp-admin, likesingle installs. Use ->tables. @todo: non-'MU' codex link.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:21:10 +00:00
nacin
e64a657575
s/blog/site/ in even more places. props PeteMall, see #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
nacin
f9df8a36ae
s/blog/site/ in more places. props PeteMall, see #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 01:54:32 +00:00
ryan
79ccf9e0c7
Don't consult global current_user object for usermeta values. Use get_userdata().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 20:55:39 +00:00
nacin
7ef5f08d00
Update object term cache for custom post types. props scribu, fixes #12989 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 20:43:59 +00:00
ryan
6252553037
Always replace dashes with underscores for keys in get_user_option().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 20:19:47 +00:00
ryan
e1fe1b138e
Pass unserializeds value to meta actions.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:26:40 +00:00
ryan
e378ebfb7f
When storing and retrieving meta data to user object, replace dashes with underscores to get a valid php var name.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:19:21 +00:00
ryan
4939a7610a
clean_user_cache() instead of direct cache delete.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:32:01 +00:00
ryan
5f501c920c
Remove debug
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:24:45 +00:00
ryan
ec46abfe29
Reset the global current_user object when the current user is changed.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:24:18 +00:00
donncha
7629767c24
Display the original username on the signup form on error, fixes #13124
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 16:05:33 +00:00
ryan
ce7b2b4f58
Set nopaging for the wp_get_nav_menu_items() get_posts() call to avoid pointless found rows queries. see #13134
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 14:58:22 +00:00
nacin
d1a37c1f31
When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin
7bb32597b7
Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +00:00
nacin
91e39b0336
Small fixes to the initial nav menu message. props koopersmith, see #13134 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:12:12 +00:00
nacin
cd9ab80421
Nav menu UI updates. props koopersmith, see #13134 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:39 +00:00
nacin
90ea03383f
Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:44:08 +00:00
nacin
8c9f71bb57
More nav menu fixes. props filosofo. see #13148 . fixes #13155 , fixes #13157 , fixes #13138 , see #13134 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 18:30:32 +00:00
nacin
33916fd71d
RTL for nav-menu.php. first pass. props RanYanivHartstein, see #13166
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 14:22:41 +00:00
westi
033aac697c
Introduce a template file for the Front Page of a site. Has priority over every other template which applies and falls back to the standard template flow for the page / list of posts.
...
Fixes #6801
git-svn-id: http://svn.automattic.com/wordpress/trunk@14276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:48:09 +00:00
westi
90873d5063
Revert [14268] - It is much better to use JavaScript for this kind of enhancement. Output buffering is too fragile. See #12564 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:17:20 +00:00
nacin
10a2e47890
Don't serve dynamic robots.txt when WP is not installed at the root of a domain. props solarissmoke, fixes #13115
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 06:37:15 +00:00
nacin
560400fb26
Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:56:50 +00:00
nacin
b8b6090959
Add full HTML filter to comment_form(), along with an echo arg. props joostdevalk, fixes #12564 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:28:51 +00:00
nacin
f01d1883e4
Verify nav menu items. props filosofo, fixes #13154 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:04:30 +00:00
nacin
1143a84f7f
Don't translate internal post stati. props nbachiyski, fixes #13024 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 22:36:46 +00:00
nacin
d5f61d9db3
Explicitly set the capability required in edit_users map_meta_cap branch, so we don't accidentally pass edit_user. props TheDeadMedic. fixes #13074 , fixes #13137
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 20:39:39 +00:00
nacin
9d7ec92745
Have media default to 'all', not false, in wp_enqueue_style. props koopersmith, fixes #13056 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 20:04:23 +00:00
nacin
f9115ee668
Simply search for newlines to strip instead of checking the oEmbed provider. fixes #12115 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 05:21:39 +00:00
ryan
e879a9ab0e
New menu UI. Props filosofo. see #12713
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
ryan
418b0b7e69
Revert [14230]. Broke menu save. see #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 00:44:38 +00:00
ryan
78930c4964
Fix custom tax and post type query var checks. Props prettyboymp. fixes #12857 #13076
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 00:22:04 +00:00
ryan
702e3358ad
The read_post cap cannot be checked for sticky posts because not logged in users don't have any caps. see #11197
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 22:12:28 +00:00
ryan
ffd9a036cd
Introduce DISALLOW_UNFILTERED_HTML
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 21:42:42 +00:00
ryan
0d703dc2c0
Add RTL support to add_editor_style(). Props yoavf. fixes #13120
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 14:56:57 +00:00
ryan
37d86213db
Fix array handling in sanitize_bookmark_field(). Props mdawaffe. fixes #13098
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 14:10:12 +00:00
wpmuguru
98c3888a06
only append parent term slug until unique slug found, see #10712
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 15:25:00 +00:00
dd32
898168f927
Add basic email/url validation to General options page. Prevents users entering a invalid Admin email or WordPress/Site Address which is not in URL form. Props technosailor for initial patch, slightly reworked. See #12868
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 08:16:10 +00:00
dd32
e79df91561
Allow edit posts page to save a empty set of terms for a custom hierarchical taxonomy. Props scribu for initial patch. See #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 07:42:51 +00:00
dd32
99b439c6f7
Allow Terms to exist within multiple taxonomies (Regression in 3.0); If a term slug is provided on the form, Respect it (do not suffix it, instead, feedback with error); Do not allow hierarchical term names to exist multiple times within a set level (ie. AU/NSW + AU/NSW is bad, AU/NSW + AU/VIC + AU/VIC/NSW is ok). See #13060
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 07:35:16 +00:00
wpmuguru
e6fbceae9f
fix site administrator add user to site logic, see #12488
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 18:39:22 +00:00
nacin
aa8d6616a2
Single quotes are way cooler.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 17:49:08 +00:00
nacin
21c3eae3d3
Style bumps and compressed styles for r14187. see #13083 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 17:22:34 +00:00
nacin
7341a67e76
Prevent HTML editor from being resized horizontally. props nomulous, fixes #13064
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 16:57:44 +00:00
dd32
356a50d1f0
Change custom post_type default Rewrite endpoint mask to EP_PERMALINK to ensure comment paging rules are added. Removes redundant/non-usable EP_NONE branch. Fixes #13086
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 14:42:30 +00:00
dd32
d0cb517220
Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 10:29:01 +00:00
dd32
79dea16d7f
Ignore sticky posts which the current user cannot read, Ignore sticky posts which have been explicitly excluded with 'post__not_in'. Fixes #11197
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 06:04:05 +00:00
dd32
47aa8ca69b
s/'%s'/%s/ in prepares. Props jamescollins. See r13673. See #12416
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:04:05 +00:00
westi
ca0b2d6088
Switch to using esc_url{_raw} for the shortlink output as it is a url not just any attribute. Fixes #10640 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 21:23:32 +00:00
westi
e88b66ee00
Added escaping to wp_shortlink_wp_head() too. See #10640 props sirzooro.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 21:20:16 +00:00
ryan
bc0947b075
Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 20:34:03 +00:00
nacin
5af1e0d69d
Make some branching look less crazy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 19:00:30 +00:00
ryan
dd5fb17b87
Return true. fixes #13094
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 16:50:01 +00:00
ryan
ff140f1d76
Move ms_site_check() to after init and allow super admins to view blocked sites. see #13094
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 16:18:33 +00:00
ryan
9a92811b38
Use rtrim() instead of untrailingslashit to avoid formatting.php dependency. Relying on formatting.php breaks SHORTINIT.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 16:10:48 +00:00
nacin
960696ad2a
Fix typo in inline docs. props TobiasBg. see #13088
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 15:32:31 +00:00
nacin
e9602ae765
Clarify language for non-publication of emails. props lloydbudd, fixes #13026 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 15:01:21 +00:00
ryan
9f33300139
Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:25:05 +00:00
nbachiyski
bc5feeeeb6
Do not force formatted number to int. Props brentes, fixes #10555
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 06:05:07 +00:00
westi
9356c4b72d
Restore support for floating point numbers in number_format_i18n(). Fixes #10555 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 21:39:37 +00:00
josephscott
e26aed0ac4
New 'list_users' cap to provide more controls over listing users vs. editing
...
users.
Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.
Bump db version to 14139 to pick up the new cap.
See #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 19:48:13 +00:00
nbachiyski
7c1255e433
Make the $path argument of load_muplugin_textdomain() functional -- relative to mu-plugins. Props uglyrobot, fixes #12875
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 11:32:50 +00:00
westi
da93a92714
Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 21:41:20 +00:00
ryan
82bfcfcdff
Return after echoing cached calendar. Fixes double output. Props mtdewvirus. fixes #13077
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 21:35:39 +00:00
westi
84e54974f1
Allow a theme to set an id on the container object for the wp_nav_menu output. Fixes #13057 props thee17.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 21:32:08 +00:00
ryan
0dfea670fb
Move the global up
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 20:37:54 +00:00
ryan
cbdf7e3aed
Make sure is set correctly when advanced-cache.php is being used.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 20:34:32 +00:00
ryan
41a9873022
Clear the users cache when updating user metadata. fixes #13075
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 18:25:03 +00:00
ryan
fda80bc7f6
Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:43:53 +00:00
westi
8ce9670189
Improve documentation of validate_current_theme()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:14:25 +00:00
dd32
cafb51263a
Canonical redirect to correct location if rss2 is not default feed. wp-feed.php redirection to default feed type instad of rss2. Props solarissmoke. Fixes #13047
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 12:03:01 +00:00
dd32
5d597976b4
Remove double-query for Author ID. Props simonwheatley. Fixes #12048
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 10:50:03 +00:00
nacin
e47e3cc31c
Introduce is_post_type(). Can check if a post type is registered, or also if a post (current or specified) is of a certain post type. fixes #12588 , props sirzooro, blepoxp, rmccue
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 17:40:50 +00:00
nacin
98b9ace627
Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 15:54:45 +00:00
nacin
a6d816df0b
Use wp_parse_args in register_sidebar. fixes #11836 , props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 15:32:39 +00:00
dd32
66a9d58336
Fix page-<pageslug>.php templates for static front pages. See #12907
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 11:50:48 +00:00
dd32
f7e764312b
Fix invalid paths in requires. See r14139. See #12594
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:51:19 +00:00
dd32
32cfe19193
Better styling for Press this Categories. Props duck_. See #12809
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:41:51 +00:00
dd32
3eec9dd73f
Use Alt Text for Image alt caption (Falling back to Caption, and finally title) in wp_get_attachment_image() and subsequently, WordPress Galleries. Props kallewangstedt for initial patch. Fixes #11846
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 08:52:18 +00:00
dd32
029e988594
Make (\d)x(\d) texturization less greedy, requires a word boundary either side of the phrase. See #12118
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 08:26:38 +00:00
dd32
5cd73bf182
Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:37:45 +00:00
dd32
d792282cea
Advertise the correct comment feed link for a Page on the Front. Do not canonical redirect the front page comments feeds to home. Fixes #12452
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:51:16 +00:00
nacin
6ec7cb4540
Use relative paths when including files, avoiding include_path. fixes #12594 , props sorich87.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
dd32
0d0902e9e8
Delete old hierarchical taxonomy children cache' on upgrade. Fixes #11866
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:08:40 +00:00
nacin
f87c42f038
Fix sticky post handling. Use unset instead of array_splice to remove an item by key retrieved by array_search. props jeffstieler, fixes #11966 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 05:11:05 +00:00
dd32
efe0a28c18
Bail from WP_HTTP when a invalid URL is provided. Fixes #12964
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:58:19 +00:00
nacin
4ba94c72fc
Allow include/exclude args to be arrays in get_posts() and get_pages(). Utilizes wp_parse_id_list(). props scribu, fixes #11076 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:54:19 +00:00
nacin
6bad016e80
Switch to simpler language regarding publication of email addresses in comment_form() template. props bumbu, see #13026 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:49:19 +00:00
nacin
144af9f1a4
Allow orberby in wp_list_bookmarks to accept a comma-delimited list of fields, per docs. fixes #12421 , props sorich87, scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:45:09 +00:00
dd32
cf0e90578e
Fix typo in Proxy Authorization header. Props thales.tede. Fixes #12995
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:01:19 +00:00
dd32
7058bb3db8
Respect the comment ID parameter in comment_excerpt(). Props tenpura. Fixes #12874
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:45:24 +00:00
dd32
f4c48adc7f
Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:54:44 +00:00
dd32
87bd780ca9
Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
dd32
eb74c91d9f
Do not exclude inherit post_status from query results, Fixes Attachment listing in Gallery tab as well as displaying galleries on the front end (get_children() & friends). See #13031
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 10:30:46 +00:00
dd32
41c63bd520
Respect the post_type param for Taxonomy Queries, Props Otto & Dougal Campbell. Restrict Attachment post_status joins to queries involving attachment results ("any" or "attachment"). See #13020
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 09:03:33 +00:00
nacin
e8c8ef08f0
Move stray closing p tag out of a translation. props chrisbliss18, fixes #13036 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 22:27:37 +00:00
nacin
e6e03bd7df
Allow for removing all tags in quick edit. Check only if $tags_input isset (can be empty) before running wp_set_post_tags. props sivel, fixes #12318 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 21:39:10 +00:00
nacin
f07882dfba
Some sanity checks for parse_url in do_enclose. props miqrogroove, fixes #11029
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 19:48:30 +00:00
nacin
045c407a3c
Remove tabindex from comment_form(). fixes #12963
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 18:29:39 +00:00
ryan
a86f7357c5
Add edit_theme_options capability
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 15:36:44 +00:00
nacin
5deebd667f
Strip new lines from Viddler embeds, as we do for Scribd embeds. Avoids conflicts with wpautop. props Viper007Bond. see #12115 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:15:16 +00:00
nacin
14916e2449
Introduce the wp_filter_object_list() helper, with an $operator arg. Fixes an intersection bug in get_post_types() and get_taxonomies(). Also switches $operator default from 'or' to 'and' for get_post_stati(). props scribu, fixes #12966 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:08:58 +00:00
nacin
207a1d6958
Consistently return WP_Error on failure in image_resize. props filosofo, fixes #12268
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:53:22 +00:00
nacin
757d3ba8ae
Strip tags before escaping the title element in wp_list_pages(). props scribu. fixes #11040 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:49:52 +00:00
ryan
48a87bdaca
Check if value is not set. Possible in the use_cache = false scenario.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:15:39 +00:00
nacin
f9f8d61872
Fix menu icons for custom post types. Fixes #12992 , props wmrom.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 03:29:34 +00:00
nacin
c4abc1c875
Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 02:29:10 +00:00
nacin
7b83161397
Fix Right Now ugliness in blue/classic theme. see #12202
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 02:08:28 +00:00
westi
436232d505
Improve behaviour of wptexturize with respect to single quotes. See #4539 props jmstacey.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 21:39:58 +00:00
ryan
fcd9d28f10
Make sure is instantiated. see #12997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 21:24:52 +00:00
nacin
c229cdcba7
Spacing/coding cleanup of comment_form(). see #13016 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 16:25:08 +00:00
nacin
b8917ef747
Update the html comments in comment_form(). props iandstewart, fixes #13016 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 16:16:51 +00:00
nacin
b18ac8fcdb
Deprecate set_current_user() in favor of wp_set_current_user().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 22:06:03 +00:00
ryan
c4a677dea9
Introduce DISALLOW_FILE_MOD for disabling all ops that modify core, theme, or plugins files. see #13000
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 17:22:11 +00:00
ryan
5e923222fa
Assume unattached attachments are published. fixes #12999
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 15:20:15 +00:00
ryan
31c4756a42
Register 'inherit' as a post status. Check the parent post status when commenting on attachments.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 14:07:48 +00:00
ryan
687ce2919f
Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 21:56:57 +00:00
ryan
1f93931d55
Always include class-http.php. see #12990
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 21:45:57 +00:00
westi
2906ded640
Remove blank data and lines after the closing ?> which can break image display for multisite.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 17:13:28 +00:00
ryan
eec2968be7
Sanity check terms. Skip term IDs that don't exist.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 14:32:30 +00:00
ryan
5a76e8be5d
Cache fixes for get_blog_details()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 12:43:40 +00:00
nacin
3c5115f15f
Don't use require_once for get_template_part(). fixes #12958 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 17:26:03 +00:00
nacin
4975bf8ed8
Revert changes to maybe_serialize() made in r13673. Do not prevent double-serialization of data. see #12930 . see also #12416 . xref #7347 , r8100, r8372, and others.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 17:07:20 +00:00
nacin
ccb93ac4c7
Add @since.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 15:23:20 +00:00
dd32
221075d9f6
Alternative implementation of custom post_type query_var handling. fills name & pagename for custom post_types to reduce amount of code duplication. See #12704
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 13:51:24 +00:00
dd32
b555a9a076
Update get_post_type() to perform on the current global post if none specified. Update PHPDoc to reflect changes. Props rmccue. Fixes #12827
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 11:10:54 +00:00
dd32
442d41291a
Tweak new strings for better typography. Props demetris. Fixes #12962
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 10:41:54 +00:00
dd32
d18ac45778
Update Press This category styling & html to match 3.0 management screens. Props noel. See #12809
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 09:11:39 +00:00
dd32
994b00e85b
Correct sample URL's for custom post_type's. uses pretty permalinks if possible. Props duck_. See #12870
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 08:58:40 +00:00
dd32
9cd8dd44c6
Introduce get_comment_id_fields() as a Getter for comment_id_fields(). Introduce a filter on the output to add extra fields. Props zoranzaric. Fixes #12893
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 08:56:18 +00:00
dd32
8d68a04c1f
Add WordPerfect filetypes to Mimetype list. Props morganestes. Fixes #12849
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 08:50:23 +00:00
dd32
fbf39813dc
Add .tsv file format to Upload whitelist. Fixes #12757
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:11:29 +00:00
dd32
b8d68f977d
Consistent spacing for MAnage|Install Themes menu tabs. Props dremeda for initial patch. See #12412
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:02:30 +00:00
dd32
0e7c1a0cb3
Update Future Scheduled posts publish status to Published upon updating the date to a past date. Props bumbu. Fixes #12751
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 14:00:30 +00:00
nacin
9342a4b4c8
Script bump.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 13:22:42 +00:00
nacin
e0eea8e857
Some wpdb cleanups.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:39:25 +00:00
dd32
c7b7d67892
Remember the post_parent during autosaves. Props duck_. Fixes #12938
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:39:01 +00:00
dd32
0b4ebffe70
Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:17:19 +00:00
nacin
14e2cb8f6e
Don't set MIME headers in MS activation/welcome emails. fixes #12728 , props barry.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:11:03 +00:00
nacin
5e36f9f821
Quick edit taxonomy label. props scribu, keighl, fixes #12796
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:54:33 +00:00
dd32
ab16d12c2c
Introduce is_post_type_hierarchical(). Props ptahdunbar. See #12950
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:42:45 +00:00
nacin
71d7acc71d
Mark Snoopy as deprecated. see #12882
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:32:02 +00:00
nacin
880b27ee2b
Clean up the HTTP inline docs to reflect the times. props jacobsantos, fixes #12882 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:23:21 +00:00
nacin
b4d8b0cbb7
Tweaks to the action in get_template_part(). fixes #12248 , fixes #12941 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 10:40:47 +00:00
nacin
ec7530d5bb
Simplify logic in is_multisite().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 02:39:17 +00:00
nacin
c29313ab4d
Register a dummy [media] shortcode for strip_shortcodes et al. props belg4mit, Viper007Bond. fixes #12505
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 02:16:21 +00:00
nacin
48dc61d1a9
Spell out that _builtin and _edit_link are internal use only. Include some redundancy and repetition for emphasis.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 01:04:22 +00:00
ryan
f609d0c8a3
User is_super_admin(). Props ocean90. fixes #12888
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:28:10 +00:00
ryan
96bc63439a
Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
markjaquith
46a353ece7
TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878 . see #12792
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 13:52:12 +00:00
markjaquith
621ed18936
get_the_author_link(). props zoranzaric. fixes #12892
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 12:26:28 +00:00
dd32
fedd1a12d4
Fix a case where $post_type = 'any' causes a large query to run without any specifications (post_name/limits/id/etc). See #12704
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 08:29:46 +00:00
nacin
c6ef197f53
New super admin icons for the blue/classic color scheme from Ben Dunkle. Remove temp icons, implement the new ones. fixes #12374 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 03:54:43 +00:00
ryan
a7f987c35a
Trigger adjacent_posts_rel_link() from wp_head only for single post pages to avoid unnecessary queries. see #10867
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 15:06:42 +00:00
markjaquith
07a523894a
Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:47 +00:00
markjaquith
f1fd3f2780
Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 04:32:08 +00:00
markjaquith
17ee0e577a
These nav_menu parameters should not be esc_html()d. fixes #12715 . props ptahdunbar
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 02:43:23 +00:00
josephscott
19e2b4e4b7
Update stats provided to api.wordpress.org see #12672
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 20:19:07 +00:00
ryan
526a92fd2c
Add global-posts to global cache groups.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 18:29:56 +00:00
wpmuguru
7edc8acfb9
remove extraneous blog name sanitization, props nbachiyski, fixes #12823
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 04:00:51 +00:00
nacin
751a7d10ea
Prevent half-baked loading of MS that would happen when constants are added into wp-config below the wp-settings include. Now it would error on the redefinition of the MULTISITE constant, instead of vague errors, and prevent any MS from loading. see #12848
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 00:00:13 +00:00
nacin
c449adb237
File-level phpdoc for multisite files.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 13:29:35 +00:00
nacin
c059c511df
Use the API to remove comments when deleting a post. Cleans up comment meta in the process. fixes #12766 , props briancolinger
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:42:34 +00:00
nacin
f181423040
Request XML from an oEmbed provider if the provider returns '501 Not Implemented' for JSON. props nbachiyski, fixes #11964 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:30:22 +00:00
nacin
791192d961
Add $force_delete to wp_delete_comment(). see #12766 , see #11470 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:20:19 +00:00
nacin
1a4a30fcf1
Deprecate trackback_rdf(). fixes #11139
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 10:04:56 +00:00
nacin
c602ff86c3
Correct logic in wp_list_authors() for combinations of hide_empty and style args. fixes #10042
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 07:41:07 +00:00
nacin
5f134c587e
Deprecate funky_javascript_fix() and it's callback. fixes #12520 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 07:11:23 +00:00
nacin
2e054e2805
Add docs to add_post_type_support(). fixes #12644 , props sillybean.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 04:14:17 +00:00
nacin
2581314a95
Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:53:14 +00:00
nacin
ecec297237
Cast subject of _deep_replace() to string to prevent an infinite loop. props mdawaffe, fixes #12386
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:07:14 +00:00
nacin
e4aabba998
Add block-level HTML5 elements to wpautop(). props rmccue. fixes #12335
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 01:14:22 +00:00
nacin
2501fac129
Remove Gears from UI. see #11301
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 00:48:28 +00:00
nacin
6efe44acbc
Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:38:38 +00:00
nacin
7289a8df23
Fix the sticky footer. hides a scrollbar. see #12586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:30:27 +00:00
nacin
8e436271ed
Ensure we're escaping css classes for front end nav menu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:04:37 +00:00
nacin
589997d8cb
Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
06382b1f76
More admin header improvements. props JohnONolan. see #12586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:13:38 +00:00
nacin
75c8e2d67e
Move wp-login.php background from body.login to body selector. props JohnONolan. see #12586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 11:37:24 +00:00
nacin
d05e120d44
Add 'enter title here' text to title box. see #12591
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 10:23:17 +00:00
nacin
90e50f7e37
Allow .csv. fixes #12757
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 08:24:13 +00:00
nacin
5c8d92d2b1
Check for string, as method may be an array. fixes #10778
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 07:18:16 +00:00
nacin
c5c47b4b20
Make remove_user a meta capability. see #12793
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 05:14:34 +00:00
markjaquith
0af8aa67b6
Bump versions for 3.0-beta1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 01:50:01 +00:00
nacin
c905fc1420
Allow methods to be used as a callback in wp_unique_filename(). fixes #12824 props aaroncampbell.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:54:56 +00:00
nacin
e7486800d9
Add AYS to "Install Now" link in plugin installer. fixes #11050
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:27:23 +00:00
wpmuguru
8f5099a7ea
have get_blog_prefix() default to the prefix of the current blog, see #12820
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 22:47:51 +00:00
ryan
7095a9b0d3
Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 17:07:30 +00:00
dd32
3f20b53b12
Don't prevent 404'ing on tax/author pages when a paged page is requested which doesnt contain posts. For example, /category/animal/page/9999999/. Allows for /category/empty_cat/ to not 404. Fixes #11857
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 08:16:20 +00:00
dd32
f12d55d8a4
Match the separator style of get_category_parents() in get_the_category_list(), Respects the spacing of the provided separator. Fixes #10761
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 07:30:20 +00:00
dd32
cba11b1ecd
A better default except, Remove multiple white spaces from the except as well as splitting safely on UTF8 strings. Props Denis-de-Bernardy for the UTF8 split. Fixes #10376
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 07:10:51 +00:00
dd32
ee058cca62
Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:12:49 +00:00
dd32
0025a953ac
Reduce Code duplication. Rely on parent class to do the heavy lifting, just tack the comment addition on the end. See #8841
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 05:33:18 +00:00
dd32
364faf559e
Move children of nested levels not shown to after the current element, not inside it like children. See #8841
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 05:13:57 +00:00
nacin
fc7dbbcc3e
Fix notice in wp_new_comment(). fixes #10854 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 05:01:13 +00:00
nacin
b74a1b0603
Fix int cast usage in simplepie. see #12334 , props rlerdorf.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:37:42 +00:00
dd32
1d0b284a7c
Fix out-of-order comments when comment nesting is reduced. Displays child comments on the same level after its "parent" in the case that the max_depth has been hit. See #8841
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:05:01 +00:00
nacin
1c9c709e8a
Child theme support for theme header registrations. Second call to register_theme_headers() should add more headers, not replace existing headers. add unregister_theme_headers(). props jorbin. see #12343
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 03:15:18 +00:00
wpmuguru
1f7d47157d
rework syncing of global terms, see #12663
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 01:26:44 +00:00
dd32
44ae35ec09
Use the taxonomy show_ui flag to control if all WordPress generated UI is exposed (Menu previously, This affects metaboxes). See #10437
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 01:23:58 +00:00
dd32
3708584178
Handle uppercase html entities in get_next_posts_link() & get_next_comments_link() (and family) $labels. Fixes #4152
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 00:07:59 +00:00
dd32
f7b83bd893
Rename Install to More Information, Add an Install Now action link to the Plugin Installer search results. See #11050
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 23:17:53 +00:00
markjaquith
57c201fb3a
Regenerate production CSS and bump version for last commit
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 21:22:48 +00:00
nacin
91c72b74aa
s/hierarachical/hierarchical/g. Props JohnPBloch.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 14:37:38 +00:00
dd32
3793a4fee2
Whitespace and coding standards cleanup for balanceTags(). See #11968
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 13:18:34 +00:00
dd32
2660f3f8f3
Recognise namespaces in tags for balanceTags(). Fixes #11968
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 13:16:44 +00:00
dd32
ff3b452dda
Delete _transient_timeout_$name and _site_transient_timeout_$name when specifically deleting transients. Fixes #12782
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 10:42:03 +00:00
dd32
3344bf4a6e
Small coding standards cleanup of wp_die();
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 10:30:58 +00:00
dd32
ea03f2272d
Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 10:16:55 +00:00
markjaquith
9817fca789
Fix PHP notice
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 07:43:04 +00:00
westi
c3a6bea231
Ensure that apply_filters_ref_array passes the result of the filter to the next filter. Fixes #12723 props scribue.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 21:39:18 +00:00
dd32
165d200ced
Dont pee on <option>. Prevents the addition of a <br/> following a </option>. Props akerem. Fixes #11947
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 09:32:44 +00:00
nacin
370f6a43b9
Add blacklist to remove_theme_support(). fixes #12739 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 09:06:11 +00:00
dd32
db0706ea0e
Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 08:45:51 +00:00
nacin
5f50e18c0b
Add post type parameter to get_page_by_title(). props mikeschinkel, fixes #12743 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 08:20:28 +00:00
nacin
4c5ce060ac
File-level phpdoc for nav-menu-template.php. Also, @subpackage cannot contain spaces.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 07:54:09 +00:00
ryan
cb0854bfdb
Filter robots.txt output
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 15:48:52 +00:00
dd32
33b86da7ce
Whitespace only Cookie pairs are not permitted; Skip them. Props josephscott. Fixes #12761
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 10:22:30 +00:00
ryan
8e4859a35c
Use network_*_url(). see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 21:45:31 +00:00
wpmuguru
fbf3ee6abc
delete user cap in remove_all_caps(), props ocean90, see #12711
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 20:35:06 +00:00
ryan
3a69eacbbe
Don't stomp scheme arg. see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 20:25:30 +00:00
wpmuguru
27b9ed12f8
tweaks to network_*_url(), see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 19:57:17 +00:00
ryan
2a13a4a888
network_site_url(), network_home_url(), network_admin_url(). see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 17:53:03 +00:00
ryan
11dc8e15c9
Check for urls that have a scheme but no host in wp_validate_redirect().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 16:47:17 +00:00
wpmuguru
175c104baa
add remove_theme_support(), props nathanrice, fixes #12739
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 16:26:54 +00:00
dd32
8ad6b78d44
Slight Coding standards update
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:05:50 +00:00
dd32
f3e9d332d2
Fix the Permalink editor for custom post_types. Fixes #12742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 05:23:49 +00:00
dd32
a2a1a3c9f0
JQuery.noConflict() fix for thickbox.js. Props Michael. Fixes #12382
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:48:20 +00:00
dd32
ceb1acf3f7
Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. For the recursive object handling, Props carbolineum. Fixes #11963
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:42:44 +00:00
dd32
adb825f6d0
Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. Fixes #11963
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:35:42 +00:00
dd32
8abdcecbfe
Fix notices in post_custom(). Props sirzooro. Fixes #11839
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:19:44 +00:00
dd32
bf6510abd1
Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:39:00 +00:00
dd32
a0d734beea
Do not allow empty option names. Trim leading and trailing whitespace from option names. Partial patch props ericmann. Fixes #11506
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:10:37 +00:00
dd32
47c064b890
Check if function exists before using it. imageistruecolor() requires PHP 4.3.2, WordPress requires 4.3.0 at this stage. Fixes #12297
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:57:09 +00:00
dd32
f0088e38eb
Add Repeat-x/repeat-y support to Custom Backgrounds, Add Live preview of Repeat option, Use Thumbnail of background for Background Preview. Props jshreve. See #12186
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:53:04 +00:00
dd32
0e4aaa13d3
Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:07:31 +00:00
dd32
c0974fb518
Avoid notices for requests with no body. Also fixes a few race conditions related to headers. Fixes #11872
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:56:43 +00:00
dd32
5a42dae784
Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:33:25 +00:00
dd32
334670a67a
Correct Array style for returning Multiple HTTP Headers. See #12045
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:23:40 +00:00
nacin
fca5b63772
Bail in wp_unique_term_slug if the slug is unique and we don't need to come up with a new one. fixes #10712 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:56:54 +00:00
dd32
644427dd63
Remove Debug cruft.. See #12704
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:03:58 +00:00
dd32
f6129316ef
Support multiple post_type query params/post_type's to be specified in a query. See #12704
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 05:56:27 +00:00
nacin
2794e060dc
Remove 'Turbo' link from admin header. see #11301
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 20:59:57 +00:00
nacin
39b3db4e20
Move ajax spinner to be adjacent to the Quick Edit Update button. also, the dashboard recent comments Submit Reply button. fixes #12345
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:55:48 +00:00
nacin
7957161819
Remove references to wp-ajax.php. props TobiasBg, fixes #12400
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:44:43 +00:00
nacin
40773a776b
Remove trailing whites and double semicolons.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
3918b75cbe
Change @since 2.9 to @since 2.9.0.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:23:39 +00:00
nacin
a7feaed0e6
Change @since 3.0 to @since 3.0.0.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:13:36 +00:00
nacin
d138bc1f38
Remove one-pixel white bottom border off new light gray header. After some discussion, mainly due to screen options/help tabs. see #12586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 18:40:29 +00:00
ryan
6dcc05bd54
Ligten header and footer for gray color scheme. Props johnonolan. see #12586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 17:09:53 +00:00
nacin
82720ead31
WP_I18N_* for .maintenance strings. fixes #12485
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:06:12 +00:00
nacin
258430405b
Correct inline docs and parameter names for get_objects_in_term() to reflect that it uses term ids, not term slugs. fixes #11835
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:00:17 +00:00
nacin
1eabd22805
Introduce get_index_template(). Allows child themes to override a parent theme's index.php. Props koopersmith, fixes #12635
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 13:52:43 +00:00
westi
4f46d6537c
Rename get_specific_template as get_template_part so as to make it clearer as to the point of the function. See #12371
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:02:45 +00:00
ryan
39fbccfd56
Add scheme argument to admin_url() and get_admin_url() to allow forcing a particular scheme.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:00:36 +00:00
ryan
f607113b29
Don't return WP_Error from term_description(). Props filosofo. fixes #12707
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 17:28:16 +00:00
nbachiyski
e1ecbc841a
Set some $_SERVER values to empty strings if missing. Fixes notices if WordPress is run from the command-line and is far more pleasant than using isset() all over the place.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 15:33:35 +00:00
ryan
c2a6f28bf5
Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-24 18:35:31 +00:00
nacin
47b80515da
Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-23 19:13:58 +00:00
nacin
3fb0afae96
Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817 , see #12566 . (Script loader bump for r13802, r13803). props ptahdunbar for the commits.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 22:33:12 +00:00
nacin
ba6f1cba07
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
nacin
308c876d27
Fix notice without breaking comment notifications. See r13150, see #11830
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 16:06:55 +00:00
dd32
7be1b99ebe
Add some defensive checks to Canonical redirection of %category% to ensure notices are not thrown. Props jfarthing84 for pointing out possibility. See #11907
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 07:05:50 +00:00
nbachiyski
70b7755535
Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 06:51:49 +00:00
nacin
236a1f6ed4
Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 03:11:15 +00:00
dd32
3d5e274179
Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 06:06:18 +00:00
dd32
e2a7385be8
When viewing a Parent term in a hierarchical taxonomy, display objects contained within children too. Props scribu. Fixes #12533
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 02:52:00 +00:00
dd32
68445ab030
Use correct cap checks and nonces for custom post_type's
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 02:29:11 +00:00
dd32
6ff82f54e7
Fix WP_User::remove_role(). See #10285
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 01:36:54 +00:00
dd32
b6e3b188e7
Only allow %category% to be a valid category attached to the current post when using %category% in a permalink structure. Fixes #11807
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 06:27:27 +00:00
dd32
f90f47a073
Update Canonical paging to reconise /page(\d+)/? as a valid paging path. See #8948
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 03:22:08 +00:00
dd32
b16190c496
Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:23:52 +00:00
dd32
3fdd2bbdff
Allow for a custom Endpoint Mask to be passed to add_endpoint(). Allows for endpoints to be targeted to specific rewrite rules. Allow custom post_types to specify their Endpoint mask. Allows for post_type's rewrite rules to inherit Post endpoints, or alternatively, allows for add_endpoint() to target specific post_types. Fixes #12605
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:05:32 +00:00
dd32
a7126004c7
Fix unset notice on Revisions page for custom post_types. Use $post object instead of relying on a Global
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 01:10:01 +00:00
nacin
30d6eb32c6
Remove redundant isset() and empty() checks.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
nacin
8c8bf5039f
Remove unnecessary ternary operators such as (expr) ? true : false.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
dd32
58392ee495
Add min-height and a black border to the Background Image preview. Min-height to allow for no image present, black border to show preview area when no image or colour is available. See #12186
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 09:37:36 +00:00
nacin
8704bbf226
Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 01:11:21 +00:00
westi
b4b9f6075d
Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:55:25 +00:00
westi
5bce147d90
Introduce apply_filters_ref_array(). See #9886 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:24:07 +00:00
nacin
3bdcf36888
Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 20:17:15 +00:00
nacin
30c1e595ad
Check in the script version bump for [13752]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 19:25:55 +00:00
nacin
65423c7d16
Fix notice for when no menus are located. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 21:34:24 +00:00
nacin
cea2e6eaa3
Remove JS nav-menu functions that we no longer use. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:44:59 +00:00
markjaquith
5c4b8b1d7b
nav_menu taxonomy should be _builtin. props sillybean. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:03:02 +00:00
markjaquith
8d1fb6e0eb
Bump nav-menu JS version
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:01:31 +00:00
westi
c1654c4751
Fix notice in wp_nav_menu when the menu doesn't exist.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 19:33:20 +00:00
ryan
6fe61df60f
Introduce WP_DEFAULT_THEME
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:42:49 +00:00
ryan
e25a65b36a
Trim trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
ryan
f7f9b2ba71
Fix menu item type labels. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:18:41 +00:00
markjaquith
7cf7df44d1
No need for three separate JS files if they are only ever enqueued together. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:13:16 +00:00
markjaquith
58d47426cc
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 04:39:50 +00:00
ryan
60f8f5a6aa
Menu item -> append should be a key/name, not a label. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 22:01:49 +00:00
ryan
b98f319bcf
Default target to _self. Add some sanitization and gettext. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 19:20:10 +00:00
ryan
6f27182cf1
Introduce sanitize_key().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 19:19:32 +00:00
nacin
a237b80e0b
Prevent page(\d+) slugs, and force a suffix. props miqrogroove. fixes #11917 . see #8948
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 18:36:26 +00:00
wpmuguru
47302e0188
first pass on optional global terms, see #12589
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:17:55 +00:00
ryan
10656cb1eb
Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 16:34:30 +00:00
wpmuguru
6d942a39d9
fix spelling/typo in nav menu message, props jorbin, see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 22:46:30 +00:00
ryan
81d6e1e8b3
Allow enabling/disabling title and editor per post type. Introdoce remove_post_type_support(). Add enable/disable for author override. Props scribu. fixes #12590
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 21:16:41 +00:00
wpmuguru
aa5acc9224
fix warning on cookie_domain, see #12457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 17:43:18 +00:00
ryan
f635d99754
Menus rework. Props ptahdunbar. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 16:26:46 +00:00
dd32
95029985a6
Restore backwards compatibility of integer sidebars("sidebar-$i"). See #12606
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 12:12:23 +00:00
dd32
a9ff74237a
Revert [13699], It breaks dynamic_sidebar(<int>) compatibility. Use a safer loop for clashes. See #12606
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 11:58:53 +00:00
dd32
2a7375a600
Simplify the Id uniqueness loops. Guard against more use-cases which might cause ID conflicts. See #12606
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 11:34:51 +00:00
dd32
c6daeea61e
Ensure that for multiple sidebar additions, the ID is unique (even if specified). Append -2.. for > 1 sidebars. Props minusfive. Fixes #12606
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 10:55:17 +00:00
dd32
9b0e7e79d0
Limit redirect_guess_404_permalink() to the same post_type if it's specified in the query. See #12601
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 05:06:47 +00:00
nacin
4ebde35485
install.php password UI cleanup. see #10396
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 02:30:50 +00:00
ryan
63302cae08
Add custom hierarchical post type support to get_pages(). Props ptahdunbar. see #12600
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 20:01:02 +00:00
ryan
f3707c7791
Spacing between attributes. Props momo360modena. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 18:47:44 +00:00
dd32
c4d0bd8f0c
Prevent PHP Notices on 404 pages
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 07:47:20 +00:00
dd32
b2a312d1e5
Whitespace additions to WP_Rewrite. A few coding standards too.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 07:29:10 +00:00
dd32
e8dd01bb1b
Add Endpoints for Attachments, Paging, Comment paging and custom Endpoints to custom post_type's. See #12597
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 06:59:07 +00:00
dd32
4ca0960178
Force Theme update check on GUU. See #12528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 04:05:54 +00:00
ryan
08cf9f0d98
Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 21:57:52 +00:00
ryan
97e3559079
the_shortlink(). Props miqrogroove. fixes #10640
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 16:08:37 +00:00
nacin
aa92bfad14
Remove conditionally declared wp_check_filetype() from ms-files.php. It will always be defined in functions.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 00:38:04 +00:00
nacin
03eac5614c
Fix notice on users admin panel. More or less reverts earlier fix, [13617]. props miqrogroove. fixes #12555
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 00:03:44 +00:00
nacin
92166b22f6
Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 23:33:01 +00:00
nacin
f2a177c418
Fix typo in [13673]. see #12416
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 23:28:12 +00:00
nacin
a4776498d3
Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 22:58:43 +00:00
westi
c71c407fd2
Fix a possible undefined offset warning in do_action. Fixes #11241 props chrisbliss18.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 21:58:17 +00:00
ryan
f91e95f100
make *_option(), *_transient() functions consistently expect unslashed data. Props Denis-de-Bernardy. see #12416
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 21:49:56 +00:00
westi
bb2fb8cb34
Ensure that wpdb::get_results() always returns an array when it should. Fixes #10607 props miqrogroove.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 21:30:29 +00:00
ryan
59873d0b4f
Custom background color fixes. see #12186
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 20:21:58 +00:00
nacin
54bc1d84c2
Add delete_user_option(). fixes #12573 , props TobiasBg.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 18:28:31 +00:00
nacin
52979cc4d5
Fix assignment in WP_User::for_blog(). props prettyboymp, fixes #12587
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 18:24:37 +00:00
nacin
1f422200ee
Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 16:34:27 +00:00