Plugin Directory

Changeset 1372524


Ignore:
Timestamp:
03/16/2016 06:13:54 PM (10 years ago)
Author:
Zefir Studio
Message:

Update to version 1.1.0

Location:
site-import
Files:
31 added
3 edited

Legend:

Unmodified
Added
Removed
  • site-import/trunk/admin/page.php

    r1219455 r1372524  
    4040    }
    4141   
     42    $purl = parse_url($page);
    4243    $context = stream_context_create(array('http' => array('max_redirects' => 101)));
    43     $content = file_get_contents($page, false, $context);
    44     $content = preg_replace_callback("/(\<(img|link|a) [^\>]*?)(href|src)\=\"([^\"]+?)\"/", 'site_import_namespace\change_link', $content);
    45 
     44    if($purl['host']!=''){
     45        $content = file_get_contents($page, false, $context);
     46        $content = preg_replace_callback("/(\<(img|link|a) [^\>]*?)(href|src)\=\"([^\"]+?)\"/", 'site_import_namespace\change_link', $content);
     47    }else{
     48        $content = 'Access denied';
     49    }
    4650    echo $content;
    4751
  • site-import/trunk/readme.txt

    r1371742 r1372524  
    55Requires at least: 3.0.1
    66Tested up to: 4.4.0
    7 Stable tag: 1.0.1
     7Stable tag: 1.1.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6868== Changelog ==
    6969
     70= 1.1.0 =
     71* Security issues fixed
     72
    7073= 1.0.0 =
    7174* Just released
     
    7376== Upgrade Notice ==
    7477
     78= 1.1.0 =
     79* Security issues fixed
     80
    7581= 1.0.0 =
    7682Just released
  • site-import/trunk/site-import.php

    r1278545 r1372524  
    44    * Plugin URI: http://zefirstudio.pl/wp-site-import/
    55    * Description: Import posts/items directly from other websites.
    6     * Version: 1.0.1
     6    * Version: 1.1.0
    77    * Author: Zefir Studio
    88    * Author URI: http://www.zefirstudio.pl/
Note: See TracChangeset for help on using the changeset viewer.