Changeset 3053265
- Timestamp:
- 03/18/2024 09:34:00 AM (2 years ago)
- Location:
- instagrate-to-wordpress
- Files:
-
- 4 deleted
- 7 edited
- 15 copied
-
tags/1.3.8 (copied) (copied from instagrate-to-wordpress/trunk)
-
tags/1.3.8/assets (copied) (copied from instagrate-to-wordpress/trunk/assets)
-
tags/1.3.8/css (deleted)
-
tags/1.3.8/images (deleted)
-
tags/1.3.8/includes (copied) (copied from instagrate-to-wordpress/trunk/includes)
-
tags/1.3.8/includes/instagram.php (copied) (copied from instagrate-to-wordpress/trunk/includes/instagram.php)
-
tags/1.3.8/index.php (copied) (copied from instagrate-to-wordpress/trunk/index.php)
-
tags/1.3.8/instagrate-to-wordpress.php (copied) (copied from instagrate-to-wordpress/trunk/instagrate-to-wordpress.php) (4 diffs)
-
tags/1.3.8/lib (deleted)
-
tags/1.3.8/php (deleted)
-
tags/1.3.8/readme.txt (copied) (copied from instagrate-to-wordpress/trunk/readme.txt) (2 diffs)
-
tags/1.3.8/templates/images.php (copied) (copied from instagrate-to-wordpress/trunk/templates/images.php)
-
tags/1.3.8/templates/index.php (copied) (copied from instagrate-to-wordpress/trunk/templates/index.php)
-
tags/1.3.8/templates/settings.php (copied) (copied from instagrate-to-wordpress/trunk/templates/settings.php) (2 diffs)
-
tags/1.3.8/vendor (copied) (copied from instagrate-to-wordpress/trunk/vendor)
-
tags/1.3.8/vendor/autoload.php (copied) (copied from instagrate-to-wordpress/trunk/vendor/autoload.php) (1 diff)
-
tags/1.3.8/vendor/composer/autoload_real.php (copied) (copied from instagrate-to-wordpress/trunk/vendor/composer/autoload_real.php) (2 diffs)
-
tags/1.3.8/vendor/composer/autoload_static.php (copied) (copied from instagrate-to-wordpress/trunk/vendor/composer/autoload_static.php) (2 diffs)
-
tags/1.3.8/vendor/composer/installed.php (copied) (copied from instagrate-to-wordpress/trunk/vendor/composer/installed.php) (2 diffs)
-
trunk/instagrate-to-wordpress.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/templates/settings.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
instagrate-to-wordpress/tags/1.3.8/instagrate-to-wordpress.php
r3008794 r3053265 5 5 Description: Plugin for automatic posting of Instagram images into a WordPress blog. 6 6 Author: polevaultweb 7 Version: 1.3. 77 Version: 1.3.8 8 8 Author URI: https://polevaultweb.com/ 9 9 … … 26 26 27 27 //plugin version 28 define( 'ITW_PLUGIN_VERSION', '1.3. 7' );28 define( 'ITW_PLUGIN_VERSION', '1.3.8' ); 29 29 define( 'ITW_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); 30 30 define( 'ITW_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 1134 1134 update_option( 'itw_post_date', $postdate ); 1135 1135 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 ) ); 1138 1138 1139 1139 $customtext = htmlspecialchars( $_POST['itw_customtext'] ); … … 1170 1170 update_option( 'itw_posttype', $posttype ); 1171 1171 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 ) ); 1174 1174 1175 1175 if ( isset( $_POST['itw_ishome'] ) ) { -
instagrate-to-wordpress/tags/1.3.8/readme.txt
r3024418 r3053265 5 5 Tags: Instagram, Instagram feed, Instagram Photos, Instagram Posts, Instagram embed 6 6 Requires at least: 3.0 7 Tested up to: 6. 47 Tested up to: 6.6 8 8 Requires PHP: 5.5 9 Stable Tag: 1.3. 79 Stable Tag: 1.3.8 10 10 11 11 Automatically post your Instagram images to your WordPress site. Create new WordPress posts from your Instagram images, save the Instagram image to the media library. … … 118 118 == Changelog == 119 119 120 = 1.3.8 = 121 Release Date: Mar 18th, 2024 122 123 * Security Fix: XSS issue with custom and default title setting 124 120 125 = 1.3.7 = 121 126 Release Date: Dec 12th, 2023 -
instagrate-to-wordpress/tags/1.3.8/templates/settings.php
r3008755 r3053265 248 248 <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> 249 249 <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 ); ?>"> 251 251 <small>eg. Instagram Image</small> 252 252 </p> … … 254 254 <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> 255 255 <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 ); ?>"> 257 257 <small>eg. %%title%% - from Instagram</small> 258 258 </p> -
instagrate-to-wordpress/tags/1.3.8/vendor/autoload.php
r3008794 r3053265 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b::getLoader();25 return ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03::getLoader(); -
instagrate-to-wordpress/tags/1.3.8/vendor/composer/autoload_real.php
r3008794 r3053265 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b5 class ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::getInitializer($loader)); 31 31 32 32 $loader->register(true); -
instagrate-to-wordpress/tags/1.3.8/vendor/composer/autoload_static.php
r3008794 r3053265 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b7 class ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 28 28 { 29 29 return \Closure::bind(function () use ($loader) { 30 $loader->prefixLengthsPsr4 = ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::$prefixLengthsPsr4;31 $loader->prefixDirsPsr4 = ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::$prefixDirsPsr4;32 $loader->classMap = ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::$classMap;30 $loader->prefixLengthsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixLengthsPsr4; 31 $loader->prefixDirsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixDirsPsr4; 32 $loader->classMap = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$classMap; 33 33 34 34 }, null, ClassLoader::class); -
instagrate-to-wordpress/tags/1.3.8/vendor/composer/installed.php
r3008794 r3053265 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 126fc9035dff67f51482eb425ed3741d3ba00732',6 'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' 126fc9035dff67f51482eb425ed3741d3ba00732',16 'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
instagrate-to-wordpress/trunk/instagrate-to-wordpress.php
r3008794 r3053265 5 5 Description: Plugin for automatic posting of Instagram images into a WordPress blog. 6 6 Author: polevaultweb 7 Version: 1.3. 77 Version: 1.3.8 8 8 Author URI: https://polevaultweb.com/ 9 9 … … 26 26 27 27 //plugin version 28 define( 'ITW_PLUGIN_VERSION', '1.3. 7' );28 define( 'ITW_PLUGIN_VERSION', '1.3.8' ); 29 29 define( 'ITW_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); 30 30 define( 'ITW_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 1134 1134 update_option( 'itw_post_date', $postdate ); 1135 1135 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 ) ); 1138 1138 1139 1139 $customtext = htmlspecialchars( $_POST['itw_customtext'] ); … … 1170 1170 update_option( 'itw_posttype', $posttype ); 1171 1171 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 ) ); 1174 1174 1175 1175 if ( isset( $_POST['itw_ishome'] ) ) { -
instagrate-to-wordpress/trunk/readme.txt
r3024418 r3053265 5 5 Tags: Instagram, Instagram feed, Instagram Photos, Instagram Posts, Instagram embed 6 6 Requires at least: 3.0 7 Tested up to: 6. 47 Tested up to: 6.6 8 8 Requires PHP: 5.5 9 Stable Tag: 1.3. 79 Stable Tag: 1.3.8 10 10 11 11 Automatically post your Instagram images to your WordPress site. Create new WordPress posts from your Instagram images, save the Instagram image to the media library. … … 118 118 == Changelog == 119 119 120 = 1.3.8 = 121 Release Date: Mar 18th, 2024 122 123 * Security Fix: XSS issue with custom and default title setting 124 120 125 = 1.3.7 = 121 126 Release Date: Dec 12th, 2023 -
instagrate-to-wordpress/trunk/templates/settings.php
r3008755 r3053265 248 248 <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> 249 249 <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 ); ?>"> 251 251 <small>eg. Instagram Image</small> 252 252 </p> … … 254 254 <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> 255 255 <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 ); ?>"> 257 257 <small>eg. %%title%% - from Instagram</small> 258 258 </p> -
instagrate-to-wordpress/trunk/vendor/autoload.php
r3008794 r3053265 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b::getLoader();25 return ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03::getLoader(); -
instagrate-to-wordpress/trunk/vendor/composer/autoload_real.php
r3008794 r3053265 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b5 class ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 3bc9417324c706623c19bcce6c29b25b', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit013cf17504e6e695a3c97dcfbf23eb03', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::getInitializer($loader)); 31 31 32 32 $loader->register(true); -
instagrate-to-wordpress/trunk/vendor/composer/autoload_static.php
r3008794 r3053265 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b7 class ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 28 28 { 29 29 return \Closure::bind(function () use ($loader) { 30 $loader->prefixLengthsPsr4 = ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::$prefixLengthsPsr4;31 $loader->prefixDirsPsr4 = ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::$prefixDirsPsr4;32 $loader->classMap = ComposerStaticInit 3bc9417324c706623c19bcce6c29b25b::$classMap;30 $loader->prefixLengthsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixLengthsPsr4; 31 $loader->prefixDirsPsr4 = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$prefixDirsPsr4; 32 $loader->classMap = ComposerStaticInit013cf17504e6e695a3c97dcfbf23eb03::$classMap; 33 33 34 34 }, null, ClassLoader::class); -
instagrate-to-wordpress/trunk/vendor/composer/installed.php
r3008794 r3053265 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 126fc9035dff67f51482eb425ed3741d3ba00732',6 'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' 126fc9035dff67f51482eb425ed3741d3ba00732',16 'reference' => 'dd58a95b13beac9fd5a969f75489d6463a293040', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.