Version Description
- Option to show Metabox by default
- Check upgrade in more places
- Fix double Settings Message on general-options
- Fix empty post showing on usage
- Cleaned up constants (internal)
Download this release
Release Info
Developer | WraithKenny |
Plugin | Scripts n Styles |
Version | 3.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.0 to 3.0.1
- README.txt +3 -3
- includes/class.SnS_Admin.php +4 -0
- includes/class.SnS_Admin_Meta_Box.php +31 -32
- languages/scripts-n-styles.pot +398 -0
- scripts-n-styles.php +4 -3
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpressfoundation.org/donate/
|
|
4 |
Tags: admin, CSS, javascript, code, custom, Style
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.3-RC2
|
7 |
-
Stable tag: 3.0
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
This plugin allows Admin users to individually add custom CSS, Classes and JavaScript directly to Post, Pages or any other custom post types.
|
@@ -53,7 +53,7 @@ Sure, if you are an Admin, just go to the plugin editor and wipe out the uninsta
|
|
53 |
|
54 |
== Changelog ==
|
55 |
|
56 |
-
= 3.0 =
|
57 |
* Option to show Metabox by default
|
58 |
* Check upgrade in more places
|
59 |
* Fix double Settings Message on general-options
|
@@ -97,7 +97,7 @@ Sure, if you are an Admin, just go to the plugin editor and wipe out the uninsta
|
|
97 |
|
98 |
== Upgrade Notice ==
|
99 |
|
100 |
-
= 3.0 =
|
101 |
Bug fixes
|
102 |
|
103 |
= 3 =
|
4 |
Tags: admin, CSS, javascript, code, custom, Style
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.3-RC2
|
7 |
+
Stable tag: 3.0.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
This plugin allows Admin users to individually add custom CSS, Classes and JavaScript directly to Post, Pages or any other custom post types.
|
53 |
|
54 |
== Changelog ==
|
55 |
|
56 |
+
= 3.0.1 =
|
57 |
* Option to show Metabox by default
|
58 |
* Check upgrade in more places
|
59 |
* Fix double Settings Message on general-options
|
97 |
|
98 |
== Upgrade Notice ==
|
99 |
|
100 |
+
= 3.0.1 =
|
101 |
Bug fixes
|
102 |
|
103 |
= 3 =
|
includes/class.SnS_Admin.php
CHANGED
@@ -34,6 +34,7 @@ class SnS_Admin
|
|
34 |
add_action( 'admin_menu', array( __CLASS__, 'menu' ) );
|
35 |
|
36 |
add_action( 'admin_init', array( 'SnS_AJAX', 'init' ) );
|
|
|
37 |
|
38 |
$plugin_file = plugin_basename( Scripts_n_Styles::$file );
|
39 |
add_filter( "plugin_action_links_$plugin_file", array( __CLASS__, 'plugin_action_links') );
|
@@ -41,6 +42,9 @@ class SnS_Admin
|
|
41 |
register_activation_hook( Scripts_n_Styles::$file, array( __CLASS__, 'upgrade' ) );
|
42 |
}
|
43 |
|
|
|
|
|
|
|
44 |
function menu() {
|
45 |
if ( ! current_user_can( 'manage_options' ) || ! current_user_can( 'unfiltered_html' ) ) return;
|
46 |
|
34 |
add_action( 'admin_menu', array( __CLASS__, 'menu' ) );
|
35 |
|
36 |
add_action( 'admin_init', array( 'SnS_AJAX', 'init' ) );
|
37 |
+
add_action( 'admin_init', array( __CLASS__, 'load_plugin_textdomain' ) );
|
38 |
|
39 |
$plugin_file = plugin_basename( Scripts_n_Styles::$file );
|
40 |
add_filter( "plugin_action_links_$plugin_file", array( __CLASS__, 'plugin_action_links') );
|
42 |
register_activation_hook( Scripts_n_Styles::$file, array( __CLASS__, 'upgrade' ) );
|
43 |
}
|
44 |
|
45 |
+
function load_plugin_textdomain() {
|
46 |
+
load_plugin_textdomain( 'scripts-n-styles', false, dirname( plugin_basename( Scripts_n_Styles::$file ) ) . '/languages/' );
|
47 |
+
}
|
48 |
function menu() {
|
49 |
if ( ! current_user_can( 'manage_options' ) || ! current_user_can( 'unfiltered_html' ) ) return;
|
50 |
|
includes/class.SnS_Admin_Meta_Box.php
CHANGED
@@ -94,7 +94,7 @@ class SnS_Admin_Meta_Box
|
|
94 |
if ( current_user_can( 'unfiltered_html' ) ) {
|
95 |
self::$post_types = get_post_types( array('show_ui' => true, 'public' => true) ); // updated for http://core.trac.wordpress.org/changeset/18234
|
96 |
foreach ( self::$post_types as $post_type ) {
|
97 |
-
add_meta_box( 'SnS_meta_box', 'Scripts n Styles', array( __CLASS__, 'admin_meta_box' ), $post_type, 'normal', 'high' );
|
98 |
}
|
99 |
add_filter( 'default_hidden_meta_boxes', array( __CLASS__, 'default_hidden_meta_boxes' ) );
|
100 |
add_action( "admin_print_styles", array( __CLASS__, 'meta_box_styles'));
|
@@ -130,45 +130,44 @@ class SnS_Admin_Meta_Box
|
|
130 |
wp_nonce_field( Scripts_n_Styles::$file, self::NONCE_NAME );
|
131 |
?>
|
132 |
<ul class="wp-tab-bar">
|
133 |
-
<li<?php echo ( 's0' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_scripts-tab"
|
134 |
-
<li<?php echo ( 's1' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_styles-tab"
|
135 |
-
<li<?php echo ( 's2' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_classes_body-tab"
|
136 |
-
<li<?php echo ( 's3' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_enqueue_scripts-tab"
|
137 |
</ul>
|
138 |
|
139 |
<div class="wp-tab-panel" id="SnS_scripts-tab">
|
140 |
-
<p><em
|
141 |
-
<label for="SnS_scripts_in_head" class="title"
|
142 |
<textarea class="codemirror js" name="SnS_scripts_in_head" id="SnS_scripts_in_head" rows="5" cols="40" style="width: 98%;"><?php echo isset( $scripts[ 'scripts_in_head' ] ) ? $scripts[ 'scripts_in_head' ] : ''; ?></textarea>
|
143 |
-
<p><em>... <code></head></code> tag
|
144 |
<label for="SnS_scripts" class="title"><strong>Scripts</strong>: </label>
|
145 |
<textarea class="codemirror js" name="SnS_scripts" id="SnS_scripts" rows="5" cols="40" style="width: 98%;"><?php echo isset( $scripts[ 'scripts' ] ) ? $scripts[ 'scripts' ] : ''; ?></textarea>
|
146 |
-
<p><em>... <code></body></code> tag
|
147 |
</div>
|
148 |
|
149 |
<div class="wp-tab-panel" id="SnS_styles-tab">
|
150 |
-
<label for="SnS_styles" class="title"
|
151 |
<textarea class="codemirror css" name="SnS_styles" id="SnS_styles" rows="5" cols="40" style="width: 98%;"><?php echo isset( $styles[ 'styles' ] ) ? $styles[ 'styles' ] : ''; ?></textarea>
|
152 |
-
<p><em
|
153 |
</div>
|
154 |
|
155 |
<div class="wp-tab-panel" id="SnS_classes_body-tab">
|
156 |
-
<strong class="title"
|
157 |
<div id="sns-classes">
|
158 |
<p>
|
159 |
-
<label for="SnS_classes_body"
|
160 |
<input name="SnS_classes_body" id="SnS_classes_body" type="text" class="code" style="width: 99%;"
|
161 |
value="<?php echo isset( $styles[ 'classes_body' ] ) ? $styles[ 'classes_body' ] : ''; ?>" />
|
162 |
-
<small
|
163 |
</p>
|
164 |
<p>
|
165 |
<label for="SnS_classes_post"><strong>Post Classes</strong>: </label>
|
166 |
<input name="SnS_classes_post" id="SnS_classes_post" type="text" class="code" style="width: 99%;"
|
167 |
value="<?php echo isset( $styles[ 'classes_post' ] ) ? $styles[ 'classes_post' ] : ''; ?>" />
|
168 |
-
<small
|
169 |
</p>
|
170 |
-
<p><em
|
171 |
-
<code>post_class()</code> function (provided your theme uses these functions).</em></p>
|
172 |
</div>
|
173 |
|
174 |
<?php
|
@@ -177,40 +176,40 @@ class SnS_Admin_Meta_Box
|
|
177 |
*/
|
178 |
?>
|
179 |
<div id="mce-dropdown-names" style="display: none;">
|
180 |
-
<h4
|
181 |
<div id="add-mce-dropdown-names">
|
182 |
-
<p
|
183 |
<p class="sns-mce-title">
|
184 |
-
<label for="SnS_classes_mce_title"
|
185 |
<input name="SnS_classes_mce_title" id="SnS_classes_mce_title"
|
186 |
value="" type="text" class="code" style="width: 80px;" />
|
187 |
</p>
|
188 |
<p class="sns-mce-type">
|
189 |
-
<label for="SnS_classes_mce_type"
|
190 |
<select name="SnS_classes_mce_type" id="SnS_classes_mce_type" style="width: 80px;">
|
191 |
-
<option value="inline"
|
192 |
-
<option value="block"
|
193 |
-
<option value="selector"
|
194 |
</select>
|
195 |
</p>
|
196 |
<p class="sns-mce-element">
|
197 |
-
<label for="SnS_classes_mce_element"
|
198 |
<input name="SnS_classes_mce_element" id="SnS_classes_mce_element"
|
199 |
value="" type="text" class="code" style="width: 80px;" />
|
200 |
</p>
|
201 |
<p class="sns-mce-classes">
|
202 |
-
<label for="SnS_classes_mce_classes"
|
203 |
<input name="SnS_classes_mce_classes" id="SnS_classes_mce_classes"
|
204 |
value="" type="text" class="code" style="width: 80px;" />
|
205 |
</p>
|
206 |
<p class="sns-mce-wrapper" style="display: none;">
|
207 |
-
<label for="SnS_classes_mce_wrapper"
|
208 |
<input name="SnS_classes_mce_wrapper" id="SnS_classes_mce_wrapper" type="checkbox" value="true" />
|
209 |
</p>
|
210 |
</div>
|
211 |
|
212 |
<div id="delete-mce-dropdown-names" style="display: none;">
|
213 |
-
<p id="instructions-mce-dropdown-names"
|
214 |
</div>
|
215 |
</div>
|
216 |
</div>
|
@@ -218,7 +217,7 @@ class SnS_Admin_Meta_Box
|
|
218 |
<div class="wp-tab-panel" id="SnS_enqueue_scripts-tab">
|
219 |
<strong class="title">Include Scripts</strong>
|
220 |
<select name="SnS_enqueue_scripts[]" id="SnS_enqueue_scripts" size="5" multiple="multiple" style="height: auto; float: left; margin: 6px 10px 8px 0;">
|
221 |
-
<?php
|
222 |
if ( ! empty( $scripts[ 'enqueue_scripts' ] ) && is_array( $scripts[ 'enqueue_scripts' ] ) ) {
|
223 |
foreach ( $registered_handles as $value ) { ?>
|
224 |
<option value="<?php echo $value ?>"<?php foreach ( $scripts[ 'enqueue_scripts' ] as $handle ) selected( $handle, $value ); ?>><?php echo $value ?></option>
|
@@ -230,11 +229,11 @@ class SnS_Admin_Meta_Box
|
|
230 |
} ?>
|
231 |
</select>
|
232 |
<?php if ( ! empty( $scripts[ 'enqueue_scripts' ] ) && is_array( $scripts[ 'enqueue_scripts' ] ) ) { ?>
|
233 |
-
<p
|
234 |
<?php foreach ( $scripts[ 'enqueue_scripts' ] as $handle ) echo '<code>' . $handle . '</code> '; ?>
|
235 |
</p>
|
236 |
<?php } ?>
|
237 |
-
<p><em
|
238 |
</div>
|
239 |
<?php
|
240 |
}
|
@@ -245,7 +244,7 @@ class SnS_Admin_Meta_Box
|
|
245 |
|
246 |
if ( 'post-new.php' == $pagenow ) {
|
247 |
echo join( ' ', get_body_class( '', $post_id ) );
|
248 |
-
echo ' (plus others once saved.)';
|
249 |
return;
|
250 |
}
|
251 |
// This returns more of what actually get used on the theme side.
|
94 |
if ( current_user_can( 'unfiltered_html' ) ) {
|
95 |
self::$post_types = get_post_types( array('show_ui' => true, 'public' => true) ); // updated for http://core.trac.wordpress.org/changeset/18234
|
96 |
foreach ( self::$post_types as $post_type ) {
|
97 |
+
add_meta_box( 'SnS_meta_box', __( 'Scripts n Styles', 'scripts-n-styles' ), array( __CLASS__, 'admin_meta_box' ), $post_type, 'normal', 'high' );
|
98 |
}
|
99 |
add_filter( 'default_hidden_meta_boxes', array( __CLASS__, 'default_hidden_meta_boxes' ) );
|
100 |
add_action( "admin_print_styles", array( __CLASS__, 'meta_box_styles'));
|
130 |
wp_nonce_field( Scripts_n_Styles::$file, self::NONCE_NAME );
|
131 |
?>
|
132 |
<ul class="wp-tab-bar">
|
133 |
+
<li<?php echo ( 's0' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_scripts-tab"><?php _e( 'Scripts', 'scripts-n-styles' ) ?></a></li>
|
134 |
+
<li<?php echo ( 's1' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_styles-tab"><?php _e( 'Styles', 'scripts-n-styles' ) ?></a></li>
|
135 |
+
<li<?php echo ( 's2' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_classes_body-tab"><?php _e( 'Classes', 'scripts-n-styles' ) ?></a></li>
|
136 |
+
<li<?php echo ( 's3' == $position ) ? ' class="wp-tab-active"': ''; ?>><a href="#SnS_enqueue_scripts-tab"><?php _e( 'Include Scripts', 'scripts-n-styles' ) ?></a></li>
|
137 |
</ul>
|
138 |
|
139 |
<div class="wp-tab-panel" id="SnS_scripts-tab">
|
140 |
+
<p><em><?php _e( "This code will be included <strong>verbatim</strong> in <code><script></code> tags at the end of your page's (or post's)", 'scripts-n-styles' ) ?> ...</em></p>
|
141 |
+
<label for="SnS_scripts_in_head" class="title"><?php _e( '<strong>Scripts</strong> (for the <code>head</code> element):', 'scripts-n-styles' ) ?> </label>
|
142 |
<textarea class="codemirror js" name="SnS_scripts_in_head" id="SnS_scripts_in_head" rows="5" cols="40" style="width: 98%;"><?php echo isset( $scripts[ 'scripts_in_head' ] ) ? $scripts[ 'scripts_in_head' ] : ''; ?></textarea>
|
143 |
+
<p><em>... <code></head></code> <?php _e( 'tag', 'scripts-n-styles' ) ?>.</em></p>
|
144 |
<label for="SnS_scripts" class="title"><strong>Scripts</strong>: </label>
|
145 |
<textarea class="codemirror js" name="SnS_scripts" id="SnS_scripts" rows="5" cols="40" style="width: 98%;"><?php echo isset( $scripts[ 'scripts' ] ) ? $scripts[ 'scripts' ] : ''; ?></textarea>
|
146 |
+
<p><em>... <code></body></code> <?php _e( 'tag', 'scripts-n-styles' ) ?>.</em></p>
|
147 |
</div>
|
148 |
|
149 |
<div class="wp-tab-panel" id="SnS_styles-tab">
|
150 |
+
<label for="SnS_styles" class="title"><?php _e( '<strong>Styles</strong>:', 'scripts-n-styles' ) ?> </label>
|
151 |
<textarea class="codemirror css" name="SnS_styles" id="SnS_styles" rows="5" cols="40" style="width: 98%;"><?php echo isset( $styles[ 'styles' ] ) ? $styles[ 'styles' ] : ''; ?></textarea>
|
152 |
+
<p><em><?php _e( 'This code will be included <strong>verbatim</strong> in <code><style></code> tags in the <code><head></code> tag of your page (or post).', 'scripts-n-styles' ) ?></em></p>
|
153 |
</div>
|
154 |
|
155 |
<div class="wp-tab-panel" id="SnS_classes_body-tab">
|
156 |
+
<strong class="title"><?php _e( 'Classes', 'scripts-n-styles' ) ?></strong>
|
157 |
<div id="sns-classes">
|
158 |
<p>
|
159 |
+
<label for="SnS_classes_body"><?php _e( '<strong>Body Classes</strong>:', 'scripts-n-styles' ) ?> </label>
|
160 |
<input name="SnS_classes_body" id="SnS_classes_body" type="text" class="code" style="width: 99%;"
|
161 |
value="<?php echo isset( $styles[ 'classes_body' ] ) ? $styles[ 'classes_body' ] : ''; ?>" />
|
162 |
+
<small><?php _e( 'Standard:', 'scripts-n-styles' ) ?> <code><?php self::current_classes( 'body', $post->ID ); ?></code></small>
|
163 |
</p>
|
164 |
<p>
|
165 |
<label for="SnS_classes_post"><strong>Post Classes</strong>: </label>
|
166 |
<input name="SnS_classes_post" id="SnS_classes_post" type="text" class="code" style="width: 99%;"
|
167 |
value="<?php echo isset( $styles[ 'classes_post' ] ) ? $styles[ 'classes_post' ] : ''; ?>" />
|
168 |
+
<small><?php _e( 'Standard:', 'scripts-n-styles' ) ?> <code><?php self::current_classes( 'post', $post->ID ); ?></code></small>
|
169 |
</p>
|
170 |
+
<p><em><?php _e( 'These <strong>space separated</strong> class names will be added to the <code>body_class()</code> or <code>post_class()</code> function (provided your theme uses these functions).', 'scripts-n-styles' ) ?></em></p>
|
|
|
171 |
</div>
|
172 |
|
173 |
<?php
|
176 |
*/
|
177 |
?>
|
178 |
<div id="mce-dropdown-names" style="display: none;">
|
179 |
+
<h4><?php _e( 'The Styles Dropdown', 'scripts-n-styles' ) ?></h4>
|
180 |
<div id="add-mce-dropdown-names">
|
181 |
+
<p><?php _e( 'Add (or update) a class for the "Styles" drop-down:', 'scripts-n-styles' ) ?></p>
|
182 |
<p class="sns-mce-title">
|
183 |
+
<label for="SnS_classes_mce_title"><?php _e( 'Title:', 'scripts-n-styles' ) ?></label>
|
184 |
<input name="SnS_classes_mce_title" id="SnS_classes_mce_title"
|
185 |
value="" type="text" class="code" style="width: 80px;" />
|
186 |
</p>
|
187 |
<p class="sns-mce-type">
|
188 |
+
<label for="SnS_classes_mce_type"><?php _e( 'Type:', 'scripts-n-styles' ) ?></label>
|
189 |
<select name="SnS_classes_mce_type" id="SnS_classes_mce_type" style="width: 80px;">
|
190 |
+
<option value="inline"><?php _ex( 'Inline', 'css type', 'scripts-n-styles' ) ?></option>
|
191 |
+
<option value="block"><?php _ex( 'Block', 'css type', 'scripts-n-styles' ) ?></option>
|
192 |
+
<option value="selector"><?php _ex( 'Selector:', 'css type', 'scripts-n-styles' ) ?></option>
|
193 |
</select>
|
194 |
</p>
|
195 |
<p class="sns-mce-element">
|
196 |
+
<label for="SnS_classes_mce_element"><?php _e( 'Element:', 'scripts-n-styles' ) ?></label>
|
197 |
<input name="SnS_classes_mce_element" id="SnS_classes_mce_element"
|
198 |
value="" type="text" class="code" style="width: 80px;" />
|
199 |
</p>
|
200 |
<p class="sns-mce-classes">
|
201 |
+
<label for="SnS_classes_mce_classes"><?php _e( 'Classes:', 'scripts-n-styles' ) ?></label>
|
202 |
<input name="SnS_classes_mce_classes" id="SnS_classes_mce_classes"
|
203 |
value="" type="text" class="code" style="width: 80px;" />
|
204 |
</p>
|
205 |
<p class="sns-mce-wrapper" style="display: none;">
|
206 |
+
<label for="SnS_classes_mce_wrapper"><?php _e( 'Wrapper:', 'scripts-n-styles' ) ?></label>
|
207 |
<input name="SnS_classes_mce_wrapper" id="SnS_classes_mce_wrapper" type="checkbox" value="true" />
|
208 |
</p>
|
209 |
</div>
|
210 |
|
211 |
<div id="delete-mce-dropdown-names" style="display: none;">
|
212 |
+
<p id="instructions-mce-dropdown-names"><?php _e( 'Classes currently in the dropdown:', 'scripts-n-styles' ) ?></p>
|
213 |
</div>
|
214 |
</div>
|
215 |
</div>
|
217 |
<div class="wp-tab-panel" id="SnS_enqueue_scripts-tab">
|
218 |
<strong class="title">Include Scripts</strong>
|
219 |
<select name="SnS_enqueue_scripts[]" id="SnS_enqueue_scripts" size="5" multiple="multiple" style="height: auto; float: left; margin: 6px 10px 8px 0;">
|
220 |
+
<?php
|
221 |
if ( ! empty( $scripts[ 'enqueue_scripts' ] ) && is_array( $scripts[ 'enqueue_scripts' ] ) ) {
|
222 |
foreach ( $registered_handles as $value ) { ?>
|
223 |
<option value="<?php echo $value ?>"<?php foreach ( $scripts[ 'enqueue_scripts' ] as $handle ) selected( $handle, $value ); ?>><?php echo $value ?></option>
|
229 |
} ?>
|
230 |
</select>
|
231 |
<?php if ( ! empty( $scripts[ 'enqueue_scripts' ] ) && is_array( $scripts[ 'enqueue_scripts' ] ) ) { ?>
|
232 |
+
<p><?php _e( 'Currently Enqueued Scripts:', 'scripts-n-styles' ) ?>
|
233 |
<?php foreach ( $scripts[ 'enqueue_scripts' ] as $handle ) echo '<code>' . $handle . '</code> '; ?>
|
234 |
</p>
|
235 |
<?php } ?>
|
236 |
+
<p><em><?php _e( 'The chosen scripts will be enqueued and placed before your codes if your code is dependant on certain scripts (like jQuery).', 'scripts-n-styles' ) ?></em></p>
|
237 |
</div>
|
238 |
<?php
|
239 |
}
|
244 |
|
245 |
if ( 'post-new.php' == $pagenow ) {
|
246 |
echo join( ' ', get_body_class( '', $post_id ) );
|
247 |
+
echo ' ' . __( '(plus others once saved.)', 'scripts-n-styles' );
|
248 |
return;
|
249 |
}
|
250 |
// This returns more of what actually get used on the theme side.
|
languages/scripts-n-styles.pot
ADDED
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2010 Scripts n Styles
|
2 |
+
# This file is distributed under the same license as the Scripts n Styles package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Scripts n Styles 3.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/scripts-n-styles\n"
|
7 |
+
"POT-Creation-Date: 2011-12-09 20:20:28+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#. #-#-#-#-# plugin.pot (Scripts n Styles 3.0) #-#-#-#-#
|
16 |
+
#. Plugin Name of the plugin/theme
|
17 |
+
#: includes/class.SnS_Usage_Page.php:22 includes/class.SnS_Admin.php:60
|
18 |
+
#: includes/class.SnS_Admin.php:63 includes/class.SnS_Admin.php:66
|
19 |
+
#: includes/class.SnS_Admin.php:102 includes/class.SnS_Admin.php:122
|
20 |
+
#: includes/class.SnS_Settings_Page.php:22
|
21 |
+
#: includes/class.SnS_Global_Page.php:18 includes/class.SnS_Global_Page.php:20
|
22 |
+
#: includes/class.SnS_Admin_Meta_Box.php:97
|
23 |
+
msgid "Scripts n Styles"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: includes/class.SnS_Usage_Page.php:22 includes/class.SnS_Admin.php:88
|
27 |
+
msgid "Usage"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: includes/class.SnS_Usage_Page.php:47
|
31 |
+
msgid "Per Page"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: includes/class.SnS_Usage_Page.php:54
|
35 |
+
msgid "Scripts n Styles Usage"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: includes/class.SnS_Usage_Page.php:78
|
39 |
+
msgid "The following table shows content that utilizes Scripts n Styles."
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: includes/class.SnS_List_Usage.php:20
|
43 |
+
msgid "Scripts (head)"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: includes/class.SnS_List_Usage.php:23
|
47 |
+
#: includes/class.SnS_Admin_Meta_Box.php:133
|
48 |
+
msgid "Scripts"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: includes/class.SnS_List_Usage.php:26
|
52 |
+
msgid "Enqueued Scripts"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: includes/class.SnS_List_Usage.php:31
|
56 |
+
msgid "TinyMCE Formats"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: includes/class.SnS_List_Usage.php:34
|
60 |
+
#: includes/class.SnS_Admin_Meta_Box.php:134
|
61 |
+
msgid "Styles"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: includes/class.SnS_List_Usage.php:37
|
65 |
+
msgid "Post Classes"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: includes/class.SnS_List_Usage.php:40
|
69 |
+
msgid "Body Classes"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: includes/class.SnS_List_Usage.php:50
|
73 |
+
msgid "Edit “%s”"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: includes/class.SnS_List_Usage.php:53
|
77 |
+
msgid "Edit"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: includes/class.SnS_List_Usage.php:75
|
81 |
+
msgid "Title"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/class.SnS_List_Usage.php:76
|
85 |
+
msgid "ID"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: includes/class.SnS_List_Usage.php:77
|
89 |
+
msgid "Status"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: includes/class.SnS_List_Usage.php:78
|
93 |
+
msgid "Post Type"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: includes/class.SnS_List_Usage.php:79
|
97 |
+
msgid "Script Data"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: includes/class.SnS_List_Usage.php:80
|
101 |
+
msgid "Style Data"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: includes/class.SnS_List_Usage.php:133
|
105 |
+
msgid "Password protected"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: includes/class.SnS_List_Usage.php:135
|
109 |
+
msgid "Private"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: includes/class.SnS_List_Usage.php:137
|
113 |
+
msgid "Draft"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#. translators: post state
|
117 |
+
#: includes/class.SnS_List_Usage.php:140
|
118 |
+
msgctxt "post state"
|
119 |
+
msgid "Pending"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: includes/class.SnS_List_Usage.php:142
|
123 |
+
msgid "Sticky"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: includes/class.SnS_Admin.php:86 includes/class.SnS_Global_Page.php:17
|
127 |
+
msgid "Global"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: includes/class.SnS_Admin.php:87 includes/class.SnS_Admin.php:198
|
131 |
+
#: includes/class.SnS_Settings_Page.php:22
|
132 |
+
msgid "Settings"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: includes/class.SnS_Admin.php:105 includes/class.SnS_Admin.php:125
|
136 |
+
msgid ""
|
137 |
+
"<p>In default (non MultiSite) WordPress installs, both <em>Administrators</"
|
138 |
+
"em> and \r\n"
|
139 |
+
"\t\t\t\t\t\t<em>Editors</em> can access <em>Scripts-n-Styles</em> on "
|
140 |
+
"individual edit screens. \r\n"
|
141 |
+
"\t\t\t\t\t\tOnly <em>Administrators</em> can access this Options Page. In "
|
142 |
+
"MultiSite WordPress installs, only \r\n"
|
143 |
+
"\t\t\t\t\t\t<em>\"Super Admin\"</em> users can access either\r\n"
|
144 |
+
"\t\t\t\t\t\t<em>Scripts-n-Styles</em> on individual edit screens or this "
|
145 |
+
"Options Page. If other plugins change \r\n"
|
146 |
+
"\t\t\t\t\t\tcapabilities (specifically \"unfiltered_html\"), \r\n"
|
147 |
+
"\t\t\t\t\t\tother users can be granted access.</p>"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: includes/class.SnS_Admin.php:115
|
151 |
+
msgid "For more information:"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: includes/class.SnS_Admin.php:116
|
155 |
+
msgid ""
|
156 |
+
"<a href=\"http://wordpress.org/extend/plugins/scripts-n-styles/faq/\" target="
|
157 |
+
"\"_blank\">Frequently Asked Questions</a>"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: includes/class.SnS_Admin.php:117
|
161 |
+
msgid ""
|
162 |
+
"<a href=\"https://github.com/unFocus/Scripts-n-Styles\" target=\"_blank"
|
163 |
+
"\">Source on github</a>"
|
164 |
+
msgstr ""
|
165 |
+
|
166 |
+
#: includes/class.SnS_Admin.php:118
|
167 |
+
msgid ""
|
168 |
+
"<a href=\"http://wordpress.org/tags/scripts-n-styles\" target=\"_blank"
|
169 |
+
"\">Support Forums</a>"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: includes/class.SnS_Settings_Page.php:77
|
173 |
+
msgid "Scripts n Styles Settings"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: includes/class.SnS_Settings_Page.php:83
|
177 |
+
msgid "<strong>Menu Position</strong>: "
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: includes/class.SnS_Settings_Page.php:97
|
181 |
+
msgid "<strong>CodeMirror Theme</strong>: "
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: includes/class.SnS_Settings_Page.php:111
|
185 |
+
msgid "<strong>Hide Metabox by default</strong>: "
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: includes/class.SnS_Settings_Page.php:120
|
189 |
+
msgid "Hide Metabox by default"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: includes/class.SnS_Settings_Page.php:121
|
193 |
+
msgid ""
|
194 |
+
"<span class=\"description\" style=\"max-width: 500px; display: inline-block;"
|
195 |
+
"\">This is overridable via Screen Options on each edit screen.</span>"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: includes/class.SnS_Settings_Page.php:126
|
199 |
+
msgid "Code Mirror Demo"
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: includes/class.SnS_Settings_Page.php:138
|
203 |
+
msgid ""
|
204 |
+
"Control how and where Scripts n Styles menus and metaboxes appear. These "
|
205 |
+
"options are here because sometimes users really care about this stuff. Feel "
|
206 |
+
"free to adjust to your liking. :-)"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: includes/class.SnS_Form.php:105
|
210 |
+
msgid "Cheatin’ uh?"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: includes/class.SnS_Form.php:108 includes/class.SnS_Form.php:135
|
214 |
+
msgid "Settings saved."
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: includes/class.SnS_Global_Page.php:53
|
218 |
+
msgid "Global Scripts n Styles"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: includes/class.SnS_Global_Page.php:59
|
222 |
+
msgid "<strong>Scripts:</strong> "
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: includes/class.SnS_Global_Page.php:70
|
226 |
+
msgid ""
|
227 |
+
"<span class=\"description\" style=\"max-width: 500px; display: inline-block;"
|
228 |
+
"\">The \"Scripts\" will be included <strong>verbatim</strong> in <code><"
|
229 |
+
"script></code> tags at the bottom of the <code><body></code> element of "
|
230 |
+
"your html.</span>"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: includes/class.SnS_Global_Page.php:74
|
234 |
+
msgid "<strong>Styles:</strong> "
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: includes/class.SnS_Global_Page.php:85
|
238 |
+
msgid ""
|
239 |
+
"<span class=\"description\" style=\"max-width: 500px; display: inline-block;"
|
240 |
+
"\">The \"Styles\" will be included <strong>verbatim</strong> in <code><"
|
241 |
+
"style></code> tags in the <code><head></code> element of your html.</span>"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: includes/class.SnS_Global_Page.php:89
|
245 |
+
msgid "<strong>Scripts</strong><br />(for the <code>head</code> element): "
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: includes/class.SnS_Global_Page.php:100
|
249 |
+
msgid ""
|
250 |
+
"<span class=\"description\" style=\"max-width: 500px; display: inline-block;"
|
251 |
+
"\">The \"Scripts (in head)\" will be included <strong>verbatim</strong> in "
|
252 |
+
"<code><script></code> tags in the <code><head></code> element of your "
|
253 |
+
"html.</span>"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: includes/class.SnS_Global_Page.php:104
|
257 |
+
msgid "<strong>Enqueue Scripts</strong>: "
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: includes/class.SnS_Global_Page.php:115
|
261 |
+
msgid "Currently Enqueued Scripts: "
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: includes/class.SnS_Global_Page.php:126
|
265 |
+
msgid ""
|
266 |
+
"Code entered here will be included in <em>every page (and post) of your "
|
267 |
+
"site</em>, including the homepage and archives. The code will appear "
|
268 |
+
"<strong>before</strong> Scripts and Styles registered individually."
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: includes/class.SnS_Admin_Meta_Box.php:135
|
272 |
+
#: includes/class.SnS_Admin_Meta_Box.php:156
|
273 |
+
msgid "Classes"
|
274 |
+
msgstr ""
|
275 |
+
|
276 |
+
#: includes/class.SnS_Admin_Meta_Box.php:136
|
277 |
+
msgid "Include Scripts"
|
278 |
+
msgstr ""
|
279 |
+
|
280 |
+
#: includes/class.SnS_Admin_Meta_Box.php:140
|
281 |
+
msgid ""
|
282 |
+
"This code will be included <strong>verbatim</strong> in <code><script></"
|
283 |
+
"code> tags at the end of your page's (or post's)"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: includes/class.SnS_Admin_Meta_Box.php:141
|
287 |
+
msgid "<strong>Scripts</strong> (for the <code>head</code> element):"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: includes/class.SnS_Admin_Meta_Box.php:143
|
291 |
+
#: includes/class.SnS_Admin_Meta_Box.php:146
|
292 |
+
msgid "tag"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: includes/class.SnS_Admin_Meta_Box.php:150
|
296 |
+
msgid "<strong>Styles</strong>:"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: includes/class.SnS_Admin_Meta_Box.php:152
|
300 |
+
msgid ""
|
301 |
+
"This code will be included <strong>verbatim</strong> in <code><style></"
|
302 |
+
"code> tags in the <code><head></code> tag of your page (or post)."
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#: includes/class.SnS_Admin_Meta_Box.php:159
|
306 |
+
msgid "<strong>Body Classes</strong>:"
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: includes/class.SnS_Admin_Meta_Box.php:162
|
310 |
+
#: includes/class.SnS_Admin_Meta_Box.php:168
|
311 |
+
msgid "Standard:"
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: includes/class.SnS_Admin_Meta_Box.php:170
|
315 |
+
msgid ""
|
316 |
+
"These <strong>space separated</strong> class names will be added to the "
|
317 |
+
"<code>body_class()</code> or <code>post_class()</code> function (provided "
|
318 |
+
"your theme uses these functions)."
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: includes/class.SnS_Admin_Meta_Box.php:179
|
322 |
+
msgid "The Styles Dropdown"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: includes/class.SnS_Admin_Meta_Box.php:181
|
326 |
+
msgid "Add (or update) a class for the \"Styles\" drop-down:"
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: includes/class.SnS_Admin_Meta_Box.php:183
|
330 |
+
msgid "Title:"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: includes/class.SnS_Admin_Meta_Box.php:188
|
334 |
+
msgid "Type:"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: includes/class.SnS_Admin_Meta_Box.php:190
|
338 |
+
msgctxt "css type"
|
339 |
+
msgid "Inline"
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: includes/class.SnS_Admin_Meta_Box.php:191
|
343 |
+
msgctxt "css type"
|
344 |
+
msgid "Block"
|
345 |
+
msgstr ""
|
346 |
+
|
347 |
+
#: includes/class.SnS_Admin_Meta_Box.php:192
|
348 |
+
msgctxt "css type"
|
349 |
+
msgid "Selector:"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: includes/class.SnS_Admin_Meta_Box.php:196
|
353 |
+
msgid "Element:"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: includes/class.SnS_Admin_Meta_Box.php:201
|
357 |
+
msgid "Classes:"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: includes/class.SnS_Admin_Meta_Box.php:206
|
361 |
+
msgid "Wrapper:"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: includes/class.SnS_Admin_Meta_Box.php:212
|
365 |
+
msgid "Classes currently in the dropdown:"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: includes/class.SnS_Admin_Meta_Box.php:232
|
369 |
+
msgid "Currently Enqueued Scripts:"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: includes/class.SnS_Admin_Meta_Box.php:236
|
373 |
+
msgid ""
|
374 |
+
"The chosen scripts will be enqueued and placed before your codes if your "
|
375 |
+
"code is dependant on certain scripts (like jQuery)."
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: includes/class.SnS_Admin_Meta_Box.php:247
|
379 |
+
msgid "(plus others once saved.)"
|
380 |
+
msgstr ""
|
381 |
+
|
382 |
+
#. Plugin URI of the plugin/theme
|
383 |
+
msgid "http://www.unfocus.com/projects/scripts-n-styles/"
|
384 |
+
msgstr ""
|
385 |
+
|
386 |
+
#. Description of the plugin/theme
|
387 |
+
msgid ""
|
388 |
+
"Allows WordPress admin users the ability to add custom CSS and JavaScript "
|
389 |
+
"directly to individual Post, Pages or custom post types."
|
390 |
+
msgstr ""
|
391 |
+
|
392 |
+
#. Author of the plugin/theme
|
393 |
+
msgid "unFocus Projects"
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#. Author URI of the plugin/theme
|
397 |
+
msgid "http://www.unfocus.com/"
|
398 |
+
msgstr ""
|
scripts-n-styles.php
CHANGED
@@ -5,8 +5,9 @@ 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.0
|
9 |
License: GPLv2 or later
|
|
|
10 |
Network: true
|
11 |
*/
|
12 |
|
@@ -46,7 +47,7 @@ Network: true
|
|
46 |
* @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
|
47 |
* @author unFocus Projects
|
48 |
* @link http://www.unfocus.com/ Author URI
|
49 |
-
* @version 3.0
|
50 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
51 |
* @copyright Copyright (c) 2010 - 2011, Kenneth Newman
|
52 |
*
|
@@ -71,7 +72,7 @@ class Scripts_n_Styles
|
|
71 |
/**#@+
|
72 |
* @static
|
73 |
*/
|
74 |
-
const VERSION = '3.0';
|
75 |
static $file = __FILE__;
|
76 |
/**#@-*/
|
77 |
|
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.0.1
|
9 |
License: GPLv2 or later
|
10 |
+
Text Domain: scripts-n-styles
|
11 |
Network: true
|
12 |
*/
|
13 |
|
47 |
* @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
|
48 |
* @author unFocus Projects
|
49 |
* @link http://www.unfocus.com/ Author URI
|
50 |
+
* @version 3.0.1
|
51 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
52 |
* @copyright Copyright (c) 2010 - 2011, Kenneth Newman
|
53 |
*
|
72 |
/**#@+
|
73 |
* @static
|
74 |
*/
|
75 |
+
const VERSION = '3.0.1';
|
76 |
static $file = __FILE__;
|
77 |
/**#@-*/
|
78 |
|