Skip to content

Releases: UCF/UCF-News-Plugin

v2.2.0

05 May 17:46
Compare
Choose a tag to compare

Enhancements:

  • Added ucf-external-stories shortcode for displaying the "In the News" stories that are listed on the homepage of UCF Today.

v2.1.9

10 Mar 15:05
Compare
Choose a tag to compare

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 and topics params to note that term slugs are expected (not IDs)
  • Updated repo packages; added linter configs; added Github issue templates and CONTRIBUTING doc

v2.1.8

24 Jun 20:32
Compare
Choose a tag to compare
  • Enhancements:
    • Removed usage of create_function() throughout the plugin for improved compatibility with newer versions of PHP.
    • Updated today.ucf.edu references in the plugin to ucf.edu/news/

v2.1.7

13 Jun 18:20
Compare
Choose a tag to compare

Enhancements:

  • Added ability to override the default URL per shortcode, specifically so the main-site-stories feed on /news/ can be used.

v2.1.6

11 Apr 13:53
Compare
Choose a tag to compare

Enhancements:

  • In preparation for a rebuilt UCF Today site, UCF_News_Common::get_story_image_or_fallback() has been modified to prioritize the custom thumbnail feed value when retrieving a story's image. If the thumbnail 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

11 Oct 17:09
Compare
Choose a tag to compare
  • 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.

v2.1.4

24 May 18:06
Compare
Choose a tag to compare
  • Enhancements:
    • Added Github Plugin URI to allow for installation from Github plugin.

v2.1.3

24 May 17:48
Compare
Choose a tag to compare
  • Bug Fixes:
    • Added missing default offset value in UCF_News_Config::$default_options
    • Updated widget markup to respect before_widget and after_widget markup defined in themes
  • Enhancements:
    • Added http_timeout setting to allow for adjustment.

v2.1.2

17 May 17:01
Compare
Choose a tag to compare
  • 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
  • Enhancements:
    • Added conditional WP Shortcode Interface preview styles

v2.1.1

27 Feb 18:31
Compare
Choose a tag to compare
  • Big Fixes:
    • Added activation and deactivation hooks to handle default options.