Hab es notdürftig gefixt in dem ich das hier:
function has_shortcode( $shortcode = '' ) {
if ( ! is_404() ) {
global $post;
// false because we have to search through the post content first
$found = false;
// if no short code was provided, return false
if ( !$shortcode ) {
return $found;
}
if ( is_object( $post ) && stripos( $post->post_content, '[' . $shortcode ) !== false ) {
// we have found the short code
$found = true;
}
// return our final results
return $found;
}
}
aus der functions.php vom theme auskommentiert habe.
Könnt ihr mir sagen was hier falsch ist, bzw warum sich das mit der 3.6er Version beisst ... hatte den Fehler noch nie