Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1428 from Automattic/fix/validate_queued_posts_on…
…_frontend

Fix passing invalid_url_post into store_validation_errors()
  • Loading branch information
westonruter committed Sep 14, 2018
2 parents a688267 + 5cd5e87 commit 680a0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/validation/class-amp-validation-manager.php
Expand Up @@ -574,7 +574,7 @@ function( $post ) {
$validity['url'],
array_merge(
array(
'invalid_url_post' => $post,
'invalid_url_post' => $invalid_url_post_id,
),
wp_array_slice_assoc( $validity, array( 'queried_object' ) )
)
Expand Down

0 comments on commit 680a0db

Please sign in to comment.