Plugin Directory

Changeset 1101729


Ignore:
Timestamp:
02/28/2015 07:10:19 AM (11 years ago)
Author:
captaintheme
Message:

1.0.10

Location:
recipe-hero
Files:
253 added
8 edited

Legend:

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

    r1071116 r1101729  
    66* **Requires at least:** 3.8.0
    77* **Tested up to:** 4.1.0
    8 * **Stable tag:** 1.0.9
     8* **Stable tag:** 1.0.10
    99* **License:** GPLv2 or later
    1010* **License URI:** http://www.gnu.org/licenses/gpl-2.0.html
     
    136136## Changelog
    137137
     138= 1.0.10 =
     139* Add 'scoop' ingredient amount
     140* Finally (hopefully) fixed a bug with fractions for amounts
     141
    138142= 1.0.9 =
    139143* Conflict with WooCommerce + Permalinks - #bryceisstupid
  • recipe-hero/trunk/README.txt

    r1071116 r1101729  
    55Requires at least: 3.8.0
    66Tested up to: 4.1.0
    7 Stable tag: 1.0.9
     7Stable tag: 1.0.10
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    135135== Changelog ==
    136136
     137= 1.0.10 =
     138* Add 'scoop' ingredient amount
     139* Finally (hopefully) fixed a bug with fractions for amounts
     140
    137141= 1.0.9 =
    138142* Conflict with WooCommerce + Permalinks - #bryceisstupid
  • recipe-hero/trunk/assets/frontend/css/recipe-hero.css

    r1061027 r1101729  
    345345          min-width: 20%;
    346346          display: inline-block;
    347           font-weight: bold; }
     347          font-weight: bold;
     348          float: none; }
    348349        .recipe-hero article.recipe .recipe-single-ingredients ul.ingredients-list li.ingredients-item .name {
    349350          text-align: left;
  • recipe-hero/trunk/assets/frontend/css/recipe-hero.scss

    r1061027 r1101729  
    337337                        display: inline-block;
    338338                        font-weight: bold;
     339                        float: none;
    339340                    }
    340341                    .name {
  • recipe-hero/trunk/includes/rh-fields.php

    r1051511 r1101729  
    88 * @link      http://captaintheme.com
    99 * @copyright 2014 Captain Theme
    10  * @since     1.0.7
     10 * @since     1.0.10
    1111 */
    1212
     
    167167                            'slice'  => __( 'Slices', 'recipe-hero' ),
    168168                            'piece'  => __( 'Pieces', 'recipe-hero' ),
     169                            'scoop'  => __( 'Scoops', 'recipe-hero' ),
    169170                            'blank'  => __( 'Blank Amount', 'recipe-hero' ),
    170171                            'none'   => __( 'None (No Quantity)', 'recipe-hero' ),
  • recipe-hero/trunk/includes/templates-parts/rh-templates-single-functions.php

    r1043378 r1101729  
    292292 * @package   Recipe Hero
    293293 * @author    Captain Theme <[email protected]>
    294  * @since     1.0.1
     294 * @since     1.0.10
    295295 */
    296296
     
    301301        switch ( $ingredient_amount_pre ) {
    302302            case 'gm':
    303                 $ingredient_amount = sprintf( _n( '1 Gram', '%s Grams', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     303                $ingredient_amount = sprintf( _n( '%s Gram', '%s Grams', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    304304                break;
    305305            case 'oz':
    306                 $ingredient_amount = sprintf( _n( '1 Ounce', '%s Ounces', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     306                $ingredient_amount = sprintf( _n( '%s Ounce', '%s Ounces', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    307307                break;
    308308            case 'ml':
    309                 $ingredient_amount = sprintf( _n( '1 Millilitre', '%s Millilitres', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     309                $ingredient_amount = sprintf( _n( '%s Millilitre', '%s Millilitres', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    310310                break;
    311311            case 'ts':
    312                 $ingredient_amount = sprintf( _n( '1 Teaspoon', '%s Teaspoons', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     312                $ingredient_amount = sprintf( _n( '%s Teaspoon', '%s Teaspoons', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    313313                break;
    314314            case 'tas':
    315                 $ingredient_amount = sprintf( _n( '1 Tablespoon', '%s Tablespoons', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     315                $ingredient_amount = sprintf( _n( '%s Tablespoon', '%s Tablespoons', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    316316                break;
    317317            case 'cup':
    318                 $ingredient_amount = sprintf( _n( '1 Cup', '%s Cups', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     318                $ingredient_amount = sprintf( _n( '%s Cup', '%s Cups', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    319319                break;
    320320            case 'lt':
    321                 $ingredient_amount = sprintf( _n( '1 Liter', '%s Liters', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     321                $ingredient_amount = sprintf( _n( '%s Liter', '%s Liters', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    322322                break;
    323323            case 'lb':
    324                 $ingredient_amount = sprintf( _n( '1 Pound', '%s Pounds', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     324                $ingredient_amount = sprintf( _n( '%s Pound', '%s Pounds', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    325325                break;
    326326            case 'kg':
    327                 $ingredient_amount = sprintf( _n( '1 Kilogram', '%s Kilograms', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     327                $ingredient_amount = sprintf( _n( '%s Kilogram', '%s Kilograms', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    328328                break;
    329329            case 'slice':
    330                 $ingredient_amount = sprintf( _n( '1 Slice', '%s Slices', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     330                $ingredient_amount = sprintf( _n( '%s Slice', '%s Slices', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    331331                break;
    332332            case 'piece':
    333                 $ingredient_amount = sprintf( _n( '1 Piece', '%s Pieces', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     333                $ingredient_amount = sprintf( _n( '%s Piece', '%s Pieces', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     334                break;
     335            case 'scoop':
     336                $ingredient_amount = sprintf( _n( '%s Scoop', '%s Scoops', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
    334337                break;
    335338            case 'blank':
     
    340343                break;
    341344            default :
    342                 $ingredient_amount = '';
     345                $ingredient_amount = $ingredient_quantity . ' ' . $ingredient_amount_pre;
    343346                break;
    344347        }
  • recipe-hero/trunk/recipe-hero.php

    r1071116 r1101729  
    1212 * Plugin URI:        http://recipehero.in/
    1313 * Description:       The last recipe plugin you'll ever need.
    14  * Version:           1.0.9
     14 * Version:           1.0.10
    1515 * Author:            Bryce Adams
    1616 * Author URI:        http://bryce.se/
     
    3636 *
    3737 * @class RecipeHero
    38  * @version 1.0.9
     38 * @version 1.0.10
    3939 */
    4040
     
    4444     * Plugin version, used for cache-busting of style and script file references.
    4545     *
    46      * @since   1.0.9
     46     * @since   1.0.10
    4747     *
    4848     * @var     string
    4949     */
    50     public static $version = '1.0.9';
     50    public static $version = '1.0.10';
    5151
    5252    /**
Note: See TracChangeset for help on using the changeset viewer.