Andrew Nacin
|
6d7366d5fc
|
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: https://develop.svn.wordpress.org/trunk@15936 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 18:29:22 +00:00 |
|
Andrew Nacin
|
4d0164db91
|
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: https://develop.svn.wordpress.org/trunk@15935 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 18:16:41 +00:00 |
|
Andrew Nacin
|
7a0720ec5e
|
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: https://develop.svn.wordpress.org/trunk@15934 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 18:03:26 +00:00 |
|
Andrew Nacin
|
234efcf413
|
Use a consistent variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@15933 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 17:51:18 +00:00 |
|
Andrew Nacin
|
cfde537391
|
Don't make redundant str_replace calls in link-template. props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@15932 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 17:13:52 +00:00 |
|
scribu
|
f61e045d4d
|
Also convert uppercase letters in Latin Extended-B. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15931 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 15:36:16 +00:00 |
|
scribu
|
e05be05ad8
|
remove_accents(): Nordic characters fixes. Props einare. Fixes #4739. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15930 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 13:00:21 +00:00 |
|
scribu
|
ed9a39abab
|
Introduce sanitize_title_for_query(). See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15929 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 12:55:55 +00:00 |
|
scribu
|
3081a12de2
|
Introduce _qv_basename() and apply it to hierarchical taxonomies. See #9591.
git-svn-id: https://develop.svn.wordpress.org/trunk@15923 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 22:54:05 +00:00 |
|
scribu
|
c87a8235ca
|
Remove debugging code in wp_check_term_hierarchy_for_loops(). See #14662
git-svn-id: https://develop.svn.wordpress.org/trunk@15922 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 21:31:57 +00:00 |
|
scribu
|
890c0ead1c
|
Remove misplaced code in WP_Query::parse_tax_query(). See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15921 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 21:17:09 +00:00 |
|
Ryan Boren
|
efdb066697
|
Do not set role if it is the same. Props nickmomrik. fixes #14708
git-svn-id: https://develop.svn.wordpress.org/trunk@15919 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 19:38:20 +00:00 |
|
Ryan Boren
|
f2dbc7d273
|
Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 19:23:00 +00:00 |
|
Ryan Boren
|
fc73604019
|
Actions for adding and deleting meta. Props wojtek.szkutnik mitchoyoshitaka. fixes #14173
git-svn-id: https://develop.svn.wordpress.org/trunk@15917 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 19:18:33 +00:00 |
|
Ryan Boren
|
3e32b5318a
|
Use underscore separator
git-svn-id: https://develop.svn.wordpress.org/trunk@15916 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 19:10:23 +00:00 |
|
Ryan Boren
|
1926094622
|
Fix attribute spacing. Props Utkarsh. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15915 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 18:59:06 +00:00 |
|
Ryan Boren
|
3507043ba1
|
Remove redundant logged in check. Props neoxx. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15914 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 18:42:26 +00:00 |
|
Dion Hulse
|
80fc91b2ed
|
Support wildcard domains in WP_PROXY_BYPASS_HOSTS and WP_ACCESSIBLE_HOSTS. Fixes #14636
git-svn-id: https://develop.svn.wordpress.org/trunk@15911 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 10:27:35 +00:00 |
|
Andrew Nacin
|
146a8cf16c
|
Revisions and attachments should also generate meta capabilities as part of their cap object. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15909 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 00:25:14 +00:00 |
|
Andrew Nacin
|
7e48ac3e78
|
Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 19:55:28 +00:00 |
|
Andrew Nacin
|
6a5a1b338b
|
s/ms-options/settings. props PeteMall, fixes #14826.
git-svn-id: https://develop.svn.wordpress.org/trunk@15899 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 17:09:15 +00:00 |
|
Andrew Nacin
|
96052a12a5
|
Only dumb down delete_others_posts if it deserves to exist. fixes a notice. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15897 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 16:28:35 +00:00 |
|
Andrew Nacin
|
6d20960c97
|
Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 15:42:06 +00:00 |
|
Andrew Nacin
|
c5b02e9685
|
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: https://develop.svn.wordpress.org/trunk@15892 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 15:05:10 +00:00 |
|
Andrew Nacin
|
3732810a25
|
Only check the post author if the post type supports authors. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15891 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 14:55:15 +00:00 |
|
Andrew Nacin
|
71ebaa6170
|
Rough first pass on map_meta_cap for custom post types. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15890 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 14:40:04 +00:00 |
|
scribu
|
8315655230
|
Revert accidental changes to WP_Query made in [15887]. See #14163
git-svn-id: https://develop.svn.wordpress.org/trunk@15888 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 14:06:52 +00:00 |
|
scribu
|
a3ef15ffc0
|
Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
git-svn-id: https://develop.svn.wordpress.org/trunk@15887 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 14:03:25 +00:00 |
|
Andrew Nacin
|
142fcc3a35
|
Fix html in WP_Object_Cache::stats. props Utkarsh, fixes #15183.
git-svn-id: https://develop.svn.wordpress.org/trunk@15884 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 13:15:24 +00:00 |
|
Andrew Nacin
|
f77e992298
|
Kill off get_users_of_blog args argument.
git-svn-id: https://develop.svn.wordpress.org/trunk@15883 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 13:12:05 +00:00 |
|
Ryan Boren
|
682376a2ae
|
Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 13:08:47 +00:00 |
|
Mark Jaquith
|
9a7f5ef8df
|
Push capital P filter back behind the wpautop one to catch Wordpress after opening HTML tag
git-svn-id: https://develop.svn.wordpress.org/trunk@15877 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 22:44:15 +00:00 |
|
Ryan Boren
|
76b207939d
|
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: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 20:43:32 +00:00 |
|
Ryan Boren
|
4c3535a58d
|
Update network-wide active user and blog counts via a cron job to avoid costly count queries. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@15875 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 20:22:14 +00:00 |
|
scribu
|
188f3458f9
|
Fix tax=term1+term2 queries. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15874 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 19:00:57 +00:00 |
|
Andrew Nacin
|
4568da6764
|
Make get_users arg optional. props duck_. see #14572.
git-svn-id: https://develop.svn.wordpress.org/trunk@15873 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 17:21:06 +00:00 |
|
Ryan Boren
|
386694bb79
|
Schedule update checks from an init hook. see #15148
git-svn-id: https://develop.svn.wordpress.org/trunk@15872 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 16:50:57 +00:00 |
|
Peter Westwood
|
18fb594129
|
Fix variable mis-name.
git-svn-id: https://develop.svn.wordpress.org/trunk@15865 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 13:38:50 +00:00 |
|
Ryan Boren
|
debdb6e258
|
Equal equal equal. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15864 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 13:27:55 +00:00 |
|
Ryan Boren
|
74ef68d6ce
|
show_admin_bar(). see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15863 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 13:23:39 +00:00 |
|
Ryan Boren
|
8dcf52eeec
|
admin_bar_init action. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15862 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 13:07:54 +00:00 |
|
scribu
|
49a2a5e3dd
|
Get rid of $taxonomy_query_vars altogether. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15861 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 12:12:31 +00:00 |
|
scribu
|
2b08f69b50
|
Fix 'taxonomy' and 'term' query var logic. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15860 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 12:07:23 +00:00 |
|
Andrew Nacin
|
0aba879b95
|
Remove Lucida Grande from the sans serif font stack. fixes #8352, props iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 10:30:28 +00:00 |
|
Andrew Nacin
|
95ac3fc067
|
Body classes for custom taxonomies and terms. props nkuttler, fixes #15017.
git-svn-id: https://develop.svn.wordpress.org/trunk@15856 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 09:32:16 +00:00 |
|
scribu
|
5242abafb1
|
Make $id arg optional in the_terms(). Fixes #15160
git-svn-id: https://develop.svn.wordpress.org/trunk@15855 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 22:46:26 +00:00 |
|
scribu
|
3b3a5e8461
|
Correct dockblock for the_terms()
git-svn-id: https://develop.svn.wordpress.org/trunk@15854 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 22:41:34 +00:00 |
|
scribu
|
c5520dab32
|
Don't stomp on posts_per_page in get_posts(). Props bobbyblade. Fixes #15150
git-svn-id: https://develop.svn.wordpress.org/trunk@15852 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 17:08:32 +00:00 |
|
Ryan Boren
|
15cda12c28
|
Lose get_ordered_blogs_of_user() and set_visibility(). Not using them yet. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15851 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 15:32:33 +00:00 |
|
scribu
|
6b80426cfa
|
Re-add the ability to filter by 'taxonomy' and 'term' query vars. Fixes #13582. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15850 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 14:41:30 +00:00 |
|