close

Plugin Directory

Changeset 3053265


Ignore:
Timestamp:
03/18/2024 09:34:00 AM (2 years ago)
Author:
polevaultweb
Message:

Tagging version 1.3.8

Location:
instagrate-to-wordpress
Files:
4 deleted
7 edited
15 copied

Legend:

Unmodified
Added
Removed
  • instagrate-to-wordpress/tags/1.3.8/instagrate-to-wordpress.php

    r3008794 r3053265  
    55Description: Plugin for automatic posting of Instagram images into a WordPress blog.
    66Author: polevaultweb
    7 Version: 1.3.7
     7Version: 1.3.8
    88Author URI: https://polevaultweb.com/
    99
     
    2626
    2727//plugin version
    28 define( 'ITW_PLUGIN_VERSION', '1.3.7' );
     28define( 'ITW_PLUGIN_VERSION', '1.3.8' );
    2929define( 'ITW_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    3030define( 'ITW_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
     
    11341134                                        update_option( 'itw_post_date', $postdate );
    11351135
    1136                                         $customtitle = $_POST['itw_customtitle'];
    1137                                         update_option( 'itw_customtitle', $customtitle );
     1136                                        $customtitle = filter_input( INPUT_POST, 'itw_customtitle', FILTER_UNSAFE_RAW );
     1137                                        update_option( 'itw_customtitle', sanitize_text_field( $customtitle ) );
    11381138
    11391139                                        $customtext = htmlspecialchars( $_POST['itw_customtext'] );
     
    11701170                                        update_option( 'itw_posttype', $posttype );
    11711171
    1172                                         $defaulttitle = $_POST['itw_defaulttitle'];
    1173                                         update_option( 'itw_defaulttitle', $defaulttitle );
     1172                                        $defaulttitle = filter_input( INPUT_POST, 'itw_defaulttitle', FILTER_UNSAFE_RAW );
     1173                                        update_option( 'itw_defaulttitle', sanitize_text_field( $defaulttitle ) );
    11741174
    11751175                                        if ( isset( $_POST['itw_ishome'] ) ) {
  • instagrate-to-wordpress/tags/1.3.8/readme.txt

    r3024418 r3053265  
    55Tags: Instagram, Instagram feed, Instagram Photos, Instagram Posts, Instagram embed
    66Requires at least: 3.0
    7 Tested up to: 6.4
     7Tested up to: 6.6
    88Requires PHP: 5.5
    9 Stable Tag: 1.3.7
     9Stable Tag: 1.3.8
    1010
    1111Automatically post your Instagram images to your WordPress site. Create new WordPress posts from your Instagram images, save the Instagram image to the media library.
     
    118118== Changelog ==
    119119
     120= 1.3.8 =
     121Release Date: Mar 18th, 2024
     122
     123* Security Fix: XSS issue with custom and default title setting
     124
    120125= 1.3.7 =
    121126Release Date: Dec 12th, 2023
  • instagrate-to-wordpress/tags/1.3.8/templates/settings.php

    r3008755 r3053265  
    248248                        <p class="itw_info">Set the default post title if an Instagram image has no title. Can be overridden by the Custom Title Text.</p>
    249249                        <p>
    250                             <label class="textinput">Default Title Text:</label><input type="text" class="body_title" name="itw_defaulttitle" value="<?php echo $defaulttitle; ?>">
     250                            <label class="textinput">Default Title Text:</label><input type="text" class="body_title" name="itw_defaulttitle" value="<?php echo esc_html( $defaulttitle ); ?>">
    251251                            <small>eg. Instagram Image</small>
    252252                        </p>
     
    254254                        <p class="itw_info">If the below custom text fields are left blank, only the Instagram text and image will be used in your post. To position the Instagram data with your custom text use the syntax %%title%% and %%image%%. The %%image%% text cannot be used in the Custom Title Text, and if it doesn't appear in the Body Text the Image will appear at the end of the post body.</p>
    255255                        <p>
    256                             <label class="textinput">Custom Title Text:</label><input type="text" class="body_title" name="itw_customtitle" value="<?php echo $customtitle; ?>">
     256                            <label class="textinput">Custom Title Text:</label><input type="text" class="body_title" name="itw_customtitle" value="<?php echo esc_html( $customtitle ); ?>">
    257257                            <small>eg. %%title%% - from Instagram</small>
    258258                        </p>
  • instagrate-to-wordpress/tags/1.3.8/vendor/autoload.php

    r3008794 r3053265  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b::getLoader();
     25return ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03::getLoader();
  • instagrate-to-wordpress/tags/1.3.8/vendor/composer/autoload_real.php

    r3008794 r3053265  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b
     5class ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • instagrate-to-wordpress/tags/1.3.8/vendor/composer/autoload_static.php

    r3008794 r3053265  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3bc9417324c706623c19bcce6c29b25b
     7class ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • instagrate-to-wordpress/tags/1.3.8/vendor/composer/installed.php

    r3008794 r3053265  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '126fc9035dff67f51482eb425ed3741d3ba00732',
     6        'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '126fc9035dff67f51482eb425ed3741d3ba00732',
     16            'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • instagrate-to-wordpress/trunk/instagrate-to-wordpress.php

    r3008794 r3053265  
    55Description: Plugin for automatic posting of Instagram images into a WordPress blog.
    66Author: polevaultweb
    7 Version: 1.3.7
     7Version: 1.3.8
    88Author URI: https://polevaultweb.com/
    99
     
    2626
    2727//plugin version
    28 define( 'ITW_PLUGIN_VERSION', '1.3.7' );
     28define( 'ITW_PLUGIN_VERSION', '1.3.8' );
    2929define( 'ITW_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    3030define( 'ITW_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
     
    11341134                                        update_option( 'itw_post_date', $postdate );
    11351135
    1136                                         $customtitle = $_POST['itw_customtitle'];
    1137                                         update_option( 'itw_customtitle', $customtitle );
     1136                                        $customtitle = filter_input( INPUT_POST, 'itw_customtitle', FILTER_UNSAFE_RAW );
     1137                                        update_option( 'itw_customtitle', sanitize_text_field( $customtitle ) );
    11381138
    11391139                                        $customtext = htmlspecialchars( $_POST['itw_customtext'] );
     
    11701170                                        update_option( 'itw_posttype', $posttype );
    11711171
    1172                                         $defaulttitle = $_POST['itw_defaulttitle'];
    1173                                         update_option( 'itw_defaulttitle', $defaulttitle );
     1172                                        $defaulttitle = filter_input( INPUT_POST, 'itw_defaulttitle', FILTER_UNSAFE_RAW );
     1173                                        update_option( 'itw_defaulttitle', sanitize_text_field( $defaulttitle ) );
    11741174
    11751175                                        if ( isset( $_POST['itw_ishome'] ) ) {
  • instagrate-to-wordpress/trunk/readme.txt

    r3024418 r3053265  
    55Tags: Instagram, Instagram feed, Instagram Photos, Instagram Posts, Instagram embed
    66Requires at least: 3.0
    7 Tested up to: 6.4
     7Tested up to: 6.6
    88Requires PHP: 5.5
    9 Stable Tag: 1.3.7
     9Stable Tag: 1.3.8
    1010
    1111Automatically post your Instagram images to your WordPress site. Create new WordPress posts from your Instagram images, save the Instagram image to the media library.
     
    118118== Changelog ==
    119119
     120= 1.3.8 =
     121Release Date: Mar 18th, 2024
     122
     123* Security Fix: XSS issue with custom and default title setting
     124
    120125= 1.3.7 =
    121126Release Date: Dec 12th, 2023
  • instagrate-to-wordpress/trunk/templates/settings.php

    r3008755 r3053265  
    248248                        <p class="itw_info">Set the default post title if an Instagram image has no title. Can be overridden by the Custom Title Text.</p>
    249249                        <p>
    250                             <label class="textinput">Default Title Text:</label><input type="text" class="body_title" name="itw_defaulttitle" value="<?php echo $defaulttitle; ?>">
     250                            <label class="textinput">Default Title Text:</label><input type="text" class="body_title" name="itw_defaulttitle" value="<?php echo esc_html( $defaulttitle ); ?>">
    251251                            <small>eg. Instagram Image</small>
    252252                        </p>
     
    254254                        <p class="itw_info">If the below custom text fields are left blank, only the Instagram text and image will be used in your post. To position the Instagram data with your custom text use the syntax %%title%% and %%image%%. The %%image%% text cannot be used in the Custom Title Text, and if it doesn't appear in the Body Text the Image will appear at the end of the post body.</p>
    255255                        <p>
    256                             <label class="textinput">Custom Title Text:</label><input type="text" class="body_title" name="itw_customtitle" value="<?php echo $customtitle; ?>">
     256                            <label class="textinput">Custom Title Text:</label><input type="text" class="body_title" name="itw_customtitle" value="<?php echo esc_html( $customtitle ); ?>">
    257257                            <small>eg. %%title%% - from Instagram</small>
    258258                        </p>
  • instagrate-to-wordpress/trunk/vendor/autoload.php

    r3008794 r3053265  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b::getLoader();
     25return ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03::getLoader();
  • instagrate-to-wordpress/trunk/vendor/composer/autoload_real.php

    r3008794 r3053265  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b
     5class ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • instagrate-to-wordpress/trunk/vendor/composer/autoload_static.php

    r3008794 r3053265  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3bc9417324c706623c19bcce6c29b25b
     7class ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit3bc9417324c706623c19bcce6c29b25b::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • instagrate-to-wordpress/trunk/vendor/composer/installed.php

    r3008794 r3053265  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '126fc9035dff67f51482eb425ed3741d3ba00732',
     6        'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '126fc9035dff67f51482eb425ed3741d3ba00732',
     16            'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.