WordPress.org

Ready to get started?Download WordPress

Forums

Polldaddy Polls & Ratings
[resolved] wp_title() missing arguments (9 posts)

  1. The plugin uses wp_title(), specifying only the first argument. In WP core, it specifies 3 arguments. Plugins such as BuddyPress that filter wp_title expect 3 arguments, because that's how it is used in core. We occasionally see people reporting this problem on the BuddyPress.org forums, and most times it is caused by Polldaddy.

    Patch on pastebin http://pastebin.com/nsmwSxZ4, and just adds empty strings for the missing two arguments, so it won't cause any regressions in the Polldaddy plugin.

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

  2. Eoin Gallagher
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Paul. Thanks for the patch, it will be included in next plugin version.

  3. chitaranjan.thoudam
    Member
    Posted 2 years ago #

    @Paul,
    I am using buddypress and got the below error with this plugin. I am looking for a solution but I am not sure how can I fix this. Can you please explain little more about the patch.

    Warning: Missing argument 2 for bp_modify_page_title() in /home/egfschoo/public_html/alumni/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 270

    Warning: Missing argument 3 for bp_modify_page_title() in /home/egfschoo/public_html/alumni/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 270

  4. chitaranjan.thoudam
    Member
    Posted 2 years ago #

    Any one, please help...

  5. chitaranjan.thoudam
    Member
    Posted 2 years ago #

    I just remove the wp_title() from the advance setting section and issue resolved..

  6. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    It's fixed in the dev version and I'll be releasing a new version in the next hour.

  7. Dane Morgan
    Member
    Posted 1 year ago #

    I'm getting this error four months later on a site the last dev dropped... any hints on a starting point?

  8. Dane Morgan
    Member
    Posted 1 year ago #

  9. Eoin Gallagher
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, this was removed accidentally.

    I have updated 2.0.15 to include the fix outlined in http://pastebin.com/nsmwSxZ4

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags