WordPress.org

Support

Support » Plugins and Hacks » Co-Authors Plus » BUG: plugin_dir isn't directing right for loading *.PO files

BUG: plugin_dir isn't directing right for loading *.PO files

  • 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.

  • The topic ‘BUG: plugin_dir isn't directing right for loading *.PO files’ is closed to new replies.
Skip to toolbar