Version Description
- Fix: Servers with PHP version < 5.5 were facing HTTP 500 error because of misuse of PHP language construct in code.
Download this release
Release Info
Developer | vaakash |
Plugin | Shortcoder |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.0.1
- admin/sc-admin.php +1 -1
- readme.txt +4 -1
- shortcoder.php +2 -2
admin/sc-admin.php
CHANGED
@@ -245,7 +245,7 @@ class Shortcoder_Admin{
|
|
245 |
'sc_devices' => 'all',
|
246 |
));
|
247 |
|
248 |
-
if(
|
249 |
self::print_notice( 0 );
|
250 |
return false;
|
251 |
}
|
245 |
'sc_devices' => 'all',
|
246 |
));
|
247 |
|
248 |
+
if( !trim( $p[ 'sc_name' ] ) ){
|
249 |
self::print_notice( 0 );
|
250 |
return false;
|
251 |
}
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Donate link: https://goo.gl/qMF3iE
|
|
7 |
License: GPLv2 or later
|
8 |
Requires at least: 3.3
|
9 |
Tested up to: 4.8
|
10 |
-
Stable tag: 4.0
|
11 |
|
12 |
Create custom "Shortcodes" easily for HTML, Javascript snippets and use the shortcodes within posts, pages & widgets.
|
13 |
|
@@ -91,6 +91,9 @@ Note: When you disable a shortcode, the shortcode will not be executed in the pa
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
94 |
= 4.0 =
|
95 |
* New: Plugin rewritten from scratch.
|
96 |
* New: Brand new administration page
|
7 |
License: GPLv2 or later
|
8 |
Requires at least: 3.3
|
9 |
Tested up to: 4.8
|
10 |
+
Stable tag: 4.0.1
|
11 |
|
12 |
Create custom "Shortcodes" easily for HTML, Javascript snippets and use the shortcodes within posts, pages & widgets.
|
13 |
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 4.0.1 =
|
95 |
+
* Fix: Servers with PHP version < 5.5 were facing HTTP 500 error because of misuse of PHP language construct in code.
|
96 |
+
|
97 |
= 4.0 =
|
98 |
* New: Plugin rewritten from scratch.
|
99 |
* New: Brand new administration page
|
shortcoder.php
CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Shortcoder
|
|
4 |
Plugin URI: https://www.aakashweb.com
|
5 |
Description: Shortcoder is a plugin which allows to create a custom shortcode and store HTML, Javascript and other snippets in it. So if that shortcode is used in any post or pages, then the code stored in the shortcode get exceuted in that place. You can create a shortcode for Youtube videos, adsense ads, buttons and more.
|
6 |
Author: Aakash Chakravarthy
|
7 |
-
Version: 4.0
|
8 |
Author URI: https://www.aakashweb.com/
|
9 |
*/
|
10 |
|
11 |
-
define( 'SC_VERSION', '4.0');
|
12 |
define( 'SC_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
|
13 |
define( 'SC_URL', plugin_dir_url( __FILE__ ) );
|
14 |
define( 'SC_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
|
4 |
Plugin URI: https://www.aakashweb.com
|
5 |
Description: Shortcoder is a plugin which allows to create a custom shortcode and store HTML, Javascript and other snippets in it. So if that shortcode is used in any post or pages, then the code stored in the shortcode get exceuted in that place. You can create a shortcode for Youtube videos, adsense ads, buttons and more.
|
6 |
Author: Aakash Chakravarthy
|
7 |
+
Version: 4.0.1
|
8 |
Author URI: https://www.aakashweb.com/
|
9 |
*/
|
10 |
|
11 |
+
define( 'SC_VERSION', '4.0.1');
|
12 |
define( 'SC_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
|
13 |
define( 'SC_URL', plugin_dir_url( __FILE__ ) );
|
14 |
define( 'SC_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
|