Site scan fail with custom post type #6855
Labels
Bug
Something isn't working
Changelogged
Whether the issue/PR has been added to release notes.
Site Scanning
Milestone
Bug Description
When the user selects only a custom post type to be served by AMP, at the plugin's settings the site scan fails. To reproduce this behavior, I have created a simple custom post type and selected only this CPT to be served by AMP. The result is, the site scan started to fail because wasn't able to find AMP URLs.
Expected Behaviour
If the user selects a specific custom post type, the site scan should be able to point to the new URLs
Screenshots
Selecting Custom post type

Site scan results

Site scan URLs not available

PHP Version
7.4
Plugin Version
2.2
AMP plugin template mode
Reader
WordPress Version
5.8.3
Site Health
No response
Gutenberg Version
No response
OS(s) Affected
Mac
Browser(s) Affected
Chrome
Device(s) Affected
No response
Acceptance Criteria
No response
Implementation Brief
No response
QA Testing Instructions
No response
Demo
No response
Changelog Entry
No response
The text was updated successfully, but these errors were encountered: