WordPress.org

Ready to get started?Download WordPress

Forums

bbPress
[resolved] Contextual help variables (3 posts)

  1. constantin.boiangiu
    Member
    Posted 2 years ago #

    Contextual help function in files
    bbp-admin/bbp-forums.php,
    bbp-admin/bbp-replies.php and
    bbp-admin/bbp-topics.php

    seem to have variable types declared wrong.

    Variable $contextual_help is declared as array ( in function setup_help() in all 3 files ) and all paragraphs are put into $bbp_contextual_help variable. When iterating $bbp_contextual_help to create the content, paragraphs are added to $contextual_help by string concatenation but the variable is declared as array and this issues a notice ( Array to string conversion ). Not a big deal but it's annoying when working with debug on.

    Also, there's a WP warning on add_contextual_help as being deprecated.

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

  2. John James Jacoby
    BuddyPress/bbPress Lead
    Plugin Author

    Posted 2 years ago #

    This is fixed in the 2.1 version of bbPress, which should ship at the same time as WordPress 3.4.

  3. constantin.boiangiu
    Member
    Posted 2 years ago #

    Good to hear that, thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags