25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

noop.php 1.1 KiB

3 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?php
  2. /**
  3. * @ignore
  4. */
  5. function __() {}
  6. /**
  7. * @ignore
  8. */
  9. function _x() {}
  10. /**
  11. * @ignore
  12. */
  13. function add_filter() {}
  14. /**
  15. * @ignore
  16. */
  17. function esc_attr() {}
  18. /**
  19. * @ignore
  20. */
  21. function apply_filters() {}
  22. /**
  23. * @ignore
  24. */
  25. function get_option() {}
  26. /**
  27. * @ignore
  28. */
  29. function is_lighttpd_before_150() {}
  30. /**
  31. * @ignore
  32. */
  33. function add_action() {}
  34. /**
  35. * @ignore
  36. */
  37. function did_action() {}
  38. /**
  39. * @ignore
  40. */
  41. function do_action_ref_array() {}
  42. /**
  43. * @ignore
  44. */
  45. function get_bloginfo() {}
  46. /**
  47. * @ignore
  48. */
  49. function is_admin() {return true;}
  50. /**
  51. * @ignore
  52. */
  53. function site_url() {}
  54. /**
  55. * @ignore
  56. */
  57. function admin_url() {}
  58. /**
  59. * @ignore
  60. */
  61. function home_url() {}
  62. /**
  63. * @ignore
  64. */
  65. function includes_url() {}
  66. /**
  67. * @ignore
  68. */
  69. function wp_guess_url() {}
  70. if ( ! function_exists( 'json_encode' ) ) :
  71. /**
  72. * @ignore
  73. */
  74. function json_encode() {}
  75. endif;
  76. function get_file( $path ) {
  77. if ( function_exists('realpath') ) {
  78. $path = realpath( $path );
  79. }
  80. if ( ! $path || ! @is_file( $path ) ) {
  81. return '';
  82. }
  83. return @file_get_contents( $path );
  84. }