ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

noop.php (1086B)


      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  */
     13 function __() {}
     14 
     15 /**
     16  * @ignore
     17  */
     18 function _x() {}
     19 
     20 /**
     21  * @ignore
     22  */
     23 function add_filter() {}
     24 
     25 /**
     26  * @ignore
     27  */
     28 function esc_attr() {}
     29 
     30 /**
     31  * @ignore
     32  */
     33 function apply_filters() {}
     34 
     35 /**
     36  * @ignore
     37  */
     38 function get_option() {}
     39 
     40 /**
     41  * @ignore
     42  */
     43 function is_lighttpd_before_150() {}
     44 
     45 /**
     46  * @ignore
     47  */
     48 function add_action() {}
     49 
     50 /**
     51  * @ignore
     52  */
     53 function did_action() {}
     54 
     55 /**
     56  * @ignore
     57  */
     58 function do_action_ref_array() {}
     59 
     60 /**
     61  * @ignore
     62  */
     63 function get_bloginfo() {}
     64 
     65 /**
     66  * @ignore
     67  */
     68 function is_admin() {
     69 	return true;}
     70 
     71 /**
     72  * @ignore
     73  */
     74 function site_url() {}
     75 
     76 /**
     77  * @ignore
     78  */
     79 function admin_url() {}
     80 
     81 /**
     82  * @ignore
     83  */
     84 function home_url() {}
     85 
     86 /**
     87  * @ignore
     88  */
     89 function includes_url() {}
     90 
     91 /**
     92  * @ignore
     93  */
     94 function wp_guess_url() {}
     95 
     96 function get_file( $path ) {
     97 
     98 	$path = realpath( $path );
     99 
    100 	if ( ! $path || ! @is_file( $path ) ) {
    101 		return '';
    102 	}
    103 
    104 	return @file_get_contents( $path );
    105 }