WordPress.org

Plugin Directory

Changeset 1807368


Ignore:
Timestamp:
01/22/18 20:10:21 (4 weeks ago)
Author:
tw2113
Message:

release version 1.3.2

Location:
untappd-checkins-widget
Files:
23 added
8 edited

Legend:

Unmodified
Added
Removed
  • untappd-checkins-widget/trunk/languages/untappd-checkins-widget.pot

    r1730813 r1807368  
    33msgstr "" 
    44"Project-Id-Version: Untappd User Stream widget\n" 
    5 "POT-Creation-Date: 2017-09-15 22:02-0500\n" 
     5"POT-Creation-Date: 2018-01-22 13:57-0600\n" 
    66"PO-Revision-Date: 2015-03-08 23:41-0600\n" 
    77"Last-Translator: Michael Beckwith <michael.d.beckwith@gmail.com>\n" 
     
    1111"Content-Type: text/plain; charset=UTF-8\n" 
    1212"Content-Transfer-Encoding: 8bit\n" 
    13 "X-Generator: Poedit 2.0.3\n" 
     13"X-Generator: Poedit 2.0.4\n" 
    1414"X-Poedit-Basepath: ..\n" 
    1515"X-Poedit-SourceCharset: UTF-8\n" 
     
    115115msgstr "" 
    116116 
    117 #: widgets/brewery_checkins.php:242 widgets/user_badge.php:205 
     117#: widgets/brewery_checkins.php:243 widgets/user_badge.php:205 
    118118#: widgets/user_checkins.php:224 widgets/user_profile.php:327 
    119 #: widgets/venue_checkins.php:241 
     119#: widgets/venue_checkins.php:242 
    120120msgid "Nothing to display yet" 
    121121msgstr "" 
    122122 
    123 #: widgets/brewery_checkins.php:268 widgets/venue_checkins.php:267 
     123#: widgets/brewery_checkins.php:269 widgets/venue_checkins.php:268 
    124124#, php-format 
    125125msgid "%s had a %s %s on %s %s" 
    126126msgstr "" 
    127127 
    128 #: widgets/brewery_checkins.php:273 widgets/user_checkins.php:253 
    129 #: widgets/venue_checkins.php:272 
     128#: widgets/brewery_checkins.php:274 widgets/user_checkins.php:253 
     129#: widgets/venue_checkins.php:273 
    130130#, php-format 
    131131msgid "%sDetails%s" 
    132132msgstr "" 
    133133 
    134 #: widgets/brewery_checkins.php:274 widgets/user_checkins.php:254 
    135 #: widgets/venue_checkins.php:273 
     134#: widgets/brewery_checkins.php:275 widgets/user_checkins.php:254 
     135#: widgets/venue_checkins.php:274 
    136136msgid "View checkin details on Untappd's website" 
    137137msgstr "" 
    138138 
    139 #: widgets/brewery_checkins.php:295 widgets/venue_checkins.php:294 
     139#: widgets/brewery_checkins.php:296 widgets/venue_checkins.php:295 
    140140#, php-format 
    141141msgid "by %s" 
    142142msgstr "" 
    143143 
    144 #: widgets/brewery_checkins.php:299 widgets/venue_checkins.php:298 
     144#: widgets/brewery_checkins.php:300 widgets/venue_checkins.php:299 
    145145#, php-format 
    146146msgid "at %s" 
    147147msgstr "" 
    148148 
    149 #: widgets/brewery_checkins.php:351 widgets/user_badge.php:322 
     149#: widgets/brewery_checkins.php:352 widgets/user_badge.php:322 
    150150#: widgets/user_checkins.php:312 widgets/user_profile.php:453 
    151 #: widgets/venue_checkins.php:350 
     151#: widgets/venue_checkins.php:351 
    152152#, php-format 
    153153msgid "Admin-only error: %s" 
  • untappd-checkins-widget/trunk/readme.txt

    r1731046 r1807368  
    33Tags: untappd, widgets, beer, social drinking 
    44Requires at least: 3.5 
    5 Tested up to: 4.8.1 
    6 Stable tag: 1.3.1 
     5Tested up to: 4.9.2 
     6Stable tag: 1.3.2 
    77Requires PHP: 5.3 
    88License: WTFPL 
     
    4040 
    4141== Changelog == 
     42 
     43= 1.3.2 - 2018-01-22 = 
     44* Updated: Changed default transient name values to include username/venue/brewery information. This allows for multiple instances of each widget type. 
    4245 
    4346= 1.3.1 = 
  • untappd-checkins-widget/trunk/untappdwidget.php

    r1731046 r1807368  
    1111 * Plugin URI: http://michaelbox.net/ 
    1212 * Description: Displays recent Untappd checkins for a provided user. 
    13  * Version: 1.3.1 
     13 * Version: 1.3.2 
    1414 * Author: Michael Beckwith 
    1515 * Author URI: http://michaelbox.net 
  • untappd-checkins-widget/trunk/widgets/brewery_checkins.php

    r1730813 r1807368  
    134134        $instance['limit']        = trim( strip_tags( $new_instance['limit'] ) ); 
    135135 
    136         delete_transient( apply_filters( 'untappd_checkins_brewery_filter', 'untappd_brewery_checkins' ) ); 
     136        delete_transient( apply_filters( 'untappd_checkins_brewery_filter', 'untappd_brewery_checkins_' . $instance['brewery'] ) ); 
    137137 
    138138        return $instance; 
     
    196196             * 
    197197             * @since 1.2.0 
     198             * @since 1.3.2 Moved filter to dynamic to allow multiple streams. 
    198199             * 
    199200             * @param string $value Transient name. 
    200201             */ 
    201             $transient  = apply_filters( 'untappd_checkins_brewery_filter', 'untappd_brewery_checkins' ); 
     202            $transient  = apply_filters( 'untappd_checkins_brewery_filter', 'untappd_brewery_checkins_' . $brewery ); 
    202203            $trans_args = array( 
    203204                'transient_name'     => $transient, 
  • untappd-checkins-widget/trunk/widgets/user_badge.php

    r1731046 r1807368  
    117117        $instance['clientSecret'] = trim( strip_tags( $new_instance['clientSecret'] ) ); 
    118118 
    119         delete_transient( apply_filters( 'untappd_badge_filter', 'untappd_user_badge' ) ); 
     119        delete_transient( apply_filters( 'untappd_badge_filter', 'untappd_user_badge_' . $instance['username'] ) ); 
    120120 
    121121        return $instance; 
     
    172172        // Lets grab and display some data! 
    173173        if ( false === $error ) { 
    174             $transient  = apply_filters( 'untappd_badge_filter', 'untappd_user_badge' ); 
     174            $transient  = apply_filters( 'untappd_badge_filter', 'untappd_user_badge_' . $username ); 
    175175            $trans_args = array( 
    176176                'transient_name'     => $transient, 
  • untappd-checkins-widget/trunk/widgets/user_checkins.php

    r1730813 r1807368  
    131131        $instance['limit']        = trim( strip_tags( $new_instance['limit'] ) ); 
    132132 
    133         delete_transient( apply_filters( 'untappd_checkins_filter', 'untappd_checkins' ) ); 
     133        delete_transient( apply_filters( 'untappd_checkins_filter', 'untappd_checkins_' . $instance['username'] ) ); 
    134134 
    135135        return $instance; 
     
    189189        // Lets grab and display some data! 
    190190        if ( false === $error ) { 
    191             $transient  = apply_filters( 'untappd_checkins_filter', 'untappd_checkins' ); 
     191            $transient  = apply_filters( 'untappd_checkins_filter', 'untappd_checkins_' . $username ); 
    192192            $trans_args = array( 
    193193                'transient_name'     => $transient, 
  • untappd-checkins-widget/trunk/widgets/user_profile.php

    r1731046 r1807368  
    217217        $instance['clientSecret']       = trim( strip_tags( $new_instance['clientSecret'] ) ); 
    218218 
    219         delete_transient( apply_filters( 'untappd_profile_filter', 'untappd_user_profile' ) ); 
     219        delete_transient( apply_filters( 'untappd_profile_filter', 'untappd_user_profile_' . $instance['username'] ) ); 
    220220 
    221221        return $instance; 
     
    290290        // Lets grab and display some data! 
    291291        if ( false === $error ) { 
    292             $transient  = apply_filters( 'untappd_profile_filter', 'untappd_user_profile' ); 
     292            $transient  = apply_filters( 'untappd_profile_filter', 'untappd_user_profile_' . $username ); 
    293293            $trans_args = array( 
    294294                'transient_name'     => $transient, 
  • untappd-checkins-widget/trunk/widgets/venue_checkins.php

    r1730813 r1807368  
    133133        $instance['limit']        = trim( strip_tags( $new_instance['limit'] ) ); 
    134134 
    135         delete_transient( apply_filters( 'untappd_checkins_venue_filter', 'untappd_venue_checkins' ) ); 
     135        delete_transient( apply_filters( 'untappd_checkins_venue_filter', 'untappd_venue_checkins_' . $instance['venue'] ) ); 
    136136 
    137137        return $instance; 
     
    195195             * 
    196196             * @since 1.3.0 
     197             * @since 1.3.2 Moved filter to dynamic to allow multiple streams. 
    197198             * 
    198199             * @param string $value Transient name. 
    199200             */ 
    200             $transient  = apply_filters( 'untappd_checkins_venue_filter', 'untappd_venue_checkins' ); 
     201            $transient  = apply_filters( 'untappd_checkins_venue_filter', 'untappd_venue_checkins_' . $venue ); 
    201202            $trans_args = array( 
    202203                'transient_name'     => $transient, 
Note: See TracChangeset for help on using the changeset viewer.