Plugin Directory

Changeset 1274032


Ignore:
Timestamp:
10/27/2015 03:21:50 PM (10 years ago)
Author:
tinycode
Message:

Fix bug related to single-line comments (Version 1.0.4)

Location:
tc-custom-javascript
Files:
560 added
5 edited

Legend:

Unmodified
Added
Removed
  • tc-custom-javascript/tags/1.0.2/tc-custom-javascript.php

    r1167205 r1274032  
    33Plugin Name: TC Custom JavaScript
    44Description: Add custom JavaScript to your site from a professional editor in the WordPress admin.
    5 Version: 1.0.1
     5Version: 1.0.2
    66Author: Tiny Code
    77License: GPLv2 or later
  • tc-custom-javascript/trunk/core/frontend.php

    r1144538 r1274032  
    33class TCCJ_Core_Frontend {
    44    public static function print_script_in_footer() {
    5         $tccj_content = sanitize_text_field( get_option( 'tccj_content', '' ) );
    6         $tccj_content = stripslashes( $tccj_content);
     5        //$tccj_content = sanitize_text_field( get_option( 'tccj_content', '' ) );
     6        $tccj_content = get_option( 'tccj_content', '' );
     7        $tccj_content = stripslashes( $tccj_content );
    78        $tccj_content = html_entity_decode( $tccj_content );
    89
  • tc-custom-javascript/trunk/readme.txt

    r1259078 r1274032  
    44Requires at least: 3.0.0
    55Tested up to: 4.3.1
    6 Stable tag: 1.0.3
     6Stable tag: 1.0.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2727== Changelog ==
    2828
     29= 1.0.4 =
     30Fixed bug related to single-line comments.
     31
    2932= 1.0.3 =
    3033Fixed bug related to Magic Quotes of PHP 5.3 or lower.
  • tc-custom-javascript/trunk/tc-custom-javascript.php

    r1259078 r1274032  
    33Plugin Name: TC Custom JavaScript
    44Description: Add custom JavaScript to your site from a professional editor in the WordPress admin.
    5 Version: 1.0.3
     5Version: 1.0.4
    66Author: Tiny Code
    77License: GPLv2 or later
  • tc-custom-javascript/trunk/templates/code-editor.php

    r1167205 r1274032  
    44        <div class="tccj-main-container">
    55            <div class="tccj-content-container">
    6                 <p>
     6                <!-- <p>
    77                    <span class="glyphicon glyphicon-info-sign"></span>
    88                    <?php _e( 'Do not use // comment style, instead you can use /* comment */.', TCCJ_TEXTDOMAIN ); ?>
    9                 </p>
     9                </p> -->
    1010                <textarea id="tccj-content" name="tccj-content"><?php echo html_entity_decode( stripslashes( $tccj_content ) ); ?></textarea>
    1111                <p class="submit">
Note: See TracChangeset for help on using the changeset viewer.