Plugin Directory

Changeset 3066351


Ignore:
Timestamp:
04/07/2024 03:05:27 PM (2 years ago)
Author:
delabon
Message:

tagging version 3.5.1

Location:
woomotiv
Files:
3 edited
7 copied

Legend:

Unmodified
Added
Removed
  • woomotiv/trunk/index.php

    r3052675 r3066351  
    44 * Plugin Name: Woomotiv - Live Sales Notification for Woocommerce
    55 * Description: Laverage social proof to increase trust, traffic and sales.
    6  * Version: 3.5.0
     6 * Version: 3.5.1
    77 * Author: Sabri Taieb
    88 * Author Uri: https://delabon.com
     
    2020
    2121# Defined
    22 define( 'WOOMOTIV_VERSION', '3.5.0' );
     22define( 'WOOMOTIV_VERSION', '3.5.1' );
    2323define( 'WOOMOTIV_URL', plugins_url( '', __FILE__ ) );
    2424define( 'WOOMOTIV_DIR', __DIR__ );
  • woomotiv/trunk/lib/functions.php

    r3052675 r3066351  
    639639        if( $rating['user_id'] != 0 ){
    640640            $usermeta = get_user_meta( $data->user_id );
    641             $rating['user_first_name'] = $usermeta['first_name'][0];
    642             $rating['user_last_name'] = $usermeta['last_name'][0];
     641
     642            if (!empty($usermeta)) {
     643                $rating['user_first_name'] = isset($usermeta['first_name'], $usermeta['first_name'][0]) ? $usermeta['first_name'][0] : '';
     644                $rating['user_last_name'] = isset($usermeta['last_name'], $usermeta['last_name'][0]) ? $usermeta['last_name'][0] : '';
     645            }
    643646        }
    644647       
  • woomotiv/trunk/readme.txt

    r3052675 r3066351  
    33Requires at least: 4.6
    44Tested up to: 6.4.3
    5 Stable tag: 3.5.0
     5Stable tag: 3.5.1
    66Requires PHP: 5.6
    77Tags: woocommerce notification, woocommerce sales notification, woocommerce sales popup, marketing, boost sales, boost conversion
     
    9797== Changelog ==
    9898
     99= 3.5.1 =
     100
     101* Fixes a PHP notice
     102
    99103= 3.5.0 =
    100104
Note: See TracChangeset for help on using the changeset viewer.