Changeset 441400
- Timestamp:
- 09/21/2011 10:20:26 AM (13 years ago)
- Location:
- rename-xml-rpc/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rename-xml-rpc/trunk/readme.txt
r438474 r441400 1 1 === Plugin Name === 2 Contributors: koke, automattic2 Contributors: koke, automattic 3 3 Tags: xmlrpc 4 4 Requires at least: 2.9 5 5 Tested up to: 3.2.1 6 Stable tag: 1. 06 Stable tag: 1. 7 7 8 8 Make XML-RPC work if you rename the file. Some hosts block access to xmlrpc.php file making it impossible to use … … 13 13 14 14 1. Upload `rename-xml-rpc.php` to the `/wp-content/plugins/` directory 15 1. Activate the plugin through the 'Plugins' menu in WordPress 16 1. There is no step 3 15 2. Upgrade the filename of the XML-RPC Endpoint in `rename-xml-rpc.php` (sorry there is not an option page yet!) 16 3. Activate the plugin through the 'Plugins' menu in WordPress 17 4. There is no step 4 18 19 20 == Changelog == 21 22 = 1.1 = 23 Fix the RSD document link by using the renamed filepath -
rename-xml-rpc/trunk/rename-xml-rpc.php
r438474 r441400 5 5 Description: Make XML-RPC work if you rename the file. Some hosts block access to xmlrpc.php file making it impossible to use 6 6 Author: Jorge Bernal 7 Version: 1. 07 Version: 1. 8 8 Author URI: http://koke.me 9 9 */ 10 10 11 12 13 14 15 16 17 18 11 19 function rx_site_url( $url, $path, $orig_scheme, $blog_id ) { 12 if ( XMLRPC_REQUEST&& $path == 'xmlrpc.php' ) {20 if ( && $path == 'xmlrpc.php' ) { 13 21 return preg_replace( '/xmlrpc.php$/', basename( $_SERVER['PHP_SELF'] ), $url ); 14 22 } else {
Note: See TracChangeset
for help on using the changeset viewer.