Closed adekbadek closed 5 months ago
:tada: This PR is included in version 1.89.0-epic-ras-acc.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This PR is included in version 1.89.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This PR is included in version 1.89.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
All Submissions:
Changes proposed in this Pull Request:
As seen on a live site,
wp_get_attachment_metadata
may returnfalse
. If it's not handled, a PHP Warning will be logged. This PR adds handling of afalse
return value fromwp_get_attachment_metadata
, and refactors code for readability.How to test the changes in this Pull Request:
Set a featured image on a post or page, observe it behaves as expected.
Other information: