WordPress.org

Plugin Directory

Changeset 392971


Ignore:
Timestamp:
06/04/11 07:30:31 (3 years ago)
Author:
mfields
Message:

Temporary fix for html template attributes. data-size become size.

Location:
plus-one-button/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plus-one-button/trunk/mfields-plus-one.php

    r392692 r392971  
    44Plugin URI:     http://wordpress.org/extend/plugins/plus-one-button/ 
    55Description:    Add a +1 button to your WordPress powered website. 
    6 Version:        0.1 
     6Version:        0.1.1 
    77Author:         Michael Fields 
    88Author URI:     http://wordpress.mfields.org/ 
     
    252252 
    253253        $atts['xhtml']['size'] = $size; 
     254        $atts['html']['size'] = $size; 
     255        /* 
     256        This should be the correct attribute but does not seem to be working 
     257        at the moment. Revist in the future. 
    254258        $atts['html']['data-size'] = $size; 
     259        */ 
    255260 
    256261        $count = $settings['show_count']; 
     
    265270        This should be the correct attribute but does not seem to be working 
    266271        at the moment. Revist in the future. 
    267         $atts['html']['data-count'] = $settings['show_count']; 
     272        $atts['html']['data-count'] = $count; 
    268273        */ 
    269274 
     
    462467     */ 
    463468    static function message_theme_integration() { 
    464         print sprintf( esc_html__( 'The following settings enable you to automatically add +1 buttons at different places in your theme. To disable automatic theme intgration, just leave these settings unchecked. You will need to use the %1$s action to display the button in your theme.', self::$domain ), '<code>plus-one-button</code>' ); 
     469        print sprintf( esc_html__( 'The following settings enable you to automatically add +1 buttons at different places in your theme. To disable automatic theme intgration, just leave these settings unchecked. You will need to use the %1$s action to display the button in your theme.', self::$domain ), '<code>mfields-plus-one-button</code>' ); 
    465470    } 
    466471 
  • plus-one-button/trunk/readme.txt

    r392692 r392971  
    133133==Changelog== 
    134134 
     135= 0.1.1 = 
     136* HTML attribute fix for "size" - dropping "data-" prefix. 
     137 
    135138= 0.1 = 
    136139* Original Release -> works with WordPress 3.1. 
Note: See TracChangeset for help on using the changeset viewer.