Releases: UCF/UCF-News-Plugin
Releases · UCF/UCF-News-Plugin
v2.2.0
v2.1.9
Enhancements:
- Added functions for retrieving a news story's primary category (section) and tag (topic)
- Updated the "modern" news list layout to display the story's primary category (section), if available
- Added plugin version number to enqueued plugin assets for cache-busting purposes
- WordPress Shortcode Interface integration improvements:
- Added missing
offset
param to WP SCIF shortcode registration - Fixed descriptions for
sections
andtopics
params to note that term slugs are expected (not IDs)
- Added missing
- Updated repo packages; added linter configs; added Github issue templates and CONTRIBUTING doc
v2.1.8
v2.1.7
v2.1.6
Enhancements:
- In preparation for a rebuilt UCF Today site,
UCF_News_Common::get_story_image_or_fallback()
has been modified to prioritize the customthumbnail
feed value when retrieving a story's image. If thethumbnail
value isn't present in the feed, WordPress's standard media details will be referenced, like before, and the "medium" thumbnail size is returned instead. - Updated
.ucf-news-thumbnail-image
class to force thumbnails to span the full width of their parent container (in case a very small thumbnail is returned for some reason).
v2.1.5
- Enhancements:
- Removed duplicate hard-coded default feed url values throughout the plugin
- Bug Fixes:
- Updated default
ucf_news_feed_url
option value to exclude "/posts/", so this url works out-of-the-box - Fixed handling of invalid feed results in provided news layouts: layouts now avoid accessing non-existent object properties when feed results return
false
.
- Updated default
v2.1.4
v2.1.3
v2.1.2
- Bug Fixes:
- Added some hardening to
UCF_News_Common::get_story_image_or_fallback()
to account for stories that may have an invalid$featured_media
object/broken thumbnails - Fixed typo in plugin deactivation function name
- Fixed WP Shortcode Interface registration
- Added some hardening to
- Enhancements:
- Added conditional WP Shortcode Interface preview styles