WordPress.org

Ready to get started?Download WordPress

Forums

bbPress
[resolved] Deprecated function and trailing spaces (3 posts)

  1. Diana
    Expert e diva
    Posted 3 years ago #

    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/

  2. John James Jacoby
    BuddyPress/bbPress Lead
    Plugin Author

    Posted 3 years ago #

    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!

  3. codestyling
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags