Skip to content

Commit

Permalink
Merge pull request boonebgorges#4 from mahype/master
Browse files Browse the repository at this point in the history
Changed path to CSS; switched to load_plugin_textdomain()
  • Loading branch information
boonebgorges committed Jan 24, 2012
2 parents 63047e8 + 52def4c commit b0c502c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bp-groupblog-cssjs.php
Expand Up @@ -7,7 +7,7 @@ function bp_groupblog_add_admin_js() {
wp_enqueue_script( 'bp-groupblog-admin-js', WP_PLUGIN_URL . '/bp-groupblog/inc/js/admin.js' );
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-tabs');
wp_enqueue_script('effects.core', WP_PLUGIN_URL .'/inc/js/effects.core.js', array('jquery-ui-core'));
wp_enqueue_script('effects.core', WP_PLUGIN_URL . '/bp-groupblog/inc/js/effects.core.js', array('jquery-ui-core') );
}
add_action( 'admin_enqueue_scripts', 'bp_groupblog_add_admin_js', 1 );

Expand Down
2 changes: 1 addition & 1 deletion bp-groupblog.php
Expand Up @@ -72,7 +72,7 @@ function bp_groupblog_includes() {
* Add language support.
*/
if ( file_exists( WP_PLUGIN_DIR . '/bp-groupblog/languages/groupblog-' . get_locale() . '.mo' ) )
load_textdomain( 'groupblog', WP_PLUGIN_DIR . '/bp-groupblog/languages/groupblog-' . get_locale() . '.mo' );
load_plugin_textdomain( 'groupblog', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );

/**
* bp_groupblog_setup_globals()
Expand Down

0 comments on commit b0c502c

Please sign in to comment.