You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$validity = newWP_Error( 'invalid_url_metric', __( 'Validity of URL Metric was rejected by filter.', 'optimization-detective' ) );
235
-
}
236
-
if ( ! isset( $validity->error_data['code'] ) ) {
237
-
$validity->error_data['code'] = 400;
238
-
}
239
-
return$validity;
240
-
}
241
-
242
213
// TODO: This should be changed from store_url_metric($slug, $url_metric) instead be update_post( $slug, $group_collection ). As it stands, store_url_metric() is duplicating logic here.
0 commit comments