Question about Customizing Labels, Messages etc
-
I am running a WP 3.5.1 MU site with latest BP as the main site.
I have edited my language file, generated the mo, etc.The steps however, include adding the following code into wp-content/plugins/bp-custom.php which does not exist, I’m guessing because it’s an MU site.
The code is;
define( ‘BPLANG’, ‘mysite’ );
if ( file_exists( BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ );
}Since I had nowhere to put it, I put it in my networked Snippets plugin and that worked fine. However, my question is, is this safe, is this ok, are there any problems down the road? Should I create the bp-custom.php file and put it somewhere instead?
Thanks.
- The topic ‘Question about Customizing Labels, Messages etc’ is closed to new replies.