equal
deleted
inserted
replaced
63 function get_bloginfo() {} |
63 function get_bloginfo() {} |
64 |
64 |
65 /** |
65 /** |
66 * @ignore |
66 * @ignore |
67 */ |
67 */ |
68 function is_admin() {return true;} |
68 function is_admin() { |
|
69 return true;} |
69 |
70 |
70 /** |
71 /** |
71 * @ignore |
72 * @ignore |
72 */ |
73 */ |
73 function site_url() {} |
74 function site_url() {} |
91 * @ignore |
92 * @ignore |
92 */ |
93 */ |
93 function wp_guess_url() {} |
94 function wp_guess_url() {} |
94 |
95 |
95 if ( ! function_exists( 'json_encode' ) ) : |
96 if ( ! function_exists( 'json_encode' ) ) : |
96 /** |
97 /** |
97 * @ignore |
98 * @ignore |
98 */ |
99 */ |
99 function json_encode() {} |
100 function json_encode() {} |
100 endif; |
101 endif; |
101 |
102 |
102 function get_file( $path ) { |
103 function get_file( $path ) { |
103 |
104 |
104 if ( function_exists('realpath') ) { |
105 if ( function_exists( 'realpath' ) ) { |
105 $path = realpath( $path ); |
106 $path = realpath( $path ); |
106 } |
107 } |
107 |
108 |
108 if ( ! $path || ! @is_file( $path ) ) { |
109 if ( ! $path || ! @is_file( $path ) ) { |
109 return ''; |
110 return ''; |