Skip to content

Commit

Permalink
Merge pull request #24 from MachoThemes/master
Browse files Browse the repository at this point in the history
v1.2.3
  • Loading branch information
cristianraiber authored May 11, 2018
2 parents 074afbc + 2a19106 commit 2adbb8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions inc/shapely-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ function shapely_companion_widgets_init() {
register_widget( 'Shapely_Page_Title' );
register_widget( 'Shapely_Page_Content' );

if ( defined( 'JETPACK__VERSION' ) ) {

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

if ( post_type_exists( 'jetpack-testimonial' ) ) {
if ( get_option( 'jetpack_testimonial' ) ) {
register_widget( 'Shapely_Home_Testimonials' );
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "shapely-companion",
"main": "Gruntfile.js",
"version": "1.2.2",
"version": "1.2.3",
"homepage": "https://www.colorlib.com",
"author": "Colorlib",
"license": "GPL v3",
Expand Down
4 changes: 2 additions & 2 deletions shapely-companion.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Shapely Companion
* Plugin URI: https://colorlib.com/wp/themes/shapely/
* Description: Shapely Companion is a companion plugin for Shapely theme.
* Version: 1.2.2
* Version: 1.2.3
* Author: Colorlib
* Author URI: https://colorlib.com
* License: GPL-2.0+
Expand All @@ -16,7 +16,7 @@
die;
}

define( 'SHAPELY_COMPANION', '1.2.1' );
define( 'SHAPELY_COMPANION', '1.2.3' );

/**
* Load the Dashboard Widget
Expand Down

0 comments on commit 2adbb8b

Please sign in to comment.