WordPress.org

Forums

WP Facebook Open Graph protocol
Notice: get_the_excerpt() (1 post)

  1. Dartanjan
    Member
    Posted 2 years ago #

    At line 132 of wp-facebook-ogp.php, get_the_excerpt() is called with an argument which is deprecated as of WP version 2.3.

    $wpfbogp_description = strip_tags( get_the_excerpt( $post->ID ) );

    Since the tag must be in The Loop, post ID is not required.
    The code triggers a Notice, so please patch this.

    Thanks!

    http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Facebook Open Graph protocol
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic