Issue 2: In default permalink uses XHTML invalid JavaScript code
Project Member Reported by livibet...@gmail.com, Nov 2, 2007
Which project?

OTD WP

Report source:
Hi Yu-Jie Lin,

I'm using Wordpress for years and recently found your OnThisDay plugin.
It is great! Thank you!

But I am a XHTML valid code maniac, so pls find here a short fix for the
latest version of your plugin that it generate valid XHTML code:

In the OTDAddJS() function (row 249) just fix the ampersands in URLs ;-)

The line:

$datePermstruct = '/?year=%year%&monthnum=%monthnum%&day=%day%';

should become:

$datePermstruct = '/?year=%year%&monthnum=%monthnum%&day=%day%';


I fixed it for myself but it will be great and easy for me and other
users if the mainstream code is OK!

Once again - congratulations for the great plugin!!
Nov 2, 2007
Project Member #1 livibet...@gmail.com
(No comment was entered for this change.)
Status: Fixed
Labels: Milestone-Release0.6.1