WordPress.org

Plugin Directory

Changeset 1733548 for event-post


Ignore:
Timestamp:
09/21/17 09:21:03 (4 weeks ago)
Author:
bastho
Message:

Explicitly get published events. (prevents from displaying drafts over admin/ajax URLs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • event-post/trunk/eventpost.php

    r1733530 r1733548  
    11191119 
    11201120        $arg = array( 
     1121            'post_status' => 'publish', 
    11211122            'post_type' => $post_type, 
    11221123            'posts_per_page' => $nb, 
Note: See TracChangeset for help on using the changeset viewer.