Plugin Directory

Changeset 2753811


Ignore:
Timestamp:
07/08/2022 03:31:17 PM (4 years ago)
Author:
WraithKenny
Message:

tag 3.5.2

Location:
scripts-n-styles
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • scripts-n-styles/tags/3.5.2/README.txt

    r2044197 r2753811  
    33Tags: admin, CSS, javascript, code, custom, Style
    44Requires at least: 5.0
    5 Tested up to: 5.1
    6 Requires PHP: 5.4
    7 Stable tag: 3.5.1
     5Tested up to: 6.0
     6Requires PHP: 7.4
     7Stable tag: 3.5.2
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2626*   **There is no input validation.** This plugin puts exactly what you type in the meta box directly into the `html` with no error checking. You are an Admin, and we trust you to be carefull. Try not to break anything.
    2727*   Do to the licensing of the libraries used, this plugin is released "GPL 3.0 or later" if you care about those things.
    28 
    29 = Contact: =
    30 
    31 You'll have better luck contacting me if you try me on [Twitter](http://twitter.com/WraithKenny1) and [Github](https://github.com/unFocus/Scripts-n-Styles/issues). I also have a day job at [Ashworth Creative](https://ashworthcreative.com/); check us out!
    3228
    3329== Installation ==
     
    5955
    6056== Changelog ==
     57
     58= 3.5.2 =
     59* Fix PHP 8 notice
    6160
    6261= 3.5.1 =
  • scripts-n-styles/tags/3.5.2/scripts-n-styles.php

    r2007260 r2753811  
    22/*
    33Plugin Name:  Scripts n Styles
    4 Plugin URI:   http://www.unfocus.com/projects/scripts-n-styles/
     4Plugin URI:   https://www.unfocus.com/projects/scripts-n-styles/
    55Description:  Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
    66Author:       unFocus Projects
    7 Author URI:   http://www.unfocus.com/
    8 Version:      3.5.1
     7Author URI:   https://www.unfocus.com/
     8Version:      3.5.2
    99License:      GPLv3 or later
    1010License URI:  https://www.gnu.org/licenses/gpl-3.0.html
     
    1414
    1515/*  The Scripts n Styles WordPress Plugin
    16     Copyright (c) 2010-2019  Kenneth Newman  <http://www.unfocus.com/>
    17     Copyright (c) 2012  Kevin Newman  <http://www.unfocus.com/>
     16    Copyright (c) 2010-2019  Kenneth Newman  <https://www.unfocus.com/>
     17    Copyright (c) 2012  Kevin Newman  <https://www.unfocus.com/>
    1818    Copyright (c) 2012-2013  adcSTUDIO LLC <http://www.adcstudio.com/>
    1919
     
    3333    This file incorporates work covered by other licenses and permissions.
    3434*/
    35 
    36 if ( version_compare( PHP_VERSION, '5.4', '<' ) ) :
    37     function sns_disable_update( $value ) {
    38         if( isset( $value->response[plugin_basename( __FILE__ )] ) ) {
    39             unset( $value->response[plugin_basename( __FILE__ )] );
    40         }
    41         return $value;
    42     }
    43     add_filter( 'site_transient_update_plugins', 'sns_disable_update' );
    44 endif;
    4535
    4636/**
     
    6050 *
    6151 * @package Scripts_n_Styles
    62  * @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
     52 * @link https://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
    6353 * @author unFocus Projects
    64  * @link http://www.unfocus.com/ Author URI
    65  * @version 3.5.1
     54 * @link https://www.unfocus.com/ Author URI
     55 * @version 3.5.2
    6656 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
    6757 * @copyright Copyright (c) 2010 - 2019, Kenneth Newman
     
    8171     * @static
    8272     */
    83     const VERSION = '3.5.1';
     73    const VERSION = '3.5.2';
    8474    static $file = __FILE__;
    8575    static $cm_themes = array( 'default', '3024-day', '3024-night', 'ambiance',
     
    158148        add_shortcode( 'hoops', array( __CLASS__, 'shortcode' ) );
    159149    }
    160     static function shortcode( $atts, $content = null, $tag ) {
     150    static function shortcode( $atts, $content = null ) {
    161151        global $post;
    162152        extract( shortcode_atts( array( 'name' => 0, ), $atts ) );
     
    182172        return $output;
    183173    }
    184     static function hoops_widget( $atts, $content = null, $tag ) {
     174    static function hoops_widget( $atts, $content = null ) {
    185175        $options = get_option( 'SnS_options' );
    186176        $hoops = $options['hoops']['shortcodes'];
  • scripts-n-styles/trunk/README.txt

    r2044197 r2753811  
    33Tags: admin, CSS, javascript, code, custom, Style
    44Requires at least: 5.0
    5 Tested up to: 5.1
    6 Requires PHP: 5.4
    7 Stable tag: 3.5.1
     5Tested up to: 6.0
     6Requires PHP: 7.4
     7Stable tag: 3.5.2
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2626*   **There is no input validation.** This plugin puts exactly what you type in the meta box directly into the `html` with no error checking. You are an Admin, and we trust you to be carefull. Try not to break anything.
    2727*   Do to the licensing of the libraries used, this plugin is released "GPL 3.0 or later" if you care about those things.
    28 
    29 = Contact: =
    30 
    31 You'll have better luck contacting me if you try me on [Twitter](http://twitter.com/WraithKenny1) and [Github](https://github.com/unFocus/Scripts-n-Styles/issues). I also have a day job at [Ashworth Creative](https://ashworthcreative.com/); check us out!
    3228
    3329== Installation ==
     
    5955
    6056== Changelog ==
     57
     58= 3.5.2 =
     59* Fix PHP 8 notice
    6160
    6261= 3.5.1 =
  • scripts-n-styles/trunk/scripts-n-styles.php

    r2007260 r2753811  
    22/*
    33Plugin Name:  Scripts n Styles
    4 Plugin URI:   http://www.unfocus.com/projects/scripts-n-styles/
     4Plugin URI:   https://www.unfocus.com/projects/scripts-n-styles/
    55Description:  Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
    66Author:       unFocus Projects
    7 Author URI:   http://www.unfocus.com/
    8 Version:      3.5.1
     7Author URI:   https://www.unfocus.com/
     8Version:      3.5.2
    99License:      GPLv3 or later
    1010License URI:  https://www.gnu.org/licenses/gpl-3.0.html
     
    1414
    1515/*  The Scripts n Styles WordPress Plugin
    16     Copyright (c) 2010-2019  Kenneth Newman  <http://www.unfocus.com/>
    17     Copyright (c) 2012  Kevin Newman  <http://www.unfocus.com/>
     16    Copyright (c) 2010-2019  Kenneth Newman  <https://www.unfocus.com/>
     17    Copyright (c) 2012  Kevin Newman  <https://www.unfocus.com/>
    1818    Copyright (c) 2012-2013  adcSTUDIO LLC <http://www.adcstudio.com/>
    1919
     
    3333    This file incorporates work covered by other licenses and permissions.
    3434*/
    35 
    36 if ( version_compare( PHP_VERSION, '5.4', '<' ) ) :
    37     function sns_disable_update( $value ) {
    38         if( isset( $value->response[plugin_basename( __FILE__ )] ) ) {
    39             unset( $value->response[plugin_basename( __FILE__ )] );
    40         }
    41         return $value;
    42     }
    43     add_filter( 'site_transient_update_plugins', 'sns_disable_update' );
    44 endif;
    4535
    4636/**
     
    6050 *
    6151 * @package Scripts_n_Styles
    62  * @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
     52 * @link https://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
    6353 * @author unFocus Projects
    64  * @link http://www.unfocus.com/ Author URI
    65  * @version 3.5.1
     54 * @link https://www.unfocus.com/ Author URI
     55 * @version 3.5.2
    6656 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
    6757 * @copyright Copyright (c) 2010 - 2019, Kenneth Newman
     
    8171     * @static
    8272     */
    83     const VERSION = '3.5.1';
     73    const VERSION = '3.5.2';
    8474    static $file = __FILE__;
    8575    static $cm_themes = array( 'default', '3024-day', '3024-night', 'ambiance',
     
    158148        add_shortcode( 'hoops', array( __CLASS__, 'shortcode' ) );
    159149    }
    160     static function shortcode( $atts, $content = null, $tag ) {
     150    static function shortcode( $atts, $content = null ) {
    161151        global $post;
    162152        extract( shortcode_atts( array( 'name' => 0, ), $atts ) );
     
    182172        return $output;
    183173    }
    184     static function hoops_widget( $atts, $content = null, $tag ) {
     174    static function hoops_widget( $atts, $content = null ) {
    185175        $options = get_option( 'SnS_options' );
    186176        $hoops = $options['hoops']['shortcodes'];
Note: See TracChangeset for help on using the changeset viewer.