Changeset 945137
- Timestamp:
- 07/08/2014 06:30:49 PM (10 years ago)
- Location:
- genesis-featured-content-widget/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
genesis-featured-content-widget/trunk/gs-featured-content-widget.php
r945084 r945137 4 4 * Plugin URI: https://wpsmith.net/ 5 5 * 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.1. 76 * Version: 1.1. 7 7 * Author: Travis Smith 8 8 * Author URI: http://wpsmith.net/ … … 81 81 */ 82 82 function gsfc_widgets_init() { 83 84 85 83 86 $gfwa = genesis_get_option( 'gsfc_gfwa' ); 84 87 if ( class_exists( 'Genesis_Featured_Widget_Amplified' ) && $gfwa ) { -
genesis-featured-content-widget/trunk/readme.txt
r945084 r945137 84 84 85 85 == Changelog == 86 87 88 89 90 86 91 1.1.7 (07/18/2014) 87 92 * Fixed include/exclude issue. #28 … … 89 94 1.1.6 (07/18/2014) 90 95 * Fixed meta_value_numeric to show meta_key input. TY @4WardMotion. 96 91 97 92 98 1.1.2 (01/12/2013) -
genesis-featured-content-widget/trunk/widget.php
r945084 r945137 352 352 $byline = ''; 353 353 if ( !empty( $instance['post_info'] ) ) { 354 $byline = sprintf( '<p class="byline post-info">%s</p>', do_shortcode( esc_html( $instance['post_info'] )) );354 $byline = sprintf( '<p class="byline post-info">%s</p>', do_shortcode( ) ); 355 355 } 356 356 … … 473 473 474 474 //* Custom Link or Permalink 475 $link = $instance['link_title _field'] && genesis_get_custom_field( $instance['link_title_field']) ? genesis_get_custom_field( $instance['link_title_field']) : get_permalink();475 $link = $instance['link_title) : get_permalink(); 476 476 477 477 //* Add Link to Title? … … 537 537 public static function do_post_meta( $instance ) { 538 538 if ( ! empty( $instance['show_archive_line'] ) && ! empty( $instance['post_meta'] ) ) 539 printf( '<p class="post-meta">%s</p>', do_shortcode( esc_html( $instance['post_meta'] )) );539 printf( '<p class="post-meta">%s</p>', do_shortcode( ) ); 540 540 } 541 541 … … 2159 2159 $new_instance['page_id'] = 'page' !== $new_instance['post_type'] ? '' : absint( $new_instance['page_id'] ); 2160 2160 $new_instance['include_exclude'] = 'page' !== $new_instance['post_type'] ? $new_instance['include_exclude'] : ''; 2161 2161 2162 2162 2163 return apply_filters( 'gsfc_update', $new_instance, $old_instance );
Note: See TracChangeset
for help on using the changeset viewer.