WordPress.org

Ready to get started?Download WordPress

Forums

WP Facebook Open Graph protocol
suggestion: get_the_title to the_title_attribute (2 posts)

  1. jmiloj
    Member
    Posted 1 year ago #

    I changed line 122 from

    $wpfbogp_title = get_the_title();
    to
    $wpfbogp_title = the_title_attribute('echo=0');

    to clean the title of html tags for use in an attribute

    Does this change make sense for others, as well?

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

  2. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    goin to test it w/ that. thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.