Skip to content

Commit

Permalink
Disallow amp_validated_url as it is not site content but instead vali…
Browse files Browse the repository at this point in the history
…dation errors for amp mark-up. (#17998)
  • Loading branch information
mdbitz authored Dec 7, 2020
1 parent 5dd4360 commit ab345df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sync/src/class-defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ public static function get_callable_whitelist() {
*/
public static $blacklisted_post_types = array(
'ai_log', // Logger - https://github.com/alleyinteractive/logger.
'amp_validated_url', // AMP Validation Errors.
'ai1ec_event',
'bwg_album',
'bwg_gallery',
Expand Down

0 comments on commit ab345df

Please sign in to comment.