Skip to content

Instantly share code, notes, and snippets.

@ramen
Created November 2, 2010 00:35
Show Gist options
  • Save ramen/659120 to your computer and use it in GitHub Desktop.
Save ramen/659120 to your computer and use it in GitHub Desktop.
The effect that the Simple Tags plugin has on $GLOBALS['wp_taxonomies']
--- without-simpletags.txt 2010-11-01 17:34:09.000000000 -0700
+++ with-simpletags.txt 2010-11-01 17:33:46.000000000 -0700
@@ -4,22 +4,16 @@
(
[hierarchical] => 1
[update_count_callback] => _update_post_term_count
- [rewrite] => Array
- (
- [hierarchical] => 1
- [slug] => category
- [with_front] =>
- )
-
- [query_var] => category_name
+ [rewrite] =>
+ [query_var] =>
[public] => 1
[show_ui] => 1
[show_tagcloud] => 1
- [_builtin] => 1
+ [_builtin] =>
[labels] => stdClass Object
(
[name] => Categories
- [singular_name] => Category
+ [singular_name] => Categories
[search_items] => Search Categories
[popular_items] =>
[all_items] => All Categories
@@ -35,6 +29,7 @@
)
[show_in_nav_menus] => 1
+ [label] => Categories
[cap] => stdClass Object
(
[manage_terms] => manage_categories
@@ -49,28 +44,124 @@
[0] => post
)
- [label] => Categories
)
[post_tag] => stdClass Object
(
[hierarchical] =>
- [update_count_callback] => _update_post_term_count
- [rewrite] => Array
+ [update_count_callback] => Array
(
- [slug] => tag
- [with_front] =>
+ [0] => SimpleTags Object
+ (
+ [options] => Array
+ (
+ [use_tag_pages] => 1
+ [allow_embed_tcloud] => 0
+ [no_follow] => 0
+ [auto_link_tags] => 0
+ [auto_link_min] => 1
+ [auto_link_case] => 1
+ [auto_link_exclude] =>
+ [auto_link_max_by_post] => 10
+ [use_click_tags] => 1
+ [order_click_tags] => name-asc
+ [use_suggested_tags] => 1
+ [opencalais_key] =>
+ [alchemy_api] =>
+ [zemanta_key] =>
+ [use_autocompletion] => 1
+ [use_embed_tags] => 0
+ [start_embed_tags] => [tags]
+ [end_embed_tags] => [/tags]
+ [rp_feed] => 0
+ [rp_embedded] => no
+ [rp_order] => count-desc
+ [rp_limit_qty] => 5
+ [rp_notagstext] => No related posts.
+ [rp_title] =>
+Related posts
+
+
+ [rp_xformat] => %post_title% (%post_comment%)
+ [rp_adv_usage] =>
+ [cloud_selectionby] => count
+ [cloud_selection] => desc
+ [cloud_orderby] => random
+ [cloud_order] => asc
+ [cloud_limit_qty] => 45
+ [cloud_notagstext] => No tags.
+ [cloud_title] =>
+Tag Cloud
+
+
+ [cloud_format] => flat
+ [cloud_xformat] => %tag_name%
+ [cloud_max_color] => #000000
+ [cloud_min_color] => #CCCCCC
+ [cloud_max_size] => 22
+ [cloud_min_size] => 8
+ [cloud_unit] => pt
+ [cloud_inc_cats] => 0
+ [cloud_adv_usage] =>
+ [tt_feed] => 0
+ [tt_embedded] => no
+ [tt_separator] => ,
+ [tt_before] => Tags:
+ [tt_after] =>
+
+ [tt_notagstext] => No tags for this post.
+ [tt_number] => 0
+ [tt_inc_cats] => 0
+ [tt_xformat] => %tag_name%
+ [tt_adv_usage] =>
+ [rt_number] => 5
+ [rt_order] => count-desc
+ [rt_separator] =>
+ [rt_format] => list
+ [rt_method] => OR
+ [rt_title] =>
+Related tags
+
+
+ [rt_notagstext] => No related tags found.
+ [rt_xformat] => %tag_count% + %tag_name%
+ [rt_remove_separator] =>
+ [rt_remove_format] => list
+ [rt_remove_notagstext] =>
+ [rt_remove_xformat] => » Remove %tag_name%
+ [meta_autoheader] => 1
+ [meta_always_include] =>
+ [meta_keywords_qty] => 0
+ [use_auto_tags] => 0
+ [at_all] => 0
+ [at_empty] => 0
+ [auto_list] =>
+ [only_full_word] => 0
+ )
+
+ [dateformat] => F j, Y
+ [posts] => Array
+ (
+ [0] => 16
+ [1] => 1
+ )
+
+ [link_tags] => null
+ )
+
+ [1] => _update_post_and_page_term_count
)
- [query_var] => tag
+ [rewrite] =>
+ [query_var] =>
[public] => 1
[show_ui] => 1
[show_tagcloud] => 1
- [_builtin] => 1
+ [_builtin] =>
[labels] => stdClass Object
(
[name] => Post Tags
- [singular_name] => Post Tag
+ [singular_name] => Post Tags
[search_items] => Search Tags
[popular_items] => Popular Tags
[all_items] => All Tags
@@ -86,6 +177,7 @@
)
[show_in_nav_menus] => 1
+ [label] => Post Tags
[cap] => stdClass Object
(
[manage_terms] => manage_categories
@@ -100,7 +192,6 @@
[0] => post
)
- [label] => Post Tags
)
[nav_menu] => stdClass Object
@@ -155,29 +246,30 @@
[update_count_callback] =>
[rewrite] =>
[query_var] =>
- [public] =>
- [show_ui] =>
- [show_tagcloud] =>
- [_builtin] => 1
+ [public] => 1
+ [show_ui] => 1
+ [show_tagcloud] => 1
+ [_builtin] =>
[labels] => stdClass Object
(
- [name] => Link Categories
- [singular_name] => Link Category
- [search_items] => Search Link Categories
- [popular_items] =>
- [all_items] => All Link Categories
+ [name] => Categories
+ [singular_name] => Categories
+ [search_items] => Search Tags
+ [popular_items] => Popular Tags
+ [all_items] => All Tags
[parent_item] =>
[parent_item_colon] =>
- [edit_item] => Edit Link Category
- [update_item] => Update Link Category
- [add_new_item] => Add New Link Category
- [new_item_name] => New Link Category Name
- [separate_items_with_commas] =>
- [add_or_remove_items] =>
- [choose_from_most_used] =>
+ [edit_item] => Edit Tag
+ [update_item] => Update Tag
+ [add_new_item] => Add New Tag
+ [new_item_name] => New Tag Name
+ [separate_items_with_commas] => Separate tags with commas
+ [add_or_remove_items] => Add or remove tags
+ [choose_from_most_used] => Choose from the most used tags
)
- [show_in_nav_menus] =>
+ [show_in_nav_menus] => 1
+ [label] => Categories
[cap] => stdClass Object
(
[manage_terms] => manage_categories
@@ -192,7 +284,6 @@
[0] => link
)
- [label] => Link Categories
)
[post_format] => stdClass Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment