Plugin Directory

Changeset 2120994


Ignore:
Timestamp:
07/10/2019 07:22:01 PM (7 years ago)
Author:
affuxo
Message:

version 1.1 - Minor Bugs Fixes and Improvements

Location:
page-specific-scripts/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • page-specific-scripts/trunk/readme.txt

    r2116802 r2120994  
    44Tags: script, jQuery, jQuery on posts pages, Javascript, page specific jQuery, page specific script
    55Requires at least: 3.1
    6 Tested up to: 5.1
    7 Stable tag: 1.0
     6Tested up to: 5.2.2
     7Stable tag: 1.2.3
    88License: GPL2
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • page-specific-scripts/trunk/wpcp-page-specific-scripts.php

    r2116799 r2120994  
    117117        $callback = array( $this, 'add_script_meta_box' );
    118118        $context = 'normal';
    119         $priority = 'high';
     119        $priority = 'default';
    120120        $callback_args = '';
    121121
     
    167167            return;
    168168        }
    169         $data = sanitize_text_field(    $_POST['add_script'] );
     169        $data = wp_unslash($_POST['add_script'] );
    170170        update_post_meta( $post_id, $this->meta_key, $data );
    171171    }
    172172
    173 } // class
     173}
    174174
    175175
Note: See TracChangeset for help on using the changeset viewer.