Ryan Boren
|
813f1abd3c
|
Avoid undefined index notices. Props SergeyBiryukov, valendesigns. fixes #18455
git-svn-id: https://develop.svn.wordpress.org/trunk@19077 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-28 19:52:14 +00:00 |
|
Andrew Nacin
|
95eff833c8
|
Remove duplicate word in docs. props SergeyBiryukov, fixes #18986.
git-svn-id: https://develop.svn.wordpress.org/trunk@19065 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 16:07:14 +00:00 |
|
Ryan Boren
|
fd10e500e4
|
Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-24 19:13:23 +00:00 |
|
Andrew Nacin
|
5e85a49355
|
Update the update_count_callback docs. see #18986.
git-svn-id: https://develop.svn.wordpress.org/trunk@19037 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-21 21:50:36 +00:00 |
|
Andrew Nacin
|
8e97202178
|
No need to specify an update_count_callback for categories or tags, as the default handler for them will now be _update_post_term_count(). see #18986, [19035].
git-svn-id: https://develop.svn.wordpress.org/trunk@19036 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-21 21:46:03 +00:00 |
|
Andrew Nacin
|
5307ec17c5
|
Separate non-post term counting from _update_post_term_count(). Introduce _update_generic_term_count(). The generic handler will be the default whenever the taxonomy is attached to an object type other than a post type (link, user). Otherwise the _update_post_term_count() handler will be the default. fixes #18986. see #17548.
git-svn-id: https://develop.svn.wordpress.org/trunk@19035 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-21 21:38:14 +00:00 |
|
Ryan Boren
|
b9215e193e
|
Typo fix. Props SergeyBiryukov. see #18986
git-svn-id: https://develop.svn.wordpress.org/trunk@19031 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-20 21:41:54 +00:00 |
|
Ryan Boren
|
f4d5f4fceb
|
Fix term counting for links. Props SergeyBiryukov. fixes #18986
git-svn-id: https://develop.svn.wordpress.org/trunk@19025 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-20 14:28:26 +00:00 |
|
Ryan Boren
|
cc9e6ecb65
|
Call wp_update_term_count() only for those terms that have been added to or removed from the object. Props jeremyclarke. fixes #18631
git-svn-id: https://develop.svn.wordpress.org/trunk@18999 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-18 21:01:55 +00:00 |
|
Andrew Nacin
|
90f95e0204
|
new does not require by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@18995 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-18 20:20:59 +00:00 |
|
Ryan Boren
|
448700b2e7
|
Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. see #17548
git-svn-id: https://develop.svn.wordpress.org/trunk@18932 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-10 20:52:44 +00:00 |
|
Peter Westwood
|
2421e0ecc6
|
Fire an action when a post type or taxonomy is registered so plugins can react. Fixes #18802 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@18833 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-30 09:53:35 +00:00 |
|
Andrew Nacin
|
cd0ad3ead4
|
Revert [18783], as it breaks term relationship counts for attachment taxonomies. see #17548.
git-svn-id: https://develop.svn.wordpress.org/trunk@18809 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-29 05:29:20 +00:00 |
|
Ryan Boren
|
f63662aa82
|
Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
git-svn-id: https://develop.svn.wordpress.org/trunk@18783 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-26 22:24:46 +00:00 |
|
Andrew Nacin
|
fb58d06f1c
|
Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: https://develop.svn.wordpress.org/trunk@18661 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-11 17:52:46 +00:00 |
|
Jon Cave
|
82c0f09c09
|
Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18639 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-05 19:08:15 +00:00 |
|
Ryan Boren
|
ad3b0cacc4
|
Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
git-svn-id: https://develop.svn.wordpress.org/trunk@18603 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-08-25 18:49:46 +00:00 |
|
Peter Westwood
|
89a6ae387e
|
Optimise get_term to not query for term_id = 0. Also improve the prepared query to use %d for the term_id.
Fixes #18076 props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@18591 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-08-24 10:39:52 +00:00 |
|
Ryan Boren
|
bb7af108f5
|
Sanitize order and orderby in get_terms()
git-svn-id: https://develop.svn.wordpress.org/trunk@18344 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-27 15:45:12 +00:00 |
|
Ryan Boren
|
46d96c7704
|
Bring out the pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-10 23:01:45 +00:00 |
|
Andrew Nacin
|
24d38bc521
|
Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.
git-svn-id: https://develop.svn.wordpress.org/trunk@18194 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-08 16:49:27 +00:00 |
|
Ryan Boren
|
30d46abd66
|
Add cache_domain argument to get_terms() to allow caching to a unique set of cache buckets. Useful when taxonomy queries have been modified via filters and need their own cache space. Props mfields. fixes #13318
git-svn-id: https://develop.svn.wordpress.org/trunk@18128 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-03 15:24:14 +00:00 |
|
Ryan Boren
|
ae5e08e457
|
Prepare some LIKEs
git-svn-id: https://develop.svn.wordpress.org/trunk@17997 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-22 23:22:59 +00:00 |
|
Mark Jaquith
|
a957c38eca
|
Use the presence of manually set tax_base, not category_base, to determine whether tags use with_front to craft URLs. fixes #17308
git-svn-id: https://develop.svn.wordpress.org/trunk@17789 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-02 21:34:33 +00:00 |
|
Dion Hulse
|
649a1fad73
|
Prevent $taxonony->object_type containing duplicate values. Initial patch props kevinB. Fixes #16951
git-svn-id: https://develop.svn.wordpress.org/trunk@17688 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-23 09:27:37 +00:00 |
|
Ryan Boren
|
ecfd3d4608
|
Handle term intersection requests containg inexistent terms. Props scribu. fixes #17194
git-svn-id: https://develop.svn.wordpress.org/trunk@17686 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-22 19:09:48 +00:00 |
|
Ryan Boren
|
0f3921f771
|
More efficient term intersection query. Props tigertech. see #16706
git-svn-id: https://develop.svn.wordpress.org/trunk@17652 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-18 20:38:59 +00:00 |
|
Ryan Boren
|
52cbde8270
|
Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17526 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-22 20:06:38 +00:00 |
|
Mark Jaquith
|
c15c6f2b23
|
Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17512 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-09 05:18:45 +00:00 |
|
Mark Jaquith
|
1ca947074d
|
Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17494 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-02 17:29:11 +00:00 |
|
Ryan Boren
|
a57952b5c9
|
Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17443 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-02-10 21:48:40 +00:00 |
|
Ryan Boren
|
81a1787248
|
Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17437 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-02-10 20:17:54 +00:00 |
|
Andrew Nacin
|
861b32c855
|
Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17372 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-31 12:18:57 +00:00 |
|
Mark Jaquith
|
daecb5d36d
|
Revert [16832]. see #9591. fixes #16282
git-svn-id: https://develop.svn.wordpress.org/trunk@17357 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-24 06:26:38 +00:00 |
|
Andrew Nacin
|
b5d92c4354
|
Correct the @return for get_term_link. It always has been able to return WP_Error. props SergeyBiryukov, see #16282.
git-svn-id: https://develop.svn.wordpress.org/trunk@17341 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-20 23:36:42 +00:00 |
|
Andrew Nacin
|
87221c5a85
|
Give the format taxonomy a name. props SergeyBiryukov, see #16172.
git-svn-id: https://develop.svn.wordpress.org/trunk@17261 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-11 22:11:32 +00:00 |
|
Ryan Boren
|
f59c869e62
|
category__and, tag__and, tag_slug__in, tag_slug__and support. fixes #16157
git-svn-id: https://develop.svn.wordpress.org/trunk@17244 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-09 16:19:48 +00:00 |
|
Andrew Nacin
|
eb5b299e70
|
Don't check for post format support when registering the post format taxonomy. fixes #16146.
git-svn-id: https://develop.svn.wordpress.org/trunk@17240 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-07 21:23:52 +00:00 |
|
Ryan Boren
|
eba71eb7c0
|
Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-06 04:11:14 +00:00 |
|
Ryan Boren
|
de1f10c283
|
Don't sanitize_key() the post type so that colons aren't stripped from attachment types. Props nacin. fixes #15982
git-svn-id: https://develop.svn.wordpress.org/trunk@17155 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-26 22:00:50 +00:00 |
|
Ryan Boren
|
a748e507e5
|
link_notes and term_description escaping fixes. Props garyc40. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@17146 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-25 22:45:09 +00:00 |
|
Andrew Nacin
|
537d726a7c
|
Make get_the_taxonomies() take an array of arguments. props scribu, fixes #14740.
git-svn-id: https://develop.svn.wordpress.org/trunk@17028 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-17 16:33:16 +00:00 |
|
Ryan Boren
|
748f5f0154
|
phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 22:46:13 +00:00 |
|
Ryan Boren
|
c1e26ef82c
|
Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 14:22:41 +00:00 |
|
Mark Jaquith
|
595bc10419
|
Add WP Rewrite root to front of add_permastruct() call when adding a taxonomy. fixes #15813
git-svn-id: https://develop.svn.wordpress.org/trunk@16918 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 16:28:16 +00:00 |
|
Ryan Boren
|
6dc2d07bc4
|
Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 21:21:50 +00:00 |
|
scribu
|
ab5cd7a4f5
|
Inline docs for WP_Tax_Query. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16854 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-10 08:20:46 +00:00 |
|
scribu
|
77f5f54ff7
|
Correct relation var and PHP4 constructor. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16850 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 19:36:33 +00:00 |
|
scribu
|
85a176fe8f
|
Introduce WP_Tax_Query. Fix canonical redirects in the process. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16849 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 19:29:21 +00:00 |
|
scribu
|
1527d28dca
|
False advertising is bad. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16845 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 17:19:23 +00:00 |
|