Changeset 1372524
- Timestamp:
- 03/16/2016 06:13:54 PM (10 years ago)
- Location:
- site-import
- Files:
-
- 31 added
- 3 edited
-
tags/1.1.0 (added)
-
tags/1.1.0/admin (added)
-
tags/1.1.0/admin/admin.php (added)
-
tags/1.1.0/admin/ajax.php (added)
-
tags/1.1.0/admin/custom.php (added)
-
tags/1.1.0/admin/data.php (added)
-
tags/1.1.0/admin/home.php (added)
-
tags/1.1.0/admin/import.php (added)
-
tags/1.1.0/admin/items.php (added)
-
tags/1.1.0/admin/link.php (added)
-
tags/1.1.0/admin/media.php (added)
-
tags/1.1.0/admin/page.php (added)
-
tags/1.1.0/admin/preview.php (added)
-
tags/1.1.0/admin/taxonomies.php (added)
-
tags/1.1.0/admin/templates.php (added)
-
tags/1.1.0/admin/variables.php (added)
-
tags/1.1.0/assets (added)
-
tags/1.1.0/assets/screenshot-1.png (added)
-
tags/1.1.0/assets/screenshot-2.png (added)
-
tags/1.1.0/assets/screenshot-3.png (added)
-
tags/1.1.0/assets/screenshot-4.png (added)
-
tags/1.1.0/assets/screenshot-5.png (added)
-
tags/1.1.0/assets/screenshot-6.png (added)
-
tags/1.1.0/assets/screenshot-7.png (added)
-
tags/1.1.0/assets/screenshot-8.png (added)
-
tags/1.1.0/css (added)
-
tags/1.1.0/css/styles.css (added)
-
tags/1.1.0/js (added)
-
tags/1.1.0/js/scripts.js (added)
-
tags/1.1.0/readme.txt (added)
-
tags/1.1.0/site-import.php (added)
-
trunk/admin/page.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/site-import.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
site-import/trunk/admin/page.php
r1219455 r1372524 40 40 } 41 41 42 $purl = parse_url($page); 42 43 $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 } 46 50 echo $content; 47 51 -
site-import/trunk/readme.txt
r1371742 r1372524 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.4.0 7 Stable tag: 1. 0.17 Stable tag: 1.1.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 70 = 1.1.0 = 71 * Security issues fixed 72 70 73 = 1.0.0 = 71 74 * Just released … … 73 76 == Upgrade Notice == 74 77 78 = 1.1.0 = 79 * Security issues fixed 80 75 81 = 1.0.0 = 76 82 Just released -
site-import/trunk/site-import.php
r1278545 r1372524 4 4 * Plugin URI: http://zefirstudio.pl/wp-site-import/ 5 5 * Description: Import posts/items directly from other websites. 6 * Version: 1. 0.16 * Version: 1.1.0 7 7 * Author: Zefir Studio 8 8 * Author URI: http://www.zefirstudio.pl/
Note: See TracChangeset
for help on using the changeset viewer.