WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
BUG: plugin_dir isn't directing right for loading *.PO files (1 post)

  1. asafche
    Member
    Posted 3 years ago #

    line 883 on co-authors-plus.php:
    $plugin_dir = dirname( plugin_basename( __FILE__ ) ) . '/languages/';
    the last backslash is not supposed to be there.

    the fix:
    $plugin_dir = dirname( plugin_basename( __FILE__ ) ) . '/languages';

    and now the plugin is loading the *.po file from the languages directory like it should.

    please fix this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic