Plugin Directory

Changeset 3268025


Ignore:
Timestamp:
04/07/2025 04:50:19 PM (12 months ago)
Author:
wpdever
Message:

fix undefined item_id

Location:
wp-notification-bell/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-notification-bell/trunk/includes/shortcode.php

    r3209428 r3268025  
    9595        $seen_woocommerce = get_user_meta( $current_user_id, 'wnbell_seen_woocommerce_ids', true );
    9696        $seen_notifications = apply_filters( 'wnbell_seen_data', array(), $current_user_id );
     97        $item_id = '';
     98        $item_class = 'wnbell_notification_item';
    9799        if ( count( $data ) > 0 ) {
    98100            $output .= '<div class="wnbell_header" id="wnbell_header">';
     
    148150                    }
    149151                }
    150                 $item_id = '';
    151                 $item_class = 'wnbell_notification_item';
    152152                if ( $seen_posts && in_array( $single_notification_id, $seen_posts ) ) {
    153153                    if ( isset( $options['item_seen_class_attribute'] ) && $options['item_seen_class_attribute'] != '' ) {
  • wp-notification-bell/trunk/includes/visitor_shortcode.php

    r3209428 r3268025  
    112112        // $current_user_id = get_current_user_id();
    113113        $header = ( isset( $options['header'] ) ? $options['header'] : '' );
     114        $item_id = '';
     115        $item_class = 'wnbell_notification_item';
    114116        if ( count( $data ) > 0 ) {
    115117            $output .= '<div class="wnbell_header" id="wnbell_header">';
  • wp-notification-bell/trunk/readme.txt

    r3240310 r3268025  
    44Requires at least: 4.0
    55Tested up to: 6.7
    6 Stable tag: 1.4.4
     6Stable tag: 1.4.5
    77Requires PHP: 5.6
    88License: GPLv2 or later
  • wp-notification-bell/trunk/wp-notification-bell.php

    r3240310 r3268025  
    55 * Plugin URI: https://wpsimpleplugins.wordpress.com/documentation/
    66 * Description: On-site notification system.
    7  * Version: 1.4.4
     7 * Version: 1.4.5
    88 * Author: SPlugins
    99 * Author URI: https://wpsimpleplugins.wordpress.com/documentation/
Note: See TracChangeset for help on using the changeset viewer.