#1993·typecho

Typecho 1.3 主题 functions.php 钩子失效及修复

作者: Astrsource创建于 2026年7月16日更新于 2026年7月17日
标签bug

The core reason is that in the Typecho 1.3.0 version, the __get() property introduces result caching, and the hook registration in functions.php is performed later than singleHandle. When the hook is first triggered, it does not exist, and the original text that has not been replaced is cached, and the cache is always skipped when it is read later.

内容来源: typecho/typecho