Os códigos que a mensagem manda verificar são esses:
shortcodes.php
function has_shortcode( $content, $tag ) {
if ( shortcode_exists( $tag ) ) {
preg_match_all( ‘/’ . get_shortcode_regex() . ‘/s’, $content, $matches, PREG_SET_ORDER );
if ( empty( $matches ) )
return false;
foreach ( $matches as $shortcode ) {
if ( $tag === $shortcode[2] )
return true;
}
}
return false;
}
function.php
function has_shortcode( $shortcode = ” ) {
$post_to_check = get_post( get_the_ID() );
$found = false;
if ( !$shortcode ) {
return $found;
}
if ( stripos($post_to_check->post_content, ‘[‘ . $shortcode) !== false ) {
$found = true;
}
return $found;
}
Solicitei suporte, mas ainda não obtive resposta. Enquanto isso o site permanece fora do ar.
Mas obrigado, Allysson. Vou aguardar o suporte e tentar resolver.