sweep( $_GET['sweep'] ); } } // Database Table Status. $total_posts = WPSweep::get_instance()->total_count( 'posts' ); $total_postmeta = WPSweep::get_instance()->total_count( 'postmeta' ); $total_comments = WPSweep::get_instance()->total_count( 'comments' ); $total_commentmeta = WPSweep::get_instance()->total_count( 'commentmeta' ); $total_users = WPSweep::get_instance()->total_count( 'users' ); $total_usermeta = WPSweep::get_instance()->total_count( 'usermeta' ); $total_term_relationships = WPSweep::get_instance()->total_count( 'term_relationships' ); $total_term_taxonomy = WPSweep::get_instance()->total_count( 'term_taxonomy' ); $total_terms = WPSweep::get_instance()->total_count( 'terms' ); $total_termmeta = WPSweep::get_instance()->total_count( 'termmeta' ); $total_options = WPSweep::get_instance()->total_count( 'options' ); $total_tables = WPSweep::get_instance()->total_count( 'tables' ); // Count. $revisions = WPSweep::get_instance()->count( 'revisions' ); $auto_drafts = WPSweep::get_instance()->count( 'auto_drafts' ); $deleted_posts = WPSweep::get_instance()->count( 'deleted_posts' ); $orphan_postmeta = WPSweep::get_instance()->count( 'orphan_postmeta' ); $duplicated_postmeta = WPSweep::get_instance()->count( 'duplicated_postmeta' ); $oembed_postmeta = WPSweep::get_instance()->count( 'oembed_postmeta' ); $unapproved_comments = WPSweep::get_instance()->count( 'unapproved_comments' ); $spam_comments = WPSweep::get_instance()->count( 'spam_comments' ); $deleted_comments = WPSweep::get_instance()->count( 'deleted_comments' ); $orphan_commentmeta = WPSweep::get_instance()->count( 'orphan_commentmeta' ); $duplicated_commentmeta = WPSweep::get_instance()->count( 'duplicated_commentmeta' ); $orphan_usermeta = WPSweep::get_instance()->count( 'orphan_usermeta' ); $duplicated_usermeta = WPSweep::get_instance()->count( 'duplicated_usermeta' ); $orphan_term_relationships = WPSweep::get_instance()->count( 'orphan_term_relationships' ); $unused_terms = WPSweep::get_instance()->count( 'unused_terms' ); $orphan_termmeta = WPSweep::get_instance()->count( 'orphan_termmeta' ); $duplicated_termmeta = WPSweep::get_instance()->count( 'duplicated_termmeta' ); $transient_options = WPSweep::get_instance()->count( 'transient_options' ); ?>

backup your database first because any sweep done is irreversible.', 'wp-sweep' ), 'https://wordpress.org/plugins/wp-dbmanager/', '_blank' ) ); ?>

limit_details ) ) ); ?>

%1$s Posts and Post Meta.', 'wp-sweep' ), number_format_i18n( $total_posts ), number_format_i18n( $total_postmeta ) ) ); ?>

format_percentage( $revisions, $total_posts ) ); ?>
format_percentage( $auto_drafts, $total_posts ) ); ?>
format_percentage( $deleted_posts, $total_posts ) ); ?>
format_percentage( $orphan_postmeta, $total_postmeta ) ); ?>
format_percentage( $duplicated_postmeta, $total_postmeta ) ); ?>
format_percentage( $oembed_postmeta, $total_postmeta ) ); ?>

 

%1$s Comments and %2$s Comment Meta.', 'wp-sweep' ), number_format_i18n( $total_comments ), number_format_i18n( $total_commentmeta ) ) ); ?>

format_percentage( $unapproved_comments, $total_comments ) ); ?>
format_percentage( $spam_comments, $total_comments ) ); ?>
format_percentage( $deleted_comments, $total_comments ) ); ?>
format_percentage( $orphan_commentmeta, $total_commentmeta ) ); ?>
format_percentage( $duplicated_commentmeta, $total_commentmeta ) ); ?>

 

%1$s Users and %2$s User Meta.', 'wp-sweep' ), number_format_i18n( $total_users ), number_format_i18n( $total_usermeta ) ) ); ?>

format_percentage( $orphan_usermeta, $total_usermeta ) ); ?>
format_percentage( $duplicated_usermeta, $total_usermeta ) ); ?>

 

%1$s Terms, %2$s Term Meta, %3$s Term Taxonomy and %4$s Term Relationships.', 'wp-sweep' ), number_format_i18n( $total_terms ), number_format_i18n( $total_termmeta ), number_format_i18n( $total_term_taxonomy ), number_format_i18n( $total_term_relationships ) ) ); ?>

format_percentage( $orphan_termmeta, $total_termmeta ) ); ?>
format_percentage( $duplicated_termmeta, $total_termmeta ) ); ?>
format_percentage( $orphan_term_relationships, $total_term_relationships ) ); ?>

format_percentage( $unused_terms, $total_terms ) ); ?>

 

%s Options.', 'wp-sweep' ), number_format_i18n( $total_options ) ) ); ?>

format_percentage( $transient_options, $total_options ) ); ?>

 

%s Tables.', 'wp-sweep' ), number_format_i18n( $total_tables ) ) ); ?>