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 |