]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-admin/includes/noop.php
Wordpress 4.6-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / noop.php
1 <?php
2
3 /**
4  * @ignore
5  */
6 function __() {}
7
8 /**
9  * @ignore
10  */
11 function _x() {}
12
13 /**
14  * @ignore
15  */
16 function add_filter() {}
17
18 /**
19  * @ignore
20  */
21 function esc_attr() {}
22
23 /**
24  * @ignore
25  */
26 function apply_filters() {}
27
28 /**
29  * @ignore
30  */
31 function get_option() {}
32
33 /**
34  * @ignore
35  */
36 function is_lighttpd_before_150() {}
37
38 /**
39  * @ignore
40  */
41 function add_action() {}
42
43 /**
44  * @ignore
45  */
46 function did_action() {}
47
48 /**
49  * @ignore
50  */
51 function do_action_ref_array() {}
52
53 /**
54  * @ignore
55  */
56 function get_bloginfo() {}
57
58 /**
59  * @ignore
60  */
61 function is_admin() {return true;}
62
63 /**
64  * @ignore
65  */
66 function site_url() {}
67
68 /**
69  * @ignore
70  */
71 function admin_url() {}
72
73 /**
74  * @ignore
75  */
76 function home_url() {}
77
78 /**
79  * @ignore
80  */
81 function includes_url() {}
82
83 /**
84  * @ignore
85  */
86 function wp_guess_url() {}
87
88 if ( ! function_exists( 'json_encode' ) ) :
89 /**
90  * @ignore
91  */
92 function json_encode() {}
93 endif;
94
95 function get_file( $path ) {
96
97         if ( function_exists('realpath') ) {
98                 $path = realpath( $path );
99         }
100
101         if ( ! $path || ! @is_file( $path ) ) {
102                 return '';
103         }
104
105         return @file_get_contents( $path );
106 }