WordPress.org

Support

Support » Plugins and Hacks » WordPress Vimeo videos » Views and likes NULL in wp_postmeta

Views and likes NULL in wp_postmeta

  • Hi,
    Thanks for this plugin, nice job!

    I noticed that “Views” and “Likes” always return “0” after a manual import.
    In includes/libs/custom-post-type.class.php, you get the infos with the following request:
    $video = cvm_format_video_entry( $data[0] )

    But there are no statistics there… so your $video['stats'] array used to insert them in wp_postmeta table is NULL:
    update_post_meta($post_id, '__cvm_video_data' , $video);

    Can’t you get those infos from the import list? Views and likes are OK
    on that page.

    Hope you can fix this, thank you!

    http://wordpress.org/plugins/codeflavors-vimeo-video-post-lite/

  • The topic ‘Views and likes NULL in wp_postmeta’ is closed to new replies.
Skip to toolbar