Releases: OpenPublicMedia/npr-cds-wordpress
Releases · OpenPublicMedia/npr-cds-wordpress
Support for multiple service IDs
What's Changed
- "Org ID" renamed to "Service ID" in various places to try to better reflect the guidance from NPR
- Service IDs in
settings.php
can now be a comma-separated list, if all posts will be co-owned - Added
npr_cds_push_service_ids_filter
so ownership can be modified on an ad-hoc basis, if needed - Laying groundwork for potential WP-JSON endpoint
- Fixed a bug where the service ID was not being set properly on uploaded articles
- Minor formatting and bug fixes
- check for optional audio enclosure rels before using by @areynold in #22
Full Changelog: v1.2.11...v1.3.1
npr_has_layout postmeta back compat
What's Changed
- Populate the
npr_has_layout
postmeta field for backwards compat with … by @tamw-wnet in #20 - Fixed a potential fatal error in
NPR_CDS_WP
when passing promo card rels
Full Changelog: v1.2.10...v1.2.11
Fix for missing audio profiles
- Fixed a bug where audio files were getting attached to stories without the proper profiles, leading to push errors
Full Changelog: v1.2.9...v1.2.10
Show Messages Only in Admin, Promo Card Skip
V1.2.9
npr_cds_show_message()
only echoes in admin dashboard- Promo cards without valid
webPages
array are ignored
Full Changelog: v1.2.8.1...v1.2.9
Error Logging Bug Fix
- Fixed error logging bug which was causing blank errors on failed uploads
Full Changelog: v1.2.8...v1.2.8.1
Deactivation, Reactivation, and Documentation Updates
- Changed the activation function to fully remove all of the old NPR Story API options after migrating them
- Changed the deactivation function to save all of the previous settings into a site option and delete the individual options
- Added functions to allow for restoring settings from a previous install or deleting those stored settings
- Updated a bunch of stray references to the old Story API
- Documentation updates
Full Changelog: v1.2.7...v1.2.8
How to Ignore Non-Syndicated Articles
NPR_CDS_WP
has been updated to block/ignore stories and assets that have been marked as restricted in the CDS (meaning they are not eligible for syndication)
Full Changelog: v1.2.5...v1.2.7
Update to profileId handling
profileIds
can now be sent toNPR_CDS_WP
as a comma-separated string (OR), or as multiple entries (AND)- Fixed a bug in
NPR_CDS_WP
where$this->request->params
was not being properly populated
Full Changelog: v1.2.4...v1.2.6
Featured Image Bug Fixes
V1.2.5
- Updated the
NPR_CDS_WP->get_image_url()
function to handle image URLs from NPR's new CDN - Fixed an issue where featured images were not downloading properly on imported NPR articles because a proper filename was not being provided
- When generating the article layout, if not using feature images, imported articles will have the primary image at the top of the layout (if one exists)
- NPR frequently inserts the primary image as the first asset in the layout, while Grove stations typically don't. I don't know if this is intended or not, but this is an attempt to normalize the output across the board
- Thanks to Iris Vandenham at Flower Web Design for bringing these issues to our attention
Full Changelog: v1.2.4...v1.2.5
A Bevy of Bug Fixes
What's Changed
- fix for fatal when audio is malformed by @tamw-wnet in #14
- fix for broken Update link in stories column by @tamw-wnet in #15
- fix insert of null teasers by @tamw-wnet in #18
New Contributors
- @tamw-wnet made their first contribution in #14
Full Changelog: v1.2.3...v1.2.4