WordPress.org

Plugin Directory

Changeset 605278


Ignore:
Timestamp:
09/28/12 15:31:34 (19 months ago)
Author:
wonderboymusic
Message:

removes the 2nd rewrite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • atom-publishing-protocol/trunk/atom-publishing-protocol.php

    r597582 r605278  
    108108    function rewrite( $rules ) { 
    109109        $rewrites = $rules; 
    110         unset( $rewrites['.*wp-app\.php$'] ); 
     110        unset( $rewrites['.*wp-app\.php$'], $rewrites['.*wp-app\.php/?(.+)?$'] ); 
    111111         
    112112        return $rewrites; 
     
    114114} 
    115115AtomPublishingProtocol::get_instance(); 
     116 
     117/** 
     118 * Writes logging info to a file. 
     119 * 
     120 * @since WP 2.2.0 
     121 * @deprecated WP 3.4.0 
     122 * @deprecated Use error_log() 
     123 * @link http://www.php.net/manual/en/function.error-log.php 
     124 * 
     125 * @param string $label Type of logging 
     126 * @param string $msg Information describing logging reason. 
     127 */ 
     128if ( ! function_exists( 'log_app' ) ) { 
     129    function log_app( $label, $msg ) { 
     130        _deprecated_function( __FUNCTION__, '3.4', 'error_log()' ); 
     131        if ( ! empty( $GLOBALS['app_logging'] ) ) 
     132            error_log( $label . ' - ' . $msg ); 
     133    } 
     134} 
Note: See TracChangeset for help on using the changeset viewer.