cache->enforce((int) $reference_ID, false); // enforce the cache, but don't force it if ($yarpp->debug) { $keywords = $yarpp->cache->get_keywords($reference_ID); $output .= "

body keywords: {$keywords['body']}

"; $output .= "

title keywords: {$keywords['title']}

"; } $output .= '

'.__( 'These are the related entries for this entry. Updating this post may change these related posts.' , 'yarpp').'

'; if ($yarpp->debug) { $output .= "

last updated: ".$wpdb->get_var("select max(date) as updated from {$wpdb->prefix}yarpp_related_cache where reference_ID = '$reference_ID'")."

"; } if (have_posts()) { $output .= ''; $output .= '
    '; while (have_posts()) { the_post(); $output .= "
  1. " . get_the_title() . ""; $output .= ' (' . round(get_the_score(),3) . ')'; $output .= '
  2. '; } $output .= '
'; $output .= '

'.__( 'Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options.' , 'yarpp').'

'; } else { $output .= '

'.__('No related posts.','yarpp').'

'; }