Skip to content

Commit

Permalink
travis fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Raiber committed May 11, 2018
1 parent b9012b7 commit f19c56b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions inc/shapely-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,12 @@ function shapely_companion_widgets_init() {
register_widget( 'Shapely_Page_Content' );



if ( class_exists('Jetpack') && Jetpack::is_module_active( 'custom-content-types' ) ) {

if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'custom-content-types' ) ) {
if ( get_option( 'jetpack_portfolio' ) ) {
register_widget( 'Shapely_Home_Portfolio' );
}

if ( get_option( 'jetpack_testimonial' ) ) {
register_widget( 'Shapely_Home_Testimonials' );
}

}
}

0 comments on commit f19c56b

Please sign in to comment.