1<?php
2/**
3 * Noop functions for load-scripts.php and load-styles.php.
4 *
5 * @package WordPress
6 * @subpackage Administration
7 * @since 4.4.0
8 */
9
10/**
11 * @ignore
12 */
13function __() {}
14
15/**
16 * @ignore
17 */
18function _x() {}
19
20/**
21 * @ignore
22 */
23function add_filter() {}
24
25/**
26 * @ignore
27 */
28function has_filter() {
29 return false;
30}
31
32/**
33 * @ignore
34 */
35function esc_attr() {}
36
37/**
38 * @ignore
39 */
40function apply_filters() {}
41
42/**
43 * @ignore
44 */
45function get_option() {}
46
47/**
48 * @ignore
49 */
50function is_lighttpd_before_150() {}
51
52/**
53 * @ignore
54 */
55function add_action() {}
56
57/**
58 * @ignore
59 */
60function did_action() {}
61
62/**
63 * @ignore
64 */
65function do_action_ref_array() {}
66
67/**
68 * @ignore
69 */
70function get_bloginfo() {}
71
72/**
73 * @ignore
74 */
75function is_admin() {
76 return true;
77}
78
79/**
80 * @ignore
81 */
82function site_url() {}
83
84/**
85 * @ignore
86 */
87function admin_url() {}
88
89/**
90 * @ignore
91 */
92function home_url() {}
93
94/**
95 * @ignore
96 */
97function includes_url() {}
98
99/**
100 * @ignore
101 */
102function wp_guess_url() {}
103
104function get_file( $path ) {
105
106 $path = realpath( $path );
107
108 if ( ! $path || ! @is_file( $path ) ) {
109 return '';
110 }
111
112 return @file_get_contents( $path );
113}
114