enable_fulltext(); if($enabled){ update_option('yarpp_fulltext_disabled', 0); echo( '
'. '"Consider Titles" and "Consider Bodies" are currently disabled. '. 'As a result, "Pages" may not display in the "Related Posts" sections.'. ' Show Details [+]'. '
'. ''.
sprintf(
'YARPP's "consider titles" and "consider bodies" relatedness criteria require your %s '.
'table to use the MyISAM engine'.
'fulltext indexing feature. Unfortunately your table seems to be using the %s engine. '.
'Because fulltext indexing is not supported by your current table engine, these two options have been disabled.',
$wpdb->posts,
$table_type
).
'
'.
sprintf(
'To restore these features, please do the following:
'.
'
%s table to MyISAM engine by executing the '.
'following SQL code on your MySQL client or terminal:ALTER TABLE `%s` ENGINE = MyISAM;'.
'%s table has been successfully converted to the MyISAM engine, '.
'click the button below to create the fulltext indices.'.
'Note that, although no data should be lost by altering the table's engine, it is always recommended to perform a '.
'full backup of the data before attempting to perform changes to your database.
'.
'See MySQL storage engines '.
'documentation for details on MySQL engines.'.
'