Version Description
Download this release
Release Info
Developer | qqworld |
Plugin | QQWorld Auto Save Images |
Version | 1.5.9.1 |
Comparing to | |
See all releases |
Code changes from version 1.5.9 to 1.5.9.1
qqworld-auto-save-images.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: QQWorld Auto Save Images
|
4 |
Plugin URI: https://wordpress.org/plugins/qqworld-auto-save-images/
|
5 |
Description: Automatically keep the all remote picture to the local, and automatically set featured image.
|
6 |
-
Version: 1.5.9
|
7 |
Author: Michael Wang
|
8 |
Author URI: http://www.qqworld.org
|
9 |
Text Domain: qqworld_auto_save_images
|
@@ -14,7 +14,7 @@ define('QQWORLD_AUTO_SAVE_IMAGES_URL', plugin_dir_url(__FILE__));
|
|
14 |
class QQWorld_auto_save_images {
|
15 |
var $using_action;
|
16 |
var $type;
|
17 |
-
var $preg = '/<img.*?src=[\"\']((?![\"\'])
|
18 |
var $exclude_domain;
|
19 |
function __construct() {
|
20 |
$this->using_action = get_option('using_action', 'publish');
|
3 |
Plugin Name: QQWorld Auto Save Images
|
4 |
Plugin URI: https://wordpress.org/plugins/qqworld-auto-save-images/
|
5 |
Description: Automatically keep the all remote picture to the local, and automatically set featured image.
|
6 |
+
Version: 1.5.9.1
|
7 |
Author: Michael Wang
|
8 |
Author URI: http://www.qqworld.org
|
9 |
Text Domain: qqworld_auto_save_images
|
14 |
class QQWorld_auto_save_images {
|
15 |
var $using_action;
|
16 |
var $type;
|
17 |
+
var $preg = '/<img.*?src=[\"\']((?![\"\']).*?\.(jpg|gif|bmp|bnp|png))((?![\"\'])\?.*?)?[\"\']/i';
|
18 |
var $exclude_domain;
|
19 |
function __construct() {
|
20 |
$this->using_action = get_option('using_action', 'publish');
|