Version Description
Download this release
Release Info
Developer | WraithKenny |
Plugin | Scripts n Styles |
Version | 3.3.2 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.3.2
- README.txt +2 -2
- scripts-n-styles.php +14 -4
README.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: WraithKenny, CaptainN
|
3 |
Tags: admin, CSS, javascript, code, custom, Style
|
4 |
Requires at least: 4.2.2
|
5 |
-
Tested up to: 4.7
|
6 |
-
Stable tag: 3.3.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
2 |
Contributors: WraithKenny, CaptainN
|
3 |
Tags: admin, CSS, javascript, code, custom, Style
|
4 |
Requires at least: 4.2.2
|
5 |
+
Tested up to: 4.7.2
|
6 |
+
Stable tag: 3.3.2
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
scripts-n-styles.php
CHANGED
@@ -5,13 +5,13 @@ Plugin URI: http://www.unfocus.com/projects/scripts-n-styles/
|
|
5 |
Description: Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
|
6 |
Author: unFocus Projects
|
7 |
Author URI: http://www.unfocus.com/
|
8 |
-
Version: 3.3.
|
9 |
License: GPLv3 or later
|
10 |
Text Domain: scripts-n-styles
|
11 |
*/
|
12 |
|
13 |
/* The Scripts n Styles WordPress Plugin
|
14 |
-
Copyright (c) 2010-
|
15 |
Copyright (c) 2012 Kevin Newman <http://www.unfocus.com/>
|
16 |
Copyright (c) 2012-2013 adcSTUDIO LLC <http://www.adcstudio.com/>
|
17 |
|
@@ -31,6 +31,16 @@ Text Domain: scripts-n-styles
|
|
31 |
This file incorporates work covered by other licenses and permissions.
|
32 |
*/
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
/**
|
35 |
* Scripts n Styles
|
36 |
*
|
@@ -50,7 +60,7 @@ Text Domain: scripts-n-styles
|
|
50 |
* @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
|
51 |
* @author unFocus Projects
|
52 |
* @link http://www.unfocus.com/ Author URI
|
53 |
-
* @version 3.3
|
54 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
55 |
* @copyright Copyright (c) 2010 - 2013, Kenneth Newman
|
56 |
* @copyright Copyright (c) 2012, Kevin Newman
|
@@ -68,7 +78,7 @@ class Scripts_n_Styles
|
|
68 |
/**#@+
|
69 |
* @static
|
70 |
*/
|
71 |
-
const VERSION = '3.3';
|
72 |
static $file = __FILE__;
|
73 |
static $cm_themes = array( 'default', '3024-day', '3024-night', 'ambiance',
|
74 |
'base16-dark', 'base16-light',
|
5 |
Description: Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
|
6 |
Author: unFocus Projects
|
7 |
Author URI: http://www.unfocus.com/
|
8 |
+
Version: 3.3.2
|
9 |
License: GPLv3 or later
|
10 |
Text Domain: scripts-n-styles
|
11 |
*/
|
12 |
|
13 |
/* The Scripts n Styles WordPress Plugin
|
14 |
+
Copyright (c) 2010-2017 Kenneth Newman <http://www.unfocus.com/>
|
15 |
Copyright (c) 2012 Kevin Newman <http://www.unfocus.com/>
|
16 |
Copyright (c) 2012-2013 adcSTUDIO LLC <http://www.adcstudio.com/>
|
17 |
|
31 |
This file incorporates work covered by other licenses and permissions.
|
32 |
*/
|
33 |
|
34 |
+
if ( version_compare( PHP_VERSION, '5.4', '<' ) ) :
|
35 |
+
function sns_disable_update( $value ) {
|
36 |
+
if( isset( $value->response[plugin_basename( __FILE__ )] ) ) {
|
37 |
+
unset( $value->response[plugin_basename( __FILE__ )] );
|
38 |
+
}
|
39 |
+
return $value;
|
40 |
+
}
|
41 |
+
add_filter( 'site_transient_update_plugins', 'sns_disable_update' );
|
42 |
+
endif;
|
43 |
+
|
44 |
/**
|
45 |
* Scripts n Styles
|
46 |
*
|
60 |
* @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
|
61 |
* @author unFocus Projects
|
62 |
* @link http://www.unfocus.com/ Author URI
|
63 |
+
* @version 3.3.2
|
64 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
65 |
* @copyright Copyright (c) 2010 - 2013, Kenneth Newman
|
66 |
* @copyright Copyright (c) 2012, Kevin Newman
|
78 |
/**#@+
|
79 |
* @static
|
80 |
*/
|
81 |
+
const VERSION = '3.3.2';
|
82 |
static $file = __FILE__;
|
83 |
static $cm_themes = array( 'default', '3024-day', '3024-night', 'ambiance',
|
84 |
'base16-dark', 'base16-light',
|