Ultimate TinyMCE - Version 5.6

Version Description

*12-06-2014

  • Updated a couple options for easier conversion to WP Edit.
Download this release

Release Info

Developer josh401
Plugin Icon wp plugin Ultimate TinyMCE
Version 5.6
Comparing to
See all releases

Code changes from version 5.5 to 5.6

Files changed (3) hide show
  1. img/banner8.png +0 -0
  2. main.php +41 -3
  3. readme.txt +6 -1
img/banner8.png ADDED
Binary file
main.php CHANGED
@@ -1,14 +1,14 @@
1
  <?php
2
  /**
3
  * @package Ultimate TinyMCE
4
- * @version 5.5
5
  */
6
  /*
7
  Plugin Name: Ultimate TinyMCE
8
  Plugin URI: http://www.plugins.joshlobe.com/
9
  Description: Beef up your visual tinymce editor with a plethora of advanced options.
10
  Author: Josh Lobe
11
- Version: 5.5
12
  Author URI: http://joshlobe.com
13
 
14
  */
@@ -29,10 +29,48 @@ Author URI: http://joshlobe.com
29
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30
  */
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  //********************************************************************************************
34
  //
35
- // Check WP version... and alert user to switch to WP Edi
36
  //
37
  //********************************************************************************************
38
 
1
  <?php
2
  /**
3
  * @package Ultimate TinyMCE
4
+ * @version 5.6
5
  */
6
  /*
7
  Plugin Name: Ultimate TinyMCE
8
  Plugin URI: http://www.plugins.joshlobe.com/
9
  Description: Beef up your visual tinymce editor with a plethora of advanced options.
10
  Author: Josh Lobe
11
+ Version: 5.6
12
  Author URI: http://joshlobe.com
13
 
14
  */
29
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30
  */
31
 
32
+ //********************************************************************************************
33
+ //
34
+ // 8Theme Banner
35
+ //
36
+ //********************************************************************************************
37
+ function utmce_eight_theme_banner() {
38
+
39
+ global $current_user;
40
+ $screen = get_current_screen();
41
+
42
+ if($screen->base === 'toplevel_page_ultimate-tinymce') {
43
+
44
+ $user_id = $current_user->ID;
45
+ if(!get_user_meta($user_id, 'utmce_eight_theme_banner')) {
46
+
47
+ echo '<div style="width:100%;">';
48
+ echo '<div style="margin:auto;text-align:center;">';
49
+ echo '<a href="http://www.8theme.com/wordpress-templates/" target="_blank" /><img src="'.plugins_url('img/banner8.png', __FILE__ ).'" title="8Themes" /></a>';
50
+ echo '<br />';
51
+ printf(__('<a href="%1$s">Hide</a>'), '?page=ultimate-tinymce&utmce_eight_theme_banner=0');
52
+ echo '</div>';
53
+ echo '</div>';
54
+ }
55
+ }
56
+ }
57
+ add_action('admin_notices', 'utmce_eight_theme_banner');
58
+
59
+ function utmce_eight_theme_banner_dismiss() {
60
+
61
+ global $current_user;
62
+ $user_id = $current_user->ID;
63
+ if(isset($_GET['utmce_eight_theme_banner']) && $_GET['utmce_eight_theme_banner'] == '0') {
64
+
65
+ add_user_meta($user_id, 'utmce_eight_theme_banner', 'true', true);
66
+ }
67
+ }
68
+ add_action('admin_init', 'utmce_eight_theme_banner_dismiss');
69
+
70
 
71
  //********************************************************************************************
72
  //
73
+ // Check WP version... and alert user to switch to WP Edit
74
  //
75
  //********************************************************************************************
76
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: editor, buttons, button, add, font, font style, font select, table, tables, visual editor, search, replace, colors, color, anchor, advance, advanced, links, link, popup, javascript, upgrade, update, admin, image, images, citations, preview, html, custom, custom css, css, borders, pages, posts, pretty, colorful, php, php widget, shortcode, shortcodes, style, styles, plugin, login, excerpt, id, post, page, youtube, syntax, highlight, highlighter, image maps, tinymce, Tinymce, ultimate, Ultimate Tinymce
5
  Requires at least: 3.5.1
6
  Tested up to: 3.8.3
7
- Stable tag: 5.5
8
  License: GPLv2
9
 
10
  Description: Beef up the WordPress TinyMCE content editor with a plethora of advanced options.
@@ -53,6 +53,11 @@ Rather than "bloat" the plugin with screenshots. Please check out tons of screen
53
 
54
  == Changelog ==
55
 
 
 
 
 
 
56
  = 5.5 =
57
  * 11-30-2014
58
 
4
  Tags: editor, buttons, button, add, font, font style, font select, table, tables, visual editor, search, replace, colors, color, anchor, advance, advanced, links, link, popup, javascript, upgrade, update, admin, image, images, citations, preview, html, custom, custom css, css, borders, pages, posts, pretty, colorful, php, php widget, shortcode, shortcodes, style, styles, plugin, login, excerpt, id, post, page, youtube, syntax, highlight, highlighter, image maps, tinymce, Tinymce, ultimate, Ultimate Tinymce
5
  Requires at least: 3.5.1
6
  Tested up to: 3.8.3
7
+ Stable tag: 5.6
8
  License: GPLv2
9
 
10
  Description: Beef up the WordPress TinyMCE content editor with a plethora of advanced options.
53
 
54
  == Changelog ==
55
 
56
+ = 5.6 =
57
+ *12-06-2014
58
+
59
+ * Updated a couple options for easier conversion to WP Edit.
60
+
61
  = 5.5 =
62
  * 11-30-2014
63