Merge pull request #17267 from Umangvaghela/fix-17264

fix 17264 issue
This commit is contained in:
Mike Jolley 2017-10-18 08:25:50 -07:00 committed by GitHub
commit b0c9efbdc2
1 changed files with 3 additions and 1 deletions

View File

@ -276,7 +276,9 @@ class WC_Admin_Setup_Wizard {
*/
public function setup_wizard_content() {
echo '<div class="wc-setup-content">';
call_user_func( $this->steps[ $this->step ]['view'], $this );
if ( ! empty( $this->steps[ $this->step ]['view'] ) ) {
call_user_func( $this->steps[ $this->step ]['view'], $this );
}
echo '</div>';
}