Commit Graph

294 Commits

Author SHA1 Message Date
Ryan Boren 0adf04d6db Don't order term count queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@14563 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 16:50:25 +00:00
Andrew Nacin b6d274e817 Small fix to r14479. see #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14480 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:16:39 +00:00
Andrew Nacin 934d7c5580 Allow get_object_taxonomies to return taxonomy objects. props scribu, fixes #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14479 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:07:50 +00:00
Andrew Nacin 23ce2f4151 Clean up whitespace in status/PT/tax registration.
git-svn-id: https://develop.svn.wordpress.org/trunk@14432 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 06:13:28 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Ron Rennick be6734dd06 only append parent term slug until unique slug found, see #10712
git-svn-id: https://develop.svn.wordpress.org/trunk@14234 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 15:25:00 +00:00
Dion Hulse c22f8eb989 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: https://develop.svn.wordpress.org/trunk@14229 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 07:35:16 +00:00
Andrew Nacin 028f262ccf 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: https://develop.svn.wordpress.org/trunk@14108 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:08:58 +00:00
Ryan Boren a79d5c9964 Sanity check terms. Skip term IDs that don't exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@14077 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 14:32:30 +00:00
Ryan Boren af71e20215 Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
git-svn-id: https://develop.svn.wordpress.org/trunk@13946 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 17:07:30 +00:00
Ron Rennick 736637fb27 rework syncing of global terms, see #12663
git-svn-id: https://develop.svn.wordpress.org/trunk@13925 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 01:26:44 +00:00
Dion Hulse 312438ad06 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: https://develop.svn.wordpress.org/trunk@13924 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 01:23:58 +00:00
Andrew Nacin 9781730e1c s/hierarachical/hierarchical/g. Props JohnPBloch.
git-svn-id: https://develop.svn.wordpress.org/trunk@13915 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 14:37:38 +00:00
Andrew Nacin 280b71b5e2 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: https://develop.svn.wordpress.org/trunk@13845 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 07:56:54 +00:00
Andrew Nacin e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Andrew Nacin 84ba6e473e 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: https://develop.svn.wordpress.org/trunk@13821 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:00:17 +00:00
Andrew Nacin 94ec7ba0eb Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00
Mark Jaquith 23f3d3f190 nav_menu taxonomy should be _builtin. props sillybean. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13741 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:03:02 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ryan Boren d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Dion Hulse 8aeef79822 Update 'edited_term_taxonomy' to pass the same args in all locations called. See #12348
git-svn-id: https://develop.svn.wordpress.org/trunk@13626 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:53:02 +00:00
Dion Hulse 586961f7aa Add custom post_type support to _update_post_term_coun(). Props momo360modena. Fixes #12348
git-svn-id: https://develop.svn.wordpress.org/trunk@13625 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:48:18 +00:00
Ryan Boren 2cd7529b55 get_taxonomies(). Props ptahdunbar, scribu. fixes #12516
git-svn-id: https://develop.svn.wordpress.org/trunk@13608 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:20:11 +00:00
Dion Hulse ce6ac1f938 Fix double slashing on /index.php//taxonomy/term/ links. Props Scribu. Fixes #12508. Also Fixes #10445
git-svn-id: https://develop.svn.wordpress.org/trunk@13597 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 03:43:23 +00:00
Dion Hulse 0cba2f4429 Use get_terms() in wp_count_terms(). Props scribu. Fixes #10746
git-svn-id: https://develop.svn.wordpress.org/trunk@13491 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:37:24 +00:00
Andrew Nacin 4464b5d33c Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
git-svn-id: https://develop.svn.wordpress.org/trunk@13430 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:40:35 +00:00
Ryan Boren 4d3733bef0 Pass taxonomy when looking for duplicate term slug.
git-svn-id: https://develop.svn.wordpress.org/trunk@13405 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:04:02 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Ron Rennick 2e25b92eb2 fix debug notice in wp_set_object_terms(), props jeremyclarke, fixes #12344
git-svn-id: https://develop.svn.wordpress.org/trunk@13321 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 02:37:19 +00:00
Dion Hulse c7be408d4a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:36:32 +00:00
Ryan Boren 6c64fffe3a Use nav_menu as the taxonomy name and nav_menu_item as the post type. Set object_id in postmeta. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13284 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 18:24:41 +00:00
Dion Hulse 9d3ea3bbae add show_tagcloud to Taxonomy registration & add basic PHPDoc, See #11612
git-svn-id: https://develop.svn.wordpress.org/trunk@13277 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:55:07 +00:00
Ryan Boren f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ryan Boren 123b6244e3 Remove custom post states. Register taxonomy against menu_item post type. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13260 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:35:39 +00:00
Ryan Boren 8c3feb431b Don't show menu for menu taxonomy. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13259 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:24:47 +00:00
Ryan Boren 63238b1667 Set taxonomy label if none given.
git-svn-id: https://develop.svn.wordpress.org/trunk@13258 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:21:20 +00:00
Ron Rennick f97af13505 introduce custom menus, props jeffikus, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:57:43 +00:00
Dion Hulse 7cdc6568d0 First pass at giving taxonomies a show_ui param. See #10773
git-svn-id: https://develop.svn.wordpress.org/trunk@13216 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:21:29 +00:00
Dion Hulse 04a67c293e 2nd pass at Taxonomy Term canonicalisation. Fix get_term_link() to expect null|false||WP_Error failure from get_term() family. See #12245, #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13170 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 09:08:26 +00:00
Dion Hulse de88d303fa Prevent Terms from being created in multiple taxonomies. If a slug is provided by the user, error out if it exists, else make the auto slug unique. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13087 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:52:27 +00:00
Dion Hulse d8006b5939 Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13083 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:18:33 +00:00
Dion Hulse 5aacc9a839 $term is an array not object, Fixes Notice on duplicate term checking. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13010 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:51:05 +00:00
Ryan Boren 61dcf802c7 Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
git-svn-id: https://develop.svn.wordpress.org/trunk@12881 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:42:23 +00:00
Dion Hulse d1a8b1bdb6 Remove accidental capability testing code. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12834 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:37:25 +00:00
Dion Hulse 8c6e15b457 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12833 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:32:04 +00:00
Dion Hulse bc3fbede7f Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Ryan Boren e5a67cebd5 Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren b9457ce8ff Add flag to taxonomy registration allowing permalinks to be prepended with front, or not. Props prettyboymp. fixes #11449
git-svn-id: https://develop.svn.wordpress.org/trunk@12791 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 22:25:16 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren 85de154ee3 Support id=>parent in fields arg of get_terms. Returns array of parent ids keyed by the id of the child term.
git-svn-id: https://develop.svn.wordpress.org/trunk@12729 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 17:40:37 +00:00
Ryan Boren 60b50434bd Make _get_term_hierarchy() query more efficient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12711 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 20:12:04 +00:00
Ryan Boren 37d1acae71 Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12699 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:23:58 +00:00
Ron Rennick 8b4fbdb503 merge in multisite login, wp-includes, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:49:40 +00:00
Ryan Boren 32bfcc6aa8 Convert taxonomy children cache into a transient. fixes #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@12693 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 18:53:52 +00:00
Peter Westwood b2360778ee Add support to get_terms() to allow 'include' & 'exclude' args to be arrays(). Fixes #11076 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12658 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:44:45 +00:00
Ryan Boren 974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren af9fafc779 Cleanup clean_term_cache(). Props Denis-de-Bernardy. see #11530
git-svn-id: https://develop.svn.wordpress.org/trunk@12510 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:37:21 +00:00
Ryan Boren 1ea0e34786 Pass taxonomy to created, edited, create, and edit actions. Props Denis-de-Bernardy. fixes #11429
git-svn-id: https://develop.svn.wordpress.org/trunk@12397 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 16:46:05 +00:00
Peter Westwood 7a0fb0316f Pass the old term_taxonomy ids to the action in set_object_terms so plugins know what was before. Fixes #10962 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@12261 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:33:45 +00:00
Ryan Boren 3430acef10 Use correct var name
git-svn-id: https://develop.svn.wordpress.org/trunk@12243 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 17:32:56 +00:00
Ryan Boren 446d22adcd Fix double slashing. Props scribu. fixes #11061
git-svn-id: https://develop.svn.wordpress.org/trunk@12241 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 14:23:41 +00:00
Ryan Boren dd4f87da0d Fix custom taxonomy term links when using non-pretty permalinks. Props bookchiq. fixes #11179
git-svn-id: https://develop.svn.wordpress.org/trunk@12229 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:41:53 +00:00
Ryan Boren 761aac294c Return null if no term queried. fixes #11112
git-svn-id: https://develop.svn.wordpress.org/trunk@12200 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 20:51:32 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 851b83207c Actions for taxonomy updates. Props Demitrious Kelly. fixes #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11941 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 14:03:57 +00:00
Ryan Boren 7a1a28e91f Fix parent=0 queries. Props Denis-de-Bernardy 107 minutes ago. . fixes #9960
git-svn-id: https://develop.svn.wordpress.org/trunk@11476 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-28 18:06:08 +00:00
Ryan Boren 813973d04f Fix default orderby for tt_id query. see #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11469 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 17:09:19 +00:00
Ryan Boren e38c2c7c07 Fix default orderby for tt_id query. see #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11468 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 17:00:30 +00:00
Ryan Boren 4b4c9e966e Add orderby = none option to wp_get_object_terms(). Props vladimir_kolesnikov. fixes #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11457 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 18:18:06 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Andrew Ozz 8017f27e5a Make get_terms() orderby case insensitive, props DD32, fixes #9906
git-svn-id: https://develop.svn.wordpress.org/trunk@11428 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 12:29:32 +00:00
Ryan Boren 3788f58c9e Revert [11263]. Busted several themes. see #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11324 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 04:09:01 +00:00
Ryan Boren ed05a1e8f8 Accept only IDs for get_term_link(). Prop filosofo. fixes #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11263 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 16:37:42 +00:00
Ryan Boren 00268d9665 Allow use of _pad_term_counts for all hierarhcical taxonomies. Props mgsisk, Denis-de-Bernardy. fixes #8350
git-svn-id: https://develop.svn.wordpress.org/trunk@11260 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 05:01:12 +00:00
Ryan Boren c09e996228 Pass IDs, not objects, to get_category_link(). fixes #9784
git-svn-id: https://develop.svn.wordpress.org/trunk@11257 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 04:45:39 +00:00
Peter Westwood 9b67652231 Fix typo in [11253] fixes #8704 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11255 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:25:43 +00:00
Peter Westwood a08a8c6db9 Add a filter to the result of wp_get_object_terms(). Fixes #8704 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11253 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:11:58 +00:00
Peter Westwood a9c7730610 Allow for custom ordering in get_terms(). Fixes #7539 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11250 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 07:57:07 +00:00
Mark Jaquith 8d6cb67233 esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-09 07:27:22 +00:00
Ryan Boren a0f1a1c89b Return ref. Props nbachiyski. fixes #9109
git-svn-id: https://develop.svn.wordpress.org/trunk@11216 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 05:03:59 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren 71fbf68dee strip slashes from term before prepare(). Props jhodgdon. see #6593
git-svn-id: https://develop.svn.wordpress.org/trunk@11153 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 22:05:04 +00:00
Ryan Boren d0b30bee2a Trim term before checking if it already exists. Props jhodgdon. fixes #9397
git-svn-id: https://develop.svn.wordpress.org/trunk@11151 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 20:59:14 +00:00
Ryan Boren 1f47d7d591 Fix registration of default taxonomies so that proper rewrite rules are written.
git-svn-id: https://develop.svn.wordpress.org/trunk@11141 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 19:05:32 +00:00
Ryan Boren c50d877687 Fix category search pagination. Fix caching of empty term results. Props Denis-de-Bernardy. fixes #8632
git-svn-id: https://develop.svn.wordpress.org/trunk@11140 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 16:51:45 +00:00
Ryan Boren b1bf7685ce Allow plugins to override default taxonomies. Props Denis-de-Bernardy. fixes #9647
git-svn-id: https://develop.svn.wordpress.org/trunk@11129 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 20:25:30 +00:00
Ryan Boren 66c017857a Allow taxonomy registration before init. Props arena. fixes #9647
git-svn-id: https://develop.svn.wordpress.org/trunk@11122 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 16:40:36 +00:00
Ryan Boren 0537f5af69 get_term_children phpdoc and var naming improvements. Props simonwheatley. fixes #9667
git-svn-id: https://develop.svn.wordpress.org/trunk@11115 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 19:49:21 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren fe2cea5e10 Clarify args to wp_update_term(). Props simonwheatley, johnbillion. fixes #9293
git-svn-id: https://develop.svn.wordpress.org/trunk@11068 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:05:36 +00:00
Ryan Boren c9b0e3b49a get_terms_orderby, get_terms_fields, and tag_clooud-sort filters. Props jhodgdon, filosofo. fixes #9004
git-svn-id: https://develop.svn.wordpress.org/trunk@11037 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 22:13:44 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren b47e7b03fd Create default taxonomies upon init. Props nbachiyski. fixes #9399
git-svn-id: https://develop.svn.wordpress.org/trunk@10965 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 23:17:49 +00:00
Ryan Boren 587e0e979f Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348
git-svn-id: https://develop.svn.wordpress.org/trunk@10963 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:19:01 +00:00
Ryan Boren f7df1f116e Add option to check if term exists with given parent. Update ajax add-cat check to pass parent when checking if cat exists.
git-svn-id: https://develop.svn.wordpress.org/trunk@10905 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 20:58:25 +00:00
Peter Westwood c8d46a6a36 Allow wp_delete_term users to force all objects to have a new term applied. Allow for category merging use-case. Fixes #9355.
git-svn-id: https://develop.svn.wordpress.org/trunk@10813 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:06:49 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00