Plugin Directory

Changeset 1222929


Ignore:
Timestamp:
08/17/2015 06:41:15 PM (11 years ago)
Author:
OptimalDevs
Message:
  • Tested with WordPres 4.2.4.
  • Fixed bug related with distorted avatar when using buddyPress.
  • Fixed a few minor bugs.
Location:
sexy-login/tags/2.6
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sexy-login/tags/2.6/inc/class-sexy-login-widget.php

    r697763 r1222929  
    22class Sexy_Login_Widget extends WP_Widget {
    33   
    4     private static $instance;
     4    private $sl_instance;
    55   
    66    function Sexy_Login_Widget() {
     
    1212    function widget( $args, $instance ) {
    1313   
    14         if ( empty( $this->instance ) )
    15             $this->instance = true;
     14        if ( empty( $this->sl_instance ) )
     15            $this->sl_instance = true;
    1616        else
    1717            return;
     
    5454                <?php
    5555                   
    56                 if ( $sl_options['show_avatar'] )   
    57                     echo get_avatar( $current_user->ID, $sl_options['avatar_size'] );
    58                
     56                if ( $sl_options['show_avatar'] ) {
     57                   
     58                    if( function_exists( 'bp_core_fetch_avatar' ) ) {
     59                        echo bp_core_fetch_avatar( array( 'item_id' => $current_user->ID, 'type' => 'full' ) );
     60                    }
     61                    else {
     62                        echo get_avatar( $current_user->ID, $sl_options['avatar_size'] );
     63                    }
     64                   
     65                }
     66
    5967                if ( $sl_options['show_nickname'] )
    6068                    echo '<h1>' . $current_user->nickname . '</h1>';
  • sexy-login/tags/2.6/readme.txt

    r752231 r1222929  
    44Tags: login, register, sexy, ajax, authentication, captcha, sidebar, widget, user, ssl, secury, admin bar, ReCaptcha, cross browser, lost password
    55Requires at least: 3.0
    6 Tested up to: 3.6
    7 Stable tag: 2.5
     6Tested up to: 4.2.4
     7Stable tag: 2.6
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3232* It's responsive!
    3333* Languages: the same of your WordPress! (It’s multi-language). English or spanish in back-end.
    34 
    35 [Try Demo](http://optimaldevs.com/demo/ "Try Sexy Login demo.")
    36 
    37 Note: A new pro version is coming stay tune in http://optimaldevs.com/
    3834
    3935== Installation ==
     
    6662
    6763== Changelog ==
     64
     65= 2.6 =
     66* Tested with WordPres 4.2.4.
     67* Fixed bug related with distorted avatar when using buddyPress.
     68* Fixed a few minor bugs.
    6869
    6970= 2.5 =
  • sexy-login/tags/2.6/sexy-login-init.php

    r752225 r1222929  
    44Plugin URI: http://wordpress.org/extend/plugins/sexy-login/
    55Description: The sexiest login widget for Wordpress!
    6 Version: 2.5
     6Version: 2.6
    77Author: OptimalDevs
    88Author URI: http://optimaldevs.com/
  • sexy-login/tags/2.6/sl-config.php

    r752225 r1222929  
    77define( 'SL_LOGIN_ATTEMPTS_LAPSE', 10 );
    88define( 'SL_LOSTPWD_TIME_LAPSE', 10 );
    9 define( 'SL_VERSION', '2.5' );
     9define( 'SL_VERSION', '2.6' );
    1010define( 'SL_PLUGIN_ROOT_URL', plugin_dir_url( __FILE__ ) );
    1111
Note: See TracChangeset for help on using the changeset viewer.