Title: [Plugin: bbPress] Deprecated function and trailing spaces
Last modified: August 20, 2016

---

# [Plugin: bbPress] Deprecated function and trailing spaces

 *  Resolved [Diana K. Cury](https://wordpress.org/support/users/dianakc/)
 * (@dianakc)
 * [15 years ago](https://wordpress.org/support/topic/plugin-bbpress-deprecated-function-and-trailing-spaces/)
 * Tried to localize bbPress today, got this message from Codestyling plugin:
 * Using `load_textdomain` instead of `load_plugin_textdomain`.
 * Also trailing Spaces at:
    `bbp-includes/bbp-general-functions.php 402 and 433`
 * `bbp-includes/bbp-general-functions.php 403 and 434`
 * Looking forward for this new bbPress!
 * [http://wordpress.org/extend/plugins/bbpress/](http://wordpress.org/extend/plugins/bbpress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John James Jacoby](https://wordpress.org/support/users/johnjamesjacoby/)
 * (@johnjamesjacoby)
 * [15 years ago](https://wordpress.org/support/topic/plugin-bbpress-deprecated-function-and-trailing-spaces/#post-2097317)
 * The trailing spaces will be fixed in Beta 2.
 * It using load_textdomain instead of load_plugin_textdomain should be a non-issue.
 * Thanks for reporting!
 *  [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-bbpress-deprecated-function-and-trailing-spaces/#post-2097413)
 * I wouldn’t name this a non issue for different load functions, cause each of 
   them fires different hooks and filters. So if I want to re-direct all plugin 
   translations to load their files from a dedicated folder supported by a plugin
   sets this filter, the bbPress plugin is out of scope because it can’t be detected
   by its load filter as plugin. I have to know it by textdomain and have to code
   an extra detection because it can’t be assumed as plugin while only using ordinary
   load method.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: bbPress] Deprecated function and trailing spaces’ is closed 
to new replies.

 * ![](https://ps.w.org/bbpress/assets/icon.svg?rev=978290)
 * [bbPress](https://wordpress.org/plugins/bbpress/)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [codestyling](https://wordpress.org/support/users/codestyling/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-bbpress-deprecated-function-and-trailing-spaces/#post-2097413)
 * Status: resolved