Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Add uc-people support
Browse files Browse the repository at this point in the history
  • Loading branch information
jmr06005 committed Sep 10, 2015
1 parent a0e3c1b commit 9d720e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ function remove_core_widgets() {
}
add_action( 'widgets_init', 'remove_core_widgets' );

function show_people(){
function cornerstone_show_people(){
if ( !is_plugin_active('uc-people/uc-people.php') ) {
activate_plugin('uc-people/uc-people.php');
}
};
add_action( 'after_switch_theme', 'show_people' );
add_action( 'admin_init', 'cornerstone_show_people' );

?>

0 comments on commit 9d720e8

Please sign in to comment.