Changeset 2310318
- Timestamp:
- 05/22/2020 04:43:35 PM (6 years ago)
- Location:
- so-css
- Files:
-
- 3 deleted
- 3 edited
- 64 copied
-
tags/1.2.8 (copied) (copied from so-css/trunk)
-
tags/1.2.8/css/admin.css (copied) (copied from so-css/trunk/css/admin.css)
-
tags/1.2.8/css/admin.less (deleted)
-
tags/1.2.8/css/inspector.css (copied) (copied from so-css/trunk/css/inspector.css)
-
tags/1.2.8/css/inspector.less (deleted)
-
tags/1.2.8/css/mixins.less (deleted)
-
tags/1.2.8/js/URI.min.js (copied) (copied from so-css/trunk/js/URI.min.js)
-
tags/1.2.8/js/css.js (copied) (copied from so-css/trunk/js/css.js)
-
tags/1.2.8/js/css.min.js (copied) (copied from so-css/trunk/js/css.min.js)
-
tags/1.2.8/js/csslint.min.js (copied) (copied from so-css/trunk/js/csslint.min.js)
-
tags/1.2.8/js/editor.js (copied) (copied from so-css/trunk/js/editor.js)
-
tags/1.2.8/js/editor.min.js (copied) (copied from so-css/trunk/js/editor.min.js)
-
tags/1.2.8/js/inspector.js (copied) (copied from so-css/trunk/js/inspector.js)
-
tags/1.2.8/js/inspector.min.js (copied) (copied from so-css/trunk/js/inspector.min.js)
-
tags/1.2.8/js/jquery.sizes.min.js (copied) (copied from so-css/trunk/js/jquery.sizes.min.js)
-
tags/1.2.8/js/specificity.min.js (copied) (copied from so-css/trunk/js/specificity.min.js)
-
tags/1.2.8/lang/so-css.pot (copied) (copied from so-css/trunk/lang/so-css.pot)
-
tags/1.2.8/lib/codemirror/addon/dialog/dialog.css (copied) (copied from so-css/trunk/lib/codemirror/addon/dialog/dialog.css)
-
tags/1.2.8/lib/codemirror/addon/dialog/dialog.js (copied) (copied from so-css/trunk/lib/codemirror/addon/dialog/dialog.js)
-
tags/1.2.8/lib/codemirror/addon/dialog/dialog.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/dialog/dialog.min.js)
-
tags/1.2.8/lib/codemirror/addon/fold/brace-fold.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/fold/brace-fold.min.js)
-
tags/1.2.8/lib/codemirror/addon/fold/comment-fold.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/fold/comment-fold.min.js)
-
tags/1.2.8/lib/codemirror/addon/fold/foldcode.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/fold/foldcode.min.js)
-
tags/1.2.8/lib/codemirror/addon/fold/foldgutter.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/fold/foldgutter.min.js)
-
tags/1.2.8/lib/codemirror/addon/fold/indent-fold.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/fold/indent-fold.min.js)
-
tags/1.2.8/lib/codemirror/addon/fold/markdown-fold.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/fold/markdown-fold.min.js)
-
tags/1.2.8/lib/codemirror/addon/fold/xml-fold.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/fold/xml-fold.min.js)
-
tags/1.2.8/lib/codemirror/addon/hint/anyword-hint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/hint/anyword-hint.min.js)
-
tags/1.2.8/lib/codemirror/addon/hint/css-hint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/hint/css-hint.min.js)
-
tags/1.2.8/lib/codemirror/addon/hint/html-hint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/hint/html-hint.min.js)
-
tags/1.2.8/lib/codemirror/addon/hint/javascript-hint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/hint/javascript-hint.min.js)
-
tags/1.2.8/lib/codemirror/addon/hint/show-hint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/hint/show-hint.min.js)
-
tags/1.2.8/lib/codemirror/addon/hint/sql-hint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/hint/sql-hint.min.js)
-
tags/1.2.8/lib/codemirror/addon/hint/xml-hint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/hint/xml-hint.min.js)
-
tags/1.2.8/lib/codemirror/addon/lint/coffeescript-lint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/lint/coffeescript-lint.min.js)
-
tags/1.2.8/lib/codemirror/addon/lint/css-lint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/lint/css-lint.min.js)
-
tags/1.2.8/lib/codemirror/addon/lint/html-lint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/lint/html-lint.min.js)
-
tags/1.2.8/lib/codemirror/addon/lint/javascript-lint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/lint/javascript-lint.min.js)
-
tags/1.2.8/lib/codemirror/addon/lint/json-lint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/lint/json-lint.min.js)
-
tags/1.2.8/lib/codemirror/addon/lint/lint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/lint/lint.min.js)
-
tags/1.2.8/lib/codemirror/addon/lint/yaml-lint.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/lint/yaml-lint.min.js)
-
tags/1.2.8/lib/codemirror/addon/merge/merge.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/merge/merge.min.js)
-
tags/1.2.8/lib/codemirror/addon/scroll/annotatescrollbar.js (copied) (copied from so-css/trunk/lib/codemirror/addon/scroll/annotatescrollbar.js)
-
tags/1.2.8/lib/codemirror/addon/scroll/annotatescrollbar.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/scroll/annotatescrollbar.min.js)
-
tags/1.2.8/lib/codemirror/addon/search/jump-to-line.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/jump-to-line.js)
-
tags/1.2.8/lib/codemirror/addon/search/jump-to-line.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/jump-to-line.min.js)
-
tags/1.2.8/lib/codemirror/addon/search/match-highlighter.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/match-highlighter.js)
-
tags/1.2.8/lib/codemirror/addon/search/match-highlighter.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/match-highlighter.min.js)
-
tags/1.2.8/lib/codemirror/addon/search/matchesonscrollbar.css (copied) (copied from so-css/trunk/lib/codemirror/addon/search/matchesonscrollbar.css)
-
tags/1.2.8/lib/codemirror/addon/search/matchesonscrollbar.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/matchesonscrollbar.js)
-
tags/1.2.8/lib/codemirror/addon/search/matchesonscrollbar.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/matchesonscrollbar.min.js)
-
tags/1.2.8/lib/codemirror/addon/search/search.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/search.js)
-
tags/1.2.8/lib/codemirror/addon/search/search.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/search.min.js)
-
tags/1.2.8/lib/codemirror/addon/search/searchcursor.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/searchcursor.js)
-
tags/1.2.8/lib/codemirror/addon/search/searchcursor.min.js (copied) (copied from so-css/trunk/lib/codemirror/addon/search/searchcursor.min.js)
-
tags/1.2.8/lib/codemirror/lib/codemirror.min.js (copied) (copied from so-css/trunk/lib/codemirror/lib/codemirror.min.js)
-
tags/1.2.8/lib/codemirror/mode/css/css.min.js (copied) (copied from so-css/trunk/lib/codemirror/mode/css/css.min.js)
-
tags/1.2.8/lib/codemirror/mode/css/less_test.min.js (copied) (copied from so-css/trunk/lib/codemirror/mode/css/less_test.min.js)
-
tags/1.2.8/lib/codemirror/mode/css/scss_test.min.js (copied) (copied from so-css/trunk/lib/codemirror/mode/css/scss_test.min.js)
-
tags/1.2.8/lib/codemirror/mode/css/test.min.js (copied) (copied from so-css/trunk/lib/codemirror/mode/css/test.min.js)
-
tags/1.2.8/lib/codemirror/mode/sass/sass.min.js (copied) (copied from so-css/trunk/lib/codemirror/mode/sass/sass.min.js)
-
tags/1.2.8/lib/codemirror/mode/sass/test.min.js (copied) (copied from so-css/trunk/lib/codemirror/mode/sass/test.min.js)
-
tags/1.2.8/lib/minicolors/jquery.minicolors.min.js (copied) (copied from so-css/trunk/lib/minicolors/jquery.minicolors.min.js)
-
tags/1.2.8/readme.txt (copied) (copied from so-css/trunk/readme.txt) (2 diffs)
-
tags/1.2.8/so-css.php (copied) (copied from so-css/trunk/so-css.php) (3 diffs)
-
tags/1.2.8/tpl/js-templates.php (copied) (copied from so-css/trunk/tpl/js-templates.php)
-
tags/1.2.8/tpl/page.php (copied) (copied from so-css/trunk/tpl/page.php) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/so-css.php (modified) (3 diffs)
-
trunk/tpl/page.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
so-css/tags/1.2.8/readme.txt
r2308050 r2310318 3 3 Requires at least: 3.9 4 4 Tested up to: 5.5 5 Stable tag: 1.2. 76 Build time: 2020-05- 19T16:03:33+02:005 Stable tag: 1.2.8 6 Build time: 2020-05-22T18:38:58+02:00 7 7 License: GPLv2 or later 8 8 Contributors: gpriday … … 65 65 66 66 == Changelog == 67 68 = 1.2.8 - 22 May 2020 = 69 * Renamed `custom_css` textarea to prevent conflicts. 67 70 68 71 = 1.2.7 - 19 May 2020 = -
so-css/tags/1.2.8/so-css.php
r2308050 r2310318 3 3 Plugin Name: SiteOrigin CSS 4 4 Description: An advanced CSS editor from SiteOrigin. 5 Version: 1.2. 75 Version: 1.2.8 6 6 Author: SiteOrigin 7 7 Author URI: https://siteorigin.com … … 15 15 include plugin_dir_path( __FILE__ ) . 'inc/legacy.php'; 16 16 17 define( 'SOCSS_VERSION', '1.2. 7' );17 define( 'SOCSS_VERSION', '1.2.8' ); 18 18 define( 'SOCSS_JS_SUFFIX', '.min' ); 19 19 … … 266 266 ) ); 267 267 268 if ( current_user_can( 'edit_theme_options' ) && isset( $_POST[' custom_css'] ) ) {268 if ( current_user_can( 'edit_theme_options' ) && isset( $_POST['siteorigin_custom_css'] ) ) { 269 269 check_admin_referer( 'custom_css', '_sononce' ); 270 270 271 271 // Sanitize CSS input. Should keep most tags, apart from script and style tags. 272 $custom_css = self::sanitize_css( filter_input( INPUT_POST, ' custom_css' ) );272 $custom_css = self::sanitize_css( filter_input( INPUT_POST, 'siteorigin_custom_css' ) ); 273 273 $socss_post_id = filter_input( INPUT_GET, 'socss_post_id', FILTER_VALIDATE_INT ); 274 274 -
so-css/tags/1.2.8/tpl/page.php
r2308050 r2310318 25 25 26 26 27 <?php if( isset($_POST[' custom_css']) ) : ?>27 <?php if( isset($_POST['siteorigin_custom_css']) ) : ?> 28 28 <div class="notice notice-success"><p><?php _e('Site design updated.', 'so-css') ?></p></div> 29 29 <?php endif; ?> … … 101 101 102 102 <div class="custom-css-container"> 103 <textarea name=" custom_css" id="custom-css-textarea" class="css-editor" rows="<?php echo max( 10, substr_count( $custom_css, "\n" ) + 1 ) ?>"><?php echo esc_textarea( $custom_css ) ?></textarea>103 <textarea name="siteorigin_custom_css" id="custom-css-textarea" class="css-editor" rows="<?php echo max( 10, substr_count( $custom_css, "\n" ) + 1 ) ?>"><?php echo esc_textarea( $custom_css ) ?></textarea> 104 104 <?php wp_nonce_field( 'custom_css', '_sononce' ) ?> 105 105 </div> -
so-css/trunk/readme.txt
r2308050 r2310318 3 3 Requires at least: 3.9 4 4 Tested up to: 5.5 5 Stable tag: 1.2. 76 Build time: 2020-05- 19T16:03:33+02:005 Stable tag: 1.2.8 6 Build time: 2020-05-22T18:38:58+02:00 7 7 License: GPLv2 or later 8 8 Contributors: gpriday … … 65 65 66 66 == Changelog == 67 68 = 1.2.8 - 22 May 2020 = 69 * Renamed `custom_css` textarea to prevent conflicts. 67 70 68 71 = 1.2.7 - 19 May 2020 = -
so-css/trunk/so-css.php
r2308050 r2310318 3 3 Plugin Name: SiteOrigin CSS 4 4 Description: An advanced CSS editor from SiteOrigin. 5 Version: 1.2. 75 Version: 1.2.8 6 6 Author: SiteOrigin 7 7 Author URI: https://siteorigin.com … … 15 15 include plugin_dir_path( __FILE__ ) . 'inc/legacy.php'; 16 16 17 define( 'SOCSS_VERSION', '1.2. 7' );17 define( 'SOCSS_VERSION', '1.2.8' ); 18 18 define( 'SOCSS_JS_SUFFIX', '.min' ); 19 19 … … 266 266 ) ); 267 267 268 if ( current_user_can( 'edit_theme_options' ) && isset( $_POST[' custom_css'] ) ) {268 if ( current_user_can( 'edit_theme_options' ) && isset( $_POST['siteorigin_custom_css'] ) ) { 269 269 check_admin_referer( 'custom_css', '_sononce' ); 270 270 271 271 // Sanitize CSS input. Should keep most tags, apart from script and style tags. 272 $custom_css = self::sanitize_css( filter_input( INPUT_POST, ' custom_css' ) );272 $custom_css = self::sanitize_css( filter_input( INPUT_POST, 'siteorigin_custom_css' ) ); 273 273 $socss_post_id = filter_input( INPUT_GET, 'socss_post_id', FILTER_VALIDATE_INT ); 274 274 -
so-css/trunk/tpl/page.php
r2308050 r2310318 25 25 26 26 27 <?php if( isset($_POST[' custom_css']) ) : ?>27 <?php if( isset($_POST['siteorigin_custom_css']) ) : ?> 28 28 <div class="notice notice-success"><p><?php _e('Site design updated.', 'so-css') ?></p></div> 29 29 <?php endif; ?> … … 101 101 102 102 <div class="custom-css-container"> 103 <textarea name=" custom_css" id="custom-css-textarea" class="css-editor" rows="<?php echo max( 10, substr_count( $custom_css, "\n" ) + 1 ) ?>"><?php echo esc_textarea( $custom_css ) ?></textarea>103 <textarea name="siteorigin_custom_css" id="custom-css-textarea" class="css-editor" rows="<?php echo max( 10, substr_count( $custom_css, "\n" ) + 1 ) ?>"><?php echo esc_textarea( $custom_css ) ?></textarea> 104 104 <?php wp_nonce_field( 'custom_css', '_sononce' ) ?> 105 105 </div>
Note: See TracChangeset
for help on using the changeset viewer.