From 9d720e862a09b5ad5f07b73e354e055eee8e14f3 Mon Sep 17 00:00:00 2001 From: Joshua Roy Date: Wed, 9 Sep 2015 20:49:17 -0400 Subject: [PATCH] Add uc-people support --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 659645d..e3d65e8 100644 --- a/functions.php +++ b/functions.php @@ -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' ); ?> \ No newline at end of file