Merged in feature/MAW-855-import-code-into-aws (pull request #2)
code import from pantheon * code import from pantheon
This commit is contained in:
@@ -115,7 +115,14 @@ function imagify_has_attachments_without_required_metadata() {
|
||||
|
||||
$mime_types = Imagify_DB::get_mime_types();
|
||||
$statuses = Imagify_DB::get_post_statuses();
|
||||
$nodata_join = Imagify_DB::get_required_wp_metadata_join_clause( 'p.ID', false, false );
|
||||
$nodata_join = Imagify_DB::get_required_wp_metadata_join_clause(
|
||||
'p.ID',
|
||||
false,
|
||||
false,
|
||||
"AND p.post_mime_type IN ( $mime_types )
|
||||
AND p.post_type = 'attachment'
|
||||
AND p.post_status IN ( $statuses )"
|
||||
);
|
||||
$nodata_where = Imagify_DB::get_required_wp_metadata_where_clause( array(
|
||||
'matching' => false,
|
||||
'test' => false,
|
||||
|
||||
Reference in New Issue
Block a user