Plugin Directory

Changeset 2939471


Ignore:
Timestamp:
07/17/2023 01:55:03 PM (3 years ago)
Author:
e-mailit
Message:

Fix single post exclude.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • e-mailit/tags/12.0.3/emailit_widget.php

    r2939450 r2939471  
    262262        $display = false;
    263263
     264    global $wp_query;
     265    $post = $wp_query->post;
    264266    if(isset($post)){
    265267        $custom_fields = get_post_custom($post->ID);
     
    355357    }
    356358
     359    global $wp_query;
     360    $post = $wp_query->post;   
    357361    if(isset($post)){
    358362    $custom_fields = get_post_custom($post->ID);
Note: See TracChangeset for help on using the changeset viewer.