• Resolved Arno Welzel

    (@awelzel)


    The current release 2.7 is not published correctly.

    See here:

    https://plugins.svn.www.ads-software.com/letter-avatars/tags/2.7/letter-avatars.php

    <?php
    /*
    Plugin Name: Letter Avatars
    Description: Letter Avatars enable you to use Letters from commenters names instead of generic avatars.
    Version: 2.6.2
    Author: Sibin Grasic
    Author URI: https://sgi.io
    Text Domain: letter-avatars
    */

    However this should be:

    <?php
    /*
    Plugin Name: Letter Avatars
    Description: Letter Avatars enable you to use Letters from commenters names instead of generic avatars.
    Version: 2.7
    Author: Sibin Grasic
    Author URI: https://sgi.io
    Text Domain: letter-avatars
    */

    And there is also a fix missing – see here https://plugins.svn.www.ads-software.com/letter-avatars/tags/2.7/lib/ltrav-frontend.php:

    	public function override_avatar($avatar, $id_or_email, $args)
    	{
    
    		global $comment;
    
    		if ( is_email($id_or_email) ) :

    This should be:

    	public function override_avatar($avatar, $id_or_email, $args)
    	{
    
    		global $comment;
    
    		if ( is_string($id_or_email) && is_email($id_or_email) ) :

    Since updating the tag may not be enough I suggest to publish an updated version 2.7.1 which includes all the fixes for 2.7 and contains the correct version as well.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong version published as 2.7’ is closed to new replies.