Make WordPress Core


Ignore:
Timestamp:
04/18/2010 09:51:19 AM (15 years ago)
Author:
dd32
Message:

Fix invalid paths in requires. See r14139. See #12594

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/compat.php

    r14139 r14151  
    130130
    131131        if ( !is_a($wp_json, 'Services_JSON') ) {
    132             require_once( './class-json.php' );
     132            require_once( ABSPATH . WPINC . '/class-json.php' );
    133133            $wp_json = new Services_JSON();
    134134        }
     
    143143
    144144        if ( !is_a($wp_json, 'Services_JSON') ) {
    145             require_once( './class-json.php' );
     145            require_once( ABSPATH . WPINC . '/class-json.php' );
    146146            $wp_json = new Services_JSON();
    147147        }
Note: See TracChangeset for help on using the changeset viewer.