[Plugin: bbPress] Contextual help variables
-
Contextual help function in files
bbp-admin/bbp-forums.php,
bbp-admin/bbp-replies.php and
bbp-admin/bbp-topics.phpseem 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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: bbPress] Contextual help variables’ is closed to new replies.