WordPress.org

Forums

Vimeography
[resolved] Conflict with Types and Views front-end filters (7 posts)

  1. robertstaddon
    Member
    Posted 2 years ago #

    This plugin creates problems with the popular Types and Views Toolset (http://wp-types.com/). Evidently, the "wp_terms_checklist" function that Types and Views uses is somehow overridden by this plugin.

    http://wordpress.org/extend/plugins/vimeography/

  2. robertstaddon
    Member
    Posted 2 years ago #

    Somehow the "if(!function_exists('wp_terms_checklist'))" test that Types and Views uses fails once Vimeography is enabled. How is this possible, seeing that Vimeography doesn't seem to define it's own 'wp_terms_checklist' function?

  3. robertstaddon
    Member
    Posted 2 years ago #

    The problem appears to be related to the

    add_action( 'init', array(&$this, 'vimeography_move_folders') );

    line in vimeography.php. When this line is commented out, "if(!function_exists('wp_terms_checklist'))" suddenly starts returning "true".

  4. robertstaddon
    Member
    Posted 2 years ago #

    Digging a little deeper, the problem appears to be related to the "$this->_move_folder" function calls on lines 135 and 136 of vimeography.php in the vimeography_move_folders() function.

  5. robertstaddon
    Member
    Posted 2 years ago #

    OK! The problem appears to be that the

    require_once(ABSPATH . 'wp-admin/includes/upgrade.php')

    command on line 481 of vimeography.php causes the

    if(!function_exists('wp_terms_checklist'))

    command in Types and Views to return false instead of true.

  6. robertstaddon
    Member
    Posted 2 years ago #

    Why does the "wp-admin/includes/upgrade.php" file need to be required on every page load?

    This seems rather inefficient to me and prone to cause problems like the one created with Types and Views.

  7. Dave Kiss
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the detailed report. I'll update this in the next release!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Vimeography
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.