Skip to content

Commit

Permalink
Merge pull request #4471 from ampproject/remove/node-type-entry
Browse files Browse the repository at this point in the history
Omit node_type from validation error details
  • Loading branch information
westonruter authored Mar 30, 2020
2 parents 3ab85f7 + 743c93c commit 6403789
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,7 @@ public static function render_single_url_error_details( $validation_error, $term
if ( in_array( $key, [ 'code', 'type', 'css_property_value', 'mandatory_anyof_attrs', 'meta_property_value', 'meta_property_required_value', 'mandatory_oneof_attrs' ], true ) ) {
continue; // Handled above.
}
if ( in_array( $key, [ 'spec_name', 'tag_spec', 'spec_names' ], true ) ) {
if ( in_array( $key, [ 'spec_name', 'tag_spec', 'spec_names', 'node_type' ], true ) ) {
continue;
}
?>
Expand Down

0 comments on commit 6403789

Please sign in to comment.