Plugin Directory

Changeset 2845158


Ignore:
Timestamp:
01/08/2023 06:02:57 PM (3 years ago)
Author:
codelessthemes
Message:

fixed compatibility with PHP 8.2

Location:
cowidgets-elementor-addons/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cowidgets-elementor-addons/trunk/cowidgets.php

    r2536529 r2845158  
    88 * Text Domain: cowidgets
    99 * Domain Path: /languages
    10  * Version: 1.0.10
     10 * Version: 1.0.11
    1111 *
    1212 * @package         cowidgets
    1313 */
    1414
    15 define( 'COWIDGETS_VER', '1.0.10' );
     15define( 'COWIDGETS_VER', '1.0.11' );
    1616define( 'COWIDGETS_DIR', plugin_dir_path( __FILE__ ) );
    1717define( 'COWIDGETS_URL', plugins_url( '/', __FILE__ ) );
  • cowidgets-elementor-addons/trunk/inc/widgets-manager/widgets/content/partials/post/box.php

    r2527993 r2845158  
    5858                                    $author_name = get_the_author();
    5959
    60                                     $avatar = get_avatar( get_the_author_meta('user_email', $post->post_author) , 32 ) ;
     60                                    $avatar = get_avatar( get_the_author_meta('user_email', get_the_author_meta( 'ID' ) ) , 32 ) ;
    6161                                    $author = '';
    6262
    63                                     if($avatar !== FALSE && !$icon)
     63                                    if($avatar !== FALSE && !isset($icon) )
    6464                                        $author = $avatar;                   
    6565
  • cowidgets-elementor-addons/trunk/readme.txt

    r2536529 r2845158  
    44Requires at least: 4.4
    55Requires PHP: 5.6
    6 Tested up to: 5.7.1
     6Tested up to: 6.1.1
    77Stable tag: 1.0.10
    88License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.