WordPress.org

Plugin Directory

Changeset 1572393 for add-to-any


Ignore:
Timestamp:
01/11/2017 10:48:35 AM (17 months ago)
Author:
micropat
Message:

1.7.6

Location:
add-to-any/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • add-to-any/trunk/README.txt

    r1572269 r1572393  
    44Requires at least: 3.7
    55Tested up to: 4.7
    6 Stable tag: 1.7.5
     6Stable tag: 1.7.6
    77
    88Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
     
    334334
    335335== Changelog ==
     336
     337= 1.7.6 =
     338* Skip background colors on AMP for [out-of-date PHP versions](https://secure.php.net/eol.php) below PHP 5.3
    336339
    337340= 1.7.5 =
  • add-to-any/trunk/add-to-any.php

    r1572269 r1572393  
    44Plugin URI: https://www.addtoany.com/
    55Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more.
    6 Version: 1.7.5
     6Version: 1.7.6
    77Author: AddToAny
    88Author URI: https://www.addtoany.com/
     
    352352    $ind_html .= $html_container_close;
    353353   
    354     if ( $is_amp ) {
     354    if ( $is_amp && version_compare( PHP_VERSION, '5.3.0', '>=' ) ) {
    355355        add_action( 'amp_post_template_css', function( $amp_template ) use ( $amp_css ) { echo $amp_css; } );   
    356356    }
     
    484484    $button_html .= $html_wrap_close . $html_container_close;
    485485   
    486     if ( $is_amp ) {
     486    if ( $is_amp && version_compare( PHP_VERSION, '5.3.0', '>=' ) ) {
    487487        add_action( 'amp_post_template_css', function( $amp_template ) use ( $amp_css ) { echo $amp_css; } );   
    488488    }
Note: See TracChangeset for help on using the changeset viewer.