Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Prevent showing postmeta cleanup msg when postmeta cleanup is disable…
Browse files Browse the repository at this point in the history
…d from code
  • Loading branch information
ruhanirabin committed Jun 18, 2016
1 parent cd0abfb commit a2f36b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wp-optimize-common.php
Original file line number Diff line number Diff line change
Expand Up @@ -794,10 +794,11 @@ function wpo_getInfo($cleanupType){
$sql .= ';';
$postmeta = $wpdb->get_var( $sql );

if(!$postmeta == 0 || !$postmeta == NULL){
/* if(!$postmeta == 0 || !$postmeta == NULL){
$message .= '     '.sprintf(_n('%d orphaned postmeta in your database', '%d orphaned postmeta in your database', $postmeta, 'wp-optimize'), number_format_i18n($postmeta));
}
else $message .='     '.__('No orphaned postmeta in your database', 'wp-optimize');
*/
break;

case "tags":
Expand Down

0 comments on commit a2f36b6

Please sign in to comment.