Plugin Directory

Changeset 1777693

Timestamp:
11/29/2017 01:18:53 PM (7 years ago)
Author:
wpsmith
Message:

Fix genesis check props electricbrick, braddalton; fix empty link props marcochiesi

Location:
genesis-featured-content-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • genesis-featured-content-widget/trunk/gs-featured-content-widget.php

    r1777683 r1777693  
    11<?php
    22/**
    3  * Plugin Name: Genesis Featured Content Widget
     3 * Plugin Name: Genesis Featured Content Widget
    44 * Plugin URI: https://wpsmith.net/
    55 * Description: Based on the Genesis Featured Widget Amplified for additional functionality which allows support for custom post types, taxonomies, and extends the flexibility of the widget via action hooks to allow the elements to be re-positioned or other elements to be added.
    6  * Version: 1.2.5
    7  * Author: Travis Smith, Marcel Bootsman
     6 * Version: 1.2.
     7 * Author: Travis Smith
    88 * Author URI: http://wpsmith.net/
    99 *
     
    1818 
    1919/**
    20  * Genesis Featured Post Widget
     20 * Genesis Featured Post Widget
    2121 *
    22  * @category   Genesis_Featured_Content
     22 * @category   Genesis_Featured_Content
    2323 * @package    Widgets
    2424 * @author     Travis Smith
    2525 * @license    http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
    2626 * @link       http://wpsmith.net/
    27  */
    2827
    2928/** Exit if accessed directly */
     
    3130
    3231define( 'GSFC_PLUGIN_NAME', basename( dirname( __FILE__ ) ) );
    33 define( 'GSFC_PLUGIN_VERSION', '1.2.5' );
     32define( 'GSFC_PLUGIN_VERSION', '1.2.' );
    3433
    3534/** Load textdomain for translation */
     
    8382        return;
    8483    }
     84
     85
     86
    8587    $gfwa = genesis_get_option( 'gsfc_gfwa' );
    8688    if ( class_exists( 'Genesis_Featured_Widget_Amplified' ) && $gfwa ) {
  • genesis-featured-content-widget/trunk/widget.php

    r1777681 r1777693  
    405405            ) );
    406406       
    407         $image = $instance['link_image'] == 1 ? sprintf( '<a href="%s" title="%s" class="%s">%s</a>', $link, the_title_attribute( 'echo=0' ), $align, $image ) : $image;
     407        $image = $instance['link_image'] == 1 ? sprintf( '<a href="%s" title="%s" class="%s">%s</a>', $link, the_title_attribute( 'echo=0' ), $align, $image ) : $image;
    408408       
    409409        GS_Featured_Content::maybe_echo( $instance, 'gsfc_before_post_content', 'image_position', 'before-title', $image );
Note: See TracChangeset for help on using the changeset viewer.