0

After updating to Wordpress 3.2, the show/hide functionality of the event authoring area on "The Events Calendar" is backwards - when the "All Day Event?" checkbox is checked, the time boxes appear. When it is unchecked, the time boxes disappear. This is opposite behavior of what should happen.

I suspect it's a Jquery issue. Has anyone else discovered this issue?

All day event unchecked All day event checked

0

I discovered the answer: The new version of Wordpress using version 1.6 of JQuery. In the file events-meta-box.php, change anywhere where it says:

.attr('checked') == true

to:

.prop("checked", true)

There should be three locations where you fix it.

  • This fix seems to cause the day field to display on the post edit page 4 times. The correct date seems to be included in the post itself. This seems to be a problem (with the fix included) that only manifests on the edit page of the post. Will continue to test the validity of the date handling. – user7018 Jul 14 '11 at 5:38
  • don't type it as a answer.type it in comment section. – Ramkumar M Jul 14 '11 at 5:47
  • Huh? This is the answer! I'll re-word to indicate this is the answer. – GavinR Jul 14 '11 at 14:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.