Linux 软件免费装

Y2K Bug Simulator

开发者 James Luberda
更新时间 2018年8月4日 14:01
PHP版本: 3.8.1 及以上
WordPress版本: 4.9.8
版权: GPLv2 or later
版权网址: 版权信息

标签

entertainment bugs y2k millenium

下载

详情介绍:

The Y2K Bug Simulator partially mimics one of the potential y2k failures that could (and did) affect some systems after December 31, 1999. The specific failure it mimics is one which typically occurred in systems where years were represented using two digits rather than four. Thus, in an affected system, the day after December 31, 1999 might be rendered as January 1, 1900 (in this scenario, only the last two digits of the year roll over, the first two are hard-coded as "19"). The bug that this plugin mimics was certainly not the only y2k bug, nor, arguably, a terribly significant one. It is, however, perhaps the most aesthetically interesting. The effect of this plugin on WordPress is to change 20xx dates into 19xx dates across page titles, posts, and comments, as well as archives and calendars. Some things to note:

安装:

  1. Upload jbl-y2k.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

屏幕截图:

  • Screenshot demonstrating the effects of the plugin when activated. Note the changes to the page title, the post date, and the dates listed under "Recent Posts."

常见问题:

Why would I ever use this?

Well, it may be that I am too easily amused, but I find it mildly entertaining to see a site's content labeled as pre-dating the internet. It is also amusing to turn the plugin on just as a significant date/time passes (such as a change in DST), and leverage the general uncertainty most people have about computers, dates, and time. Also, nostalgia for the y2k end-of-the-world scare.

Will it work with insert_theme_name_here?

As noted above, the plugin will operate on almost all requests for date-related data that utilize core WordPress functions to do so. If you have code that utilizes dates that do not pass through core WordPress date display functions, you will not see changes in the output of that code.

Will it work with insert_plugin_name_here?

See above re: themes.

更新日志:

1.3 1.2 1.1 1.0