Changeset 953057
- Timestamp:
- 07/22/2014 09:09:36 PM (12 years ago)
- Location:
- wp-portability/trunk
- Files:
-
- 3 edited
-
README.md (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
wp-portability.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-portability/trunk/README.md
r953050 r953057 1 1 # WP-Portability 2 Contributors: frasmage 3 Author: Plank Design Inc. 4 Tags: portability, installation, mobility, url, shortcode, portable, domain-agnostic, relocation 5 Requires at least: 3.1 6 Tested up to: 3.9 7 Stable tag: 1.0 8 License: GPLv2 or later 2 * Contributors: frasmage 3 * Author: Plank Design Inc. 4 * Tags: portability, installation, mobility, url, shortcode, portable, domain-agnostic, relocation 5 * Requires at least: 3.1 6 * Tested up to: 3.9 7 * Stable tag: 1.0 8 * License: GPLv2 or later 9 10 WP-Portability is a plugin designed to quietly make your site more portable. 9 11 10 12 ## Description … … 12 14 ### Summary 13 15 14 WP-Portability is a plugin designed to quietly make your site more portable. It is to designed to facilitate the work that needs to be done when and if a website needs to be moved to another directory or server or if the domain name changes. This plugin does not assist with the actual relocation of the WordPress. Instead, it makes WordPress much less attached and dependant on its install directory and domain name making the process much easier to do.16 WP-Portability is a plugin designed to quietly make your site more portable. It is to designed to facilitate the work that needs to be done to be move a wordpress install to another directory or server or domain name. It makes WordPress much less attached and dependant on its install directory and domain name. 15 17 16 18 Though anyone can make use of WP-Portability, it was designed with developers in mind. It greatly facilitates designing sites locally amongst a team of developers, moving the site to a staging server and finally pushing it live. -
wp-portability/trunk/readme.txt
r953054 r953057 1 1 === WP-Portability === 2 Contributors: frasmage 2 Contributors: frasmage, plankdesign 3 3 Author: Plank Design Inc. 4 4 Tags: portability, installation, mobility, url, shortcode, portable, domain-agnostic, relocation … … 14 14 = Summary = 15 15 16 WP-Portability is a plugin designed to quietly make your site more portable. It is to designed to facilitate the work that needs to be done when and if a website needs to be moved to another directory or server or if the domain name changes. This plugin does not assist with the actual relocation of the WordPress. Instead, it makes WordPress much less attached and dependant on its install directory and domain name making the process much easier to do.16 WP-Portability is a plugin designed to quietly make your site more portable. It is to designed to facilitate the work that needs to be done to be move a wordpress install to another directory or server or domain name. It makes WordPress much less attached and dependant on its install directory and domain name. 17 17 18 18 Though anyone can make use of WP-Portability, it was designed with developers in mind. It greatly facilitates designing sites locally amongst a team of developers, moving the site to a staging server and finally pushing it live. … … 27 27 28 28 == Installation == 29 30 = Installation = 29 31 30 32 1. Make sure you are using WordPress 3.1 or later and that your server is running PHP5 -
wp-portability/trunk/wp-portability.php
r953033 r953057 113 113 $shortcode = LocalURLShortcode::getInstance(); 114 114 $shortcode->autoinsert = $this->settings['url_shortcode_inject']; 115 116 register_activation_hook(__FILE__, array($this, '_flushRewrites')); 115 117 } 116 118 … … 153 155 } 154 156 } 157 155 158 return $input; 156 159 } … … 247 250 } 248 251 252 /** 253 * Hook: Flush rewrite rules 254 */ 255 public function _flushRewrites(){ 256 global $wp_rewrites; 257 $wp_rewrites->flush_rules(true); 258 } 259 249 260 } 250 261
Note: See TracChangeset
for help on using the changeset viewer.