Plugin Directory

Changeset 441400

Timestamp:
09/21/2011 10:20:26 AM (13 years ago)
Author:
daniloercoli
Message:

fixed the RSD document link

Location:
rename-xml-rpc/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rename-xml-rpc/trunk/readme.txt

    r438474 r441400  
    11=== Plugin Name ===
    2 Contributors: koke, automattic
     2Contributors: koke, automattic
    33Tags: xmlrpc
    44Requires at least: 2.9
    55Tested up to: 3.2.1
    6 Stable tag: 1.0
     6Stable tag: 1.
    77
    88Make XML-RPC work if you rename the file. Some hosts block access to xmlrpc.php file making it impossible to use
     
    1313
    14141. 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
     152. Upgrade the filename of the XML-RPC Endpoint in `rename-xml-rpc.php` (sorry there is not an option page yet!)
     163. Activate the plugin through the 'Plugins' menu in WordPress
     174. There is no step 4
     18
     19
     20== Changelog ==
     21
     22= 1.1 =
     23Fix the RSD document link by using the renamed filepath
  • rename-xml-rpc/trunk/rename-xml-rpc.php

    r438474 r441400  
    55Description: Make XML-RPC work if you rename the file. Some hosts block access to xmlrpc.php file making it impossible to use
    66Author: Jorge Bernal
    7 Version: 1.0
     7Version: 1.
    88Author URI: http://koke.me
    99*/
    1010
     11
     12
     13
     14
     15
     16
     17
     18
    1119function rx_site_url( $url, $path, $orig_scheme, $blog_id ) {
    12   if ( XMLRPC_REQUEST  && $path == 'xmlrpc.php' ) {
     20  if (   && $path == 'xmlrpc.php' ) {
    1321    return preg_replace( '/xmlrpc.php$/', basename( $_SERVER['PHP_SELF'] ), $url );
    1422  } else {
Note: See TracChangeset for help on using the changeset viewer.