Plugin Directory

Changeset 1872544


Ignore:
Timestamp:
05/11/2018 08:15:27 AM (8 years ago)
Author:
colorlibplugins
Message:

Updated to 1.2.3; fixing JetPack checks for CPTs

Location:
shapely-companion/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • shapely-companion/trunk/inc/shapely-widgets.php

    r1871529 r1872544  
    4343    register_widget( 'Shapely_Page_Content' );
    4444
    45     if ( defined( 'JETPACK__VERSION' ) ) {
    46 
    47         if ( post_type_exists( 'jetpack-portfolio' ) ) {
     45    if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'custom-content-types' ) ) {
     46        if ( get_option( 'jetpack_portfolio' ) ) {
    4847            register_widget( 'Shapely_Home_Portfolio' );
    4948        }
    50 
    51         if ( post_type_exists( 'jetpack-testimonial' ) ) {
     49        if ( get_option( 'jetpack_testimonial' ) ) {
    5250            register_widget( 'Shapely_Home_Testimonials' );
    5351        }
  • shapely-companion/trunk/readme.txt

    r1871529 r1872544  
    44Requires at least: 3.8
    55Tested up to: 4.9
    6 Stable tag: trunk
     6Stable tag: 1.2.2
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • shapely-companion/trunk/shapely-companion.php

    r1871529 r1872544  
    44 * Plugin URI:        https://colorlib.com/wp/themes/shapely/
    55 * Description:       Shapely Companion is a companion plugin for Shapely theme.
    6  * Version:           1.2.2
     6 * Version:           1.2.3
    77 * Author:            Colorlib
    88 * Author URI:        https://colorlib.com
     
    1717}
    1818
    19 define( 'SHAPELY_COMPANION', '1.2.1' );
     19define( 'SHAPELY_COMPANION', '1.2.3' );
    2020
    2121/**
Note: See TracChangeset for help on using the changeset viewer.