Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer
    
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 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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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