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 |
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 |
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
|
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
|
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
|
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
|
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 |
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 |
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 |
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 |
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
|
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
|
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
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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
|
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 |
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 |
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
|
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 |
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 |
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
|
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 |
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 |
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
|
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 |
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 |
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 |
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 |
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
|
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
|
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 |
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 |
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
|
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
|
829cc698b9
|
Update 'edited_term_taxonomy' to pass the same args in all locations called. See #12348
git-svn-id: http://svn.automattic.com/wordpress/trunk@13626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-09 10:53:02 +00:00 |
dd32
|
078706399a
|
Add custom post_type support to _update_post_term_coun(). Props momo360modena. Fixes #12348
git-svn-id: http://svn.automattic.com/wordpress/trunk@13625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-09 10:48:18 +00:00 |