Skip to content

Commit

Permalink
Merge pull request ampproject#7651 from ampproject/fix/deprecation-wa…
Browse files Browse the repository at this point in the history
…rning

Fix deprecation warning on AMP validation post edit screen
  • Loading branch information
westonruter authored Nov 1, 2023
2 parents c831a3e + 68745e4 commit 1a0c049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/validation/class-amp-validated-url-post-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public static function register() {
'not_found' => __( 'No validated URLs found', 'amp' ),
'not_found_in_trash' => __( 'No forgotten validated URLs', 'amp' ),
'search_items' => __( 'Search validated URLs', 'amp' ),
'edit_item' => '', // Overwritten in JS, so this prevents the page header from appearing and changing.
'edit_item' => ' ', // Overwritten in JS, so this prevents the page header from appearing and changing.
],
'supports' => false,
'public' => false,
Expand Down

0 comments on commit 1a0c049

Please sign in to comment.