Danke für den Tip
Folgenden Code soll ich aufgrund meiner Recherche verändern:
in wp-includes/classes.php near line 664 replace:
----------------------------------------------------------------------------
------------------------
if (mysql2date('U', $this->posts[0]->post_date_gmt) > mysql2date('U', $now))
{ //it's future dated
$this->is_preview = true;
if (!current_user_can('edit_post', $this->posts[0]->ID)) {
$this->posts = array ( );
}
}
----------------------------------------------------------------------------
mit:
----------------------------------------------------------------------------
if (mysql2date('U', $this->posts[0]->post_date_gmt) > mysql2date('U', $now))
{ //it's future dated
$this->is_preview = true;
/* DIRTY FUTURE-POSTS HACK FOR EC3 */
$ec3wp20hack_ec3cat = get_option('ec3_event_category');
$ec3wp20hack_postid = $this->posts[0]->ID;
$ec3wp20hack_postcat = $wpdb->get_var("SELECT category_id FROM
`wp_post2cat` WHERE post_id = $ec3wp20hack_postid");
if ((isset($ec3wp20hack_ec3cat)) AND ($ec3wp20hack_ec3cat !=
$ec3wp20hack_postcat)) {
$this->posts = array();
}
/* DIRTY FUTURE-POSTS HACK FOR EC3 */
}
----------------------------------------------------------------------------
aber da fehlt doch sicherlich noch das plug in, das ich importieren sollte, oder?
Wo finde ich das?
Gruß
jub