Plugin Directory

Changeset 1047295


Ignore:
Timestamp:
12/17/2014 05:34:54 PM (11 years ago)
Author:
captaintheme
Message:

1.0.6

Location:
recipe-hero
Files:
246 added
3 edited

Legend:

Unmodified
Added
Removed
  • recipe-hero/trunk/README.txt

    r1046936 r1047295  
    55Requires at least: 3.8.0
    66Tested up to: 4.1.0
    7 Stable tag: 1.0.5
     7Stable tag: 1.0.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    135135== Changelog ==
    136136
     137= 1.0.6 =
     138* Bug Fix: More query errors - should be fixed (sorry!)
     139
    137140= 1.0.5 =
    138141* Bug Fix: Add lightbox gallery class to featured image regardless of gallery
  • recipe-hero/trunk/includes/class-rh-query.php

    r1044462 r1047295  
    88 * @link      http://captaintheme.com
    99 * @copyright 2014 Captain Theme
    10  * @since     1.0.4
     10 * @since     1.0.6
    1111 */
    1212
     
    6868        }
    6969
    70         $current_id = array_key_exists( 'queried_object', $q ) && array_key_exists( 'ID', $q->queried_object ) ? $q->queried_object->ID : false;
     70        if ( is_array( $q ) ) {
     71            $current_id = array_key_exists( 'queried_object', $q ) && array_key_exists( 'ID', $q->queried_object ) ? $q->queried_object->ID : '';
     72        } else {
     73            $current_id = '';
     74        }     
    7175
    7276        // Fix for verbose page rules
    73         //if ( $GLOBALS['wp_rewrite']->use_verbose_page_rules && isset( $q->queried_object_id ) && $q->queried_object_id === $recipe_page ) {
    7477        if ( $current_id == $recipe_page ) {
    7578            $q->set( 'post_type', 'recipe' );
  • recipe-hero/trunk/recipe-hero.php

    r1046936 r1047295  
    1212 * Plugin URI:        http://recipehero.in/
    1313 * Description:       The last recipe plugin you'll ever need.
    14  * Version:           1.0.5
     14 * Version:           1.0.6
    1515 * Author:            Bryce Adams
    1616 * Author URI:        http://bryce.se/
     
    3737 *
    3838 * @class RecipeHero
    39  * @version 1.0.5
     39 * @version 1.0.6
    4040 */
    4141
     
    4545     * Plugin version, used for cache-busting of style and script file references.
    4646     *
    47      * @since   1.0.5
     47     * @since   1.0.6
    4848     *
    4949     * @var     string
    5050     */
    51     public static $version = '1.0.5';
     51    public static $version = '1.0.6';
    5252
    5353    /**
Note: See TracChangeset for help on using the changeset viewer.