Version Description
- Plugin now loads later to allow for custom taxonomies
Download this release
Release Info
Developer | katzwebdesign |
Plugin | Rich Text Tags |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.5.2
- readme.txt +16 -1
- rich-text-tags.php +12 -12
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Rich Text Tags ===
|
2 |
Contributors: katzwebdesign
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=zackkatz%40gmail%2ecom&item_name=Rich%20Text%20Tags&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
-
Tags: tag, tags, taxonomy, taxonomies, category, categories, category description, rich text category, editor, rich text, description, tag description, taxonomy description, rich text, wysiwyg, tinyMCE, SEO, search engine optimization
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.3.1
|
7 |
Stable tag: trunk
|
@@ -31,8 +31,17 @@ Use the WordPress functions `tag_description()` and `category_description()` in
|
|
31 |
= What is the license of this plugin? =
|
32 |
* This plugin is released under a GPL license.
|
33 |
|
|
|
|
|
|
|
34 |
== Upgrade Notice ==
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
= 1.5 =
|
37 |
* The plugin now requires WordPress 3.3
|
38 |
|
@@ -71,6 +80,12 @@ Use the WordPress functions `tag_description()` and `category_description()` in
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
= 1.5 =
|
75 |
* The plugin now uses WordPress's built-in <a href="http://codex.wordpress.org/Function_Reference/wp_editor" rel="nofollow">wp_editor()</a> and requires WordPress 3.3
|
76 |
* Added localization support (multiple languages)
|
1 |
=== Rich Text Tags ===
|
2 |
Contributors: katzwebdesign
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=zackkatz%40gmail%2ecom&item_name=Rich%20Text%20Tags&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
+
Tags: tag, tags, taxonomy, taxonomies, category, categories, category description, rich text category, editor, rich text, description, tag description, taxonomy description, rich text, wysiwyg, tinyMCE, SEO, search engine optimization, terms
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.3.1
|
7 |
Stable tag: trunk
|
31 |
= What is the license of this plugin? =
|
32 |
* This plugin is released under a GPL license.
|
33 |
|
34 |
+
= Neat plugin page image. =
|
35 |
+
Thanks, it's by <a href="http://www.flickr.com/photos/laurenmanning/5659535988/" rel="nofollow">Lauren Manning</a>.
|
36 |
+
|
37 |
== Upgrade Notice ==
|
38 |
|
39 |
+
= 1.5.2 =
|
40 |
+
* Plugin now loads later to allow for custom taxonomies
|
41 |
+
|
42 |
+
= 1.5.1 =
|
43 |
+
* Fixed: restored `do_shortcode` filter on term descriptions
|
44 |
+
|
45 |
= 1.5 =
|
46 |
* The plugin now requires WordPress 3.3
|
47 |
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
+
= 1.5.2 =
|
84 |
+
* Plugin now loads later to allow for custom taxonomies
|
85 |
+
|
86 |
+
= 1.5.1 =
|
87 |
+
* Fixed: restored `do_shortcode` filter on term descriptions
|
88 |
+
|
89 |
= 1.5 =
|
90 |
* The plugin now uses WordPress's built-in <a href="http://codex.wordpress.org/Function_Reference/wp_editor" rel="nofollow">wp_editor()</a> and requires WordPress 3.3
|
91 |
* Added localization support (multiple languages)
|
rich-text-tags.php
CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Rich Text Tags, Categories, and Taxonomies
|
|
4 |
Plugin URI: http://www.seodenver.com/rich-text-tags/
|
5 |
Description: This plugin offers rich text editing capabilities for descriptions of tags, categories, and taxonomies.
|
6 |
Author: Katz Web Services, Inc.
|
7 |
-
Version: 1.5
|
8 |
Author URI: http://www.katzwebservices.com
|
9 |
*/
|
10 |
|
11 |
-
/* Copyright 2012 Katz Web Services, Inc. (email : info@katzwebservices.com
|
12 |
|
13 |
This program is free software; you can redistribute it and/or modify
|
14 |
it under the terms of the GNU General Public License as published by
|
@@ -26,7 +26,7 @@ Author URI: http://www.katzwebservices.com
|
|
26 |
*/
|
27 |
|
28 |
|
29 |
-
add_action('
|
30 |
function kws_rich_text_tags() {
|
31 |
|
32 |
global $wpdb, $user, $current_user, $pagenow, $wp_version;
|
@@ -47,12 +47,18 @@ function kws_rich_text_tags() {
|
|
47 |
add_action($tax.'_add_form_fields', 'kws_add_form');
|
48 |
}
|
49 |
|
50 |
-
|
51 |
|
52 |
if($pagenow == 'edit-tags.php' && isset($_REQUEST['action']) && $_REQUEST['action'] == 'edit' && empty($_REQUEST['taxonomy'])) {
|
53 |
add_action('edit_term','kws_rt_taxonomy_save');
|
54 |
-
}
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
57 |
}
|
58 |
|
@@ -65,12 +71,6 @@ function kws_rt_taxonomy_save() {
|
|
65 |
}
|
66 |
}
|
67 |
|
68 |
-
// LOAD SCRIPTS
|
69 |
-
function kws_rt_taxonomy_load_mce() {
|
70 |
-
$kwsScript = WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)).'kws_rt_taxonomy.js';
|
71 |
-
wp_enqueue_script('kws_rte',$kwsScript, array('jquery'));
|
72 |
-
}
|
73 |
-
|
74 |
function kws_add_form($taxonomy = ''){
|
75 |
global $pagenow;
|
76 |
|
4 |
Plugin URI: http://www.seodenver.com/rich-text-tags/
|
5 |
Description: This plugin offers rich text editing capabilities for descriptions of tags, categories, and taxonomies.
|
6 |
Author: Katz Web Services, Inc.
|
7 |
+
Version: 1.5.2
|
8 |
Author URI: http://www.katzwebservices.com
|
9 |
*/
|
10 |
|
11 |
+
/* Copyright 2012 Katz Web Services, Inc. (email : info@katzwebservices.com)
|
12 |
|
13 |
This program is free software; you can redistribute it and/or modify
|
14 |
it under the terms of the GNU General Public License as published by
|
26 |
*/
|
27 |
|
28 |
|
29 |
+
add_action('init', 'kws_rich_text_tags');
|
30 |
function kws_rich_text_tags() {
|
31 |
|
32 |
global $wpdb, $user, $current_user, $pagenow, $wp_version;
|
47 |
add_action($tax.'_add_form_fields', 'kws_add_form');
|
48 |
}
|
49 |
|
50 |
+
wp_enqueue_script('kws_rte', plugins_url('kws_rt_taxonomy.js', __FILE__), array('jquery'));
|
51 |
|
52 |
if($pagenow == 'edit-tags.php' && isset($_REQUEST['action']) && $_REQUEST['action'] == 'edit' && empty($_REQUEST['taxonomy'])) {
|
53 |
add_action('edit_term','kws_rt_taxonomy_save');
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
// Enable shortcodes in category, taxonomy, tag descriptions
|
58 |
+
if(function_exists('term_description')) {
|
59 |
+
add_filter('term_description', 'do_shortcode');
|
60 |
+
} else {
|
61 |
+
add_filter('category_description', 'do_shortcode');
|
62 |
}
|
63 |
}
|
64 |
|
71 |
}
|
72 |
}
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
function kws_add_form($taxonomy = ''){
|
75 |
global $pagenow;
|
76 |
|