Viewing 2 replies - 1 through 2 (of 2 total)
  • I installed the patched and it′s not working on 3.8: Warning: Missing argument 2 for wpdb::prepare(), called in theme/wp-content/plugins/sponsors-carousel/sponsors-carousel.php on line 239 and defined in theme/wp-includes/wp-db.php on line 992

    Cerveza

    (@cerveza)

    This plug-in is out-to-date but there are several plugin fixes.

    Open up sponsors-coursel.php

    1. First fix: add media button not appearing
    On line 369 you will find the following code:

    echo _media_button(__(‘Add an Image’), ‘images/media-button-image.gif?ver=20100531’, ‘image’,$scwp_plugin_name);

    replace with:

    echo media_buttons(__(‘Add an Image’), ‘images/media-button-image.gif?ver=20100531’, ‘image’,$scwp_plugin_name);

    2. Second fix: common jquery issue (interfering with other jquery plugins within your installation)
    On line 68 you will find the function sponsors_carousel_enqueue_scripts, within this function delete the following code:

    // jquery
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’, ($plugin_url . ‘/jquery-1.4.2.min.js’), false, ‘1.4.2’);
    wp_enqueue_script(‘jquery’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Patch for 3.5.2’ is closed to new replies.