Removed admin message from user profile pages, closes #7478

This commit is contained in:
Claudio Sanches 2015-02-18 15:06:11 -02:00
parent 5eec1d0b8d
commit 6c7a22b910
1 changed files with 2 additions and 0 deletions

View File

@ -151,8 +151,10 @@ class WC_Admin {
$wc_pages = wc_get_screen_ids();
// Set only wc pages
$wc_pages = array_flip( $wc_pages );
unset( $wc_pages['profile'] );
unset( $wc_pages['user-edit'] );
$wc_pages = array_flip( $wc_pages );
// Add the dashboard pages
$wc_pages[] = 'dashboard_page_wc-about';