WordPress.org

Ready to get started?Download WordPress

Forums

Conference Schedule
Session admin - date/time fields disappeared (5 posts)

  1. pronews
    Member
    Posted 2 years ago #

    Since upgrading both WordPress to v.3.3 and the Twentyten theme, the date and time fields have disappeared from the Session admin page (both edit and add).

    Explanation and/or fix anyone?

    I have tried reinstalling to no avail.

    http://wordpress.org/extend/plugins/conference-schedule/

  2. pronews
    Member
    Posted 2 years ago #

    For what it's worth, the session date/time admin problem is with WordPress 3.3 -- it works as intended with 3.2

  3. rayfix
    Member
    Posted 2 years ago #

    I am a WordPress newbie, but It appears this problem is due to the way add_meta_box is being done. For version 0.5.2 conference-schedule.php on line 84 there is the line:

    $this->add_meta_box( 'cs_schedule_metabox', __( 'Schedule', $this->name ), 'schedule_metabox', 'session', 'normal', 'core' );

    Take that line and move it to the admin_init function on line 278. Then it will show up again. At least it does for me.

    I think this is related to this issue: http://wpdevel.wordpress.com/2011/12/07/do-not-include-wp-adminincludestemplate-php-to-get-add_meta_box/

  4. pronews
    Member
    Posted 2 years ago #

    Indeed... that fixes the problem.

    Many thanks for taking the time to research and resolve it!

  5. Daniel J. Lewis
    Member
    Posted 2 years ago #

    Thank you for sharing this fix! It worked for me on two different sites.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic