-
Notifications
You must be signed in to change notification settings - Fork 927
Open
Description
- [.] I've read and understood the contribution guidelines.
- [.] I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened.
Users using an Organisation Logo Image from a URL outside the WP uploads folder won't get Organisation schema since it fails in fetching the Attachment ID in https://github.com/Yoast/wordpress-seo/blob/trunk/frontend/schema/class-schema-context.php#L198
In the newer versions, option to add a custom URL is not available. But for users using the URL from previous versions are affected by this issue.
Please describe what you expected to happen and why.
Users using the Logo image from a directory outside WP-Uploads directory should be shown a notice to use an image from WP Media Library.
How can we reproduce this behavior?
- Use Organisation Logo image from any directory outisde WP uploads folder like an image from Theme directory.
- The organisation schema won't show since the Attachment ID will be 0.
Technical info
- WordPress version: All versions
- Yoast SEO version: All versions, but only for users who are using from previous versions
GiuseppeIuculano