Plugin Directory

Changeset 2310318


Ignore:
Timestamp:
05/22/2020 04:43:35 PM (6 years ago)
Author:
gpriday
Message:

Tagged 1.2.8 release

Location:
so-css
Files:
3 deleted
3 edited
64 copied

Legend:

Unmodified
Added
Removed
  • so-css/tags/1.2.8/readme.txt

    r2308050 r2310318  
    33Requires at least: 3.9
    44Tested up to: 5.5
    5 Stable tag: 1.2.7
    6 Build time: 2020-05-19T16:03:33+02:00
     5Stable tag: 1.2.8
     6Build time: 2020-05-22T18:38:58+02:00
    77License: GPLv2 or later
    88Contributors: gpriday
     
    6565
    6666== Changelog ==
     67
     68= 1.2.8 - 22 May 2020 =
     69* Renamed `custom_css` textarea to prevent conflicts.
    6770
    6871= 1.2.7 - 19 May 2020 =
  • so-css/tags/1.2.8/so-css.php

    r2308050 r2310318  
    33Plugin Name: SiteOrigin CSS
    44Description: An advanced CSS editor from SiteOrigin.
    5 Version: 1.2.7
     5Version: 1.2.8
    66Author: SiteOrigin
    77Author URI: https://siteorigin.com
     
    1515include plugin_dir_path( __FILE__ ) . 'inc/legacy.php';
    1616
    17 define( 'SOCSS_VERSION', '1.2.7' );
     17define( 'SOCSS_VERSION', '1.2.8' );
    1818define( 'SOCSS_JS_SUFFIX', '.min' );
    1919
     
    266266        ) );
    267267
    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'] ) ) {
    269269            check_admin_referer( 'custom_css', '_sononce' );
    270270           
    271271            // 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' ) );
    273273            $socss_post_id = filter_input( INPUT_GET, 'socss_post_id', FILTER_VALIDATE_INT );
    274274           
  • so-css/tags/1.2.8/tpl/page.php

    r2308050 r2310318  
    2525
    2626
    27     <?php if( isset($_POST['custom_css']) ) : ?>
     27    <?php if( isset($_POST['siteorigin_custom_css']) ) : ?>
    2828        <div class="notice notice-success"><p><?php _e('Site design updated.', 'so-css') ?></p></div>
    2929    <?php endif; ?>
     
    101101
    102102            <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>
    104104                <?php wp_nonce_field( 'custom_css', '_sononce' ) ?>
    105105            </div>
  • so-css/trunk/readme.txt

    r2308050 r2310318  
    33Requires at least: 3.9
    44Tested up to: 5.5
    5 Stable tag: 1.2.7
    6 Build time: 2020-05-19T16:03:33+02:00
     5Stable tag: 1.2.8
     6Build time: 2020-05-22T18:38:58+02:00
    77License: GPLv2 or later
    88Contributors: gpriday
     
    6565
    6666== Changelog ==
     67
     68= 1.2.8 - 22 May 2020 =
     69* Renamed `custom_css` textarea to prevent conflicts.
    6770
    6871= 1.2.7 - 19 May 2020 =
  • so-css/trunk/so-css.php

    r2308050 r2310318  
    33Plugin Name: SiteOrigin CSS
    44Description: An advanced CSS editor from SiteOrigin.
    5 Version: 1.2.7
     5Version: 1.2.8
    66Author: SiteOrigin
    77Author URI: https://siteorigin.com
     
    1515include plugin_dir_path( __FILE__ ) . 'inc/legacy.php';
    1616
    17 define( 'SOCSS_VERSION', '1.2.7' );
     17define( 'SOCSS_VERSION', '1.2.8' );
    1818define( 'SOCSS_JS_SUFFIX', '.min' );
    1919
     
    266266        ) );
    267267
    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'] ) ) {
    269269            check_admin_referer( 'custom_css', '_sononce' );
    270270           
    271271            // 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' ) );
    273273            $socss_post_id = filter_input( INPUT_GET, 'socss_post_id', FILTER_VALIDATE_INT );
    274274           
  • so-css/trunk/tpl/page.php

    r2308050 r2310318  
    2525
    2626
    27     <?php if( isset($_POST['custom_css']) ) : ?>
     27    <?php if( isset($_POST['siteorigin_custom_css']) ) : ?>
    2828        <div class="notice notice-success"><p><?php _e('Site design updated.', 'so-css') ?></p></div>
    2929    <?php endif; ?>
     
    101101
    102102            <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>
    104104                <?php wp_nonce_field( 'custom_css', '_sononce' ) ?>
    105105            </div>
Note: See TracChangeset for help on using the changeset viewer.