在浏览 Wordpress 核心时,我遇到了一个名为的文件noop.php
,其中包含一堆空函数。
/* Noop functions for load-scripts.php and load-styles.php */
/**
* @ignore
*/
function home_url() {}
/**
* @ignore
*/
function includes_url() {}
...
这些功能背后的逻辑是什么?
为什么 Wordpress 的管理部分需要它们?
谢谢你。