Avoid "Attachment missing" output if attachment omitted
-
If a custom type “photo” of type chooser is created, but it is not set, and template includes
{_photo before="" after="" size="thumbnail"}
WP functionwp_get_attachment_link
returns “Attachment missing”, which is displayed by MCM. I expect no output, if a choser field is not set.Here a suggestion how it could be fixed: https://github.com/wp-plugins/my-content-management/pull/2/files
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Avoid "Attachment missing" output if attachment omitted’ is closed to new replies.