Shortcodes by Angie Makes - Version 1.23

Version Description

Download this release

Release Info

Developer cbaldelomar
Plugin Icon wp plugin Shortcodes by Angie Makes
Version 1.23
Comparing to
See all releases

Code changes from version 1.22 to 1.23

README.md CHANGED
@@ -65,6 +65,11 @@ Use the shortcode manager in the TinyMCE text editor
65
 
66
  ## Changelog ##
67
 
 
 
 
 
 
68
  ### Version 1.22
69
 
70
  * Added option for countdown shortcode to control labels.
65
 
66
  ## Changelog ##
67
 
68
+ ### Version 1.23
69
+
70
+ * Changed permission from read to manage_options
71
+ * Better code formatting on pages and posts.
72
+
73
  ### Version 1.22
74
 
75
  * Added option for countdown shortcode to control labels.
includes/css/style.css CHANGED
@@ -861,7 +861,13 @@
861
  * ----------------------------------------------------------------------------
862
  */
863
  /* desert scheme ported from vim to google prettify */
864
- pre.prettyprint { display: block; background-color: #333 }
 
 
 
 
 
 
865
  pre .nocode { background-color: transparent; color: #000 }
866
  pre .str { color: #ffa0a0 } /* string - pink */
867
  pre .kwd { color: #f0e68c; font-weight: bold }
861
  * ----------------------------------------------------------------------------
862
  */
863
  /* desert scheme ported from vim to google prettify */
864
+ pre.prettyprint {
865
+ display: block; background-color: #333
866
+ overflow: auto;
867
+ padding: 20px;
868
+ white-space: pre;
869
+ word-wrap: normal;
870
+ }
871
  pre .nocode { background-color: transparent; color: #000 }
872
  pre .str { color: #ffa0a0 } /* string - pink */
873
  pre .kwd { color: #f0e68c; font-weight: bold }
includes/settings.php CHANGED
@@ -29,11 +29,11 @@ function wc_shortcodes_options_admin_menu() {
29
  global $wc_shortcodes_options;
30
 
31
  foreach ( $wc_shortcodes_options as $tab => $o ) {
32
- $view_hook_name = add_submenu_page( 'options.php', $o['title'], $o['title'], 'read', 'wc-shortcodes-options-' . $tab, 'wc_shortcodes_options_display_page' );
33
  }
34
 
35
  // add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function );
36
- $view_hook_name = add_submenu_page( 'themes.php', 'WC Shortcodes', 'WC Shortcodes', 'read', 'wc-shortcodes-options', 'wc_shortcodes_options_display_page' );
37
  }
38
  add_action( 'admin_menu', 'wc_shortcodes_options_admin_menu' );
39
 
29
  global $wc_shortcodes_options;
30
 
31
  foreach ( $wc_shortcodes_options as $tab => $o ) {
32
+ $view_hook_name = add_submenu_page( 'options.php', $o['title'], $o['title'], 'manage_options', 'wc-shortcodes-options-' . $tab, 'wc_shortcodes_options_display_page' );
33
  }
34
 
35
  // add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function );
36
+ $view_hook_name = add_submenu_page( 'themes.php', 'WC Shortcodes', 'WC Shortcodes', 'manage_options', 'wc-shortcodes-options', 'wc_shortcodes_options_display_page' );
37
  }
38
  add_action( 'admin_menu', 'wc_shortcodes_options_admin_menu' );
39
 
readme.txt CHANGED
@@ -86,6 +86,11 @@ Use the shortcode manager in the TinyMCE text editor
86
 
87
  == Changelog ==
88
 
 
 
 
 
 
89
  ### Version 1.22
90
 
91
  * Added option for countdown shortcode to control labels.
86
 
87
  == Changelog ==
88
 
89
+ ### Version 1.23
90
+
91
+ * Changed permission from read to manage_options
92
+ * Better code formatting on pages and posts.
93
+
94
  ### Version 1.22
95
 
96
  * Added option for countdown shortcode to control labels.
wc-shortcodes.php CHANGED
@@ -5,11 +5,11 @@ Plugin URI: http://wordpresscanvas.com/features/shortcodes/
5
  Description: A family of shortcodes to enhance site functionality.
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
- Version: 1.22
9
  License: GPLv2 or later
10
  */
11
 
12
- define( 'WC_SHORTCODES_VERSION', '1.22' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
5
  Description: A family of shortcodes to enhance site functionality.
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
+ Version: 1.23
9
  License: GPLv2 or later
10
  */
11
 
12
+ define( 'WC_SHORTCODES_VERSION', '1.23' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );