开发者 | petersplugins |
---|---|
更新时间 | 2020年8月2日 17:12 |
PHP版本: | 5.4 及以上 |
WordPress版本: | 5.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
As long as your plugin uses the WordPress function human_time_diff() this plugin will work.
This plugin makes use of the translations coming with WordPress used for the human_time_diff() function. So there's no extra translation.
You don't have to care about. The plugin sends a reference time to the browser which is considered on calculating the time difference.
That's what this plugin originally was made for! All human readable time differences are updated immediately when a page is loaded. Visitors will see only the proper value.
Yes, also posts loaded by Ajax are processed.
No, the refreshs are done locally.
All human readable time differences are updated once immediately on page load to show the proper value for cached pages. After that the values are refreshed once a minute as long as the time difference is less than 2 days.