Skip to content

@benlk benlk released this Jul 17, 2019

Largo 0.6.4

This release brings improved compatibility with the WordPress Block Editor. The Pull Quote block gains full styling, so that block quotes and pull quotes no longer appear the same. Media credits are now output on Image blocks.

The Largo Series Posts Widget gains more options for the display of images.

Largo gains support for the wp_body_open hook, introduced in WordPress 5.2.

This release also contains a number of bug fixes and minor updates.

For information on how to upgrade your own Largo-using website, see our newly-updated documentation for upgrading Largo. If you're a Largo user, we encourage you to say hi, either by email to labs@inn.org or via our handy-dandy contact form.

Particular thanks go to outside contributor @megabulk.

Developer-facing improvements

Fixes and minor improvements

  • Updates largo_home_single_top function to get homepage_feature_term and top_story_term values from slug instead of by name. If these prominence names were updated to anything else, homepage_feature_term and top_story_term would be false and fallback to __('Homepage Featured', 'largo'). Pull request #1709 for issue #1445.
  • Removes separator <span> on search results page; puts the search result url on a new line instead of next to the date. Also adds a overflow-wrap: breakword; style to the search-result URL to make sure it doesn't overflow the result container. Pull request #1710 for issue #1509.
  • Fixes a ReferenceError in navigation menu JavaScript. Pull request #1715 for issue #1714.
  • Fixes an undefined variable error in certain edge cases of the site og:description and description meta tags. Pull request #1724 for issue #1721.
  • Co-Authors Plus profile field descriptions no longer contain escaped HTML. Pull request #1726 for issue #1720.
  • Added box-sizing: border-box; style attribute to figcaption and .wp-caption-text elements to prevent caption text from overflowing from the parent container. Also modified Gutenberg block image caption styling to be consistent with the classic image caption styling when the image is expanded into a lightbox. Pull request #1711 for issue #1702.
  • Fixes multiple Undefined variable: post errors in homepage/templates/top-stories.php. Pull request #1728 for issue #1723.
  • Fixes an issue where the widget title wasn't displaying in the Largo Image Widget, due to trying to use the $title variable which was removed when we stopped using extract in pull request #1565. Pull request #1736 for issue #1717.
  • Added support for wp_body_open hook below opening body tag. Pull request #1735 for issue #1698.
  • Added font-display: block to fontello font family. Pull request #1742 for issue #1686.
  • Replaced image settings in the Largo Series Posts widget to mirror the image settings in the Largo Recent Posts widget. Pull request #1734 for issue #1727.
  • Adds a temporary shim to fix left/right aligned images not being correctly aligned with paragraphs. Pull request #1747 for issue #1731.
  • Fixed an issue where the Largo specific media credit caption and url was not being output in Gutenberg image blocks. Pull request #1733 for issue #1683.
  • Updated pull quote block styles so they can be easily differentiated from regular block quote blocks. Pull request #1746 for issue #1699.
  • Fixed an issue where clicking on an image in an open slideshow modal resulted in the image having a different width once the modal was closed. Pull request #1743 for issue #1700.
  • Fixed an issue where setting the sticky navigation to show at the top of the page didn't output the expected result. Pull request #1662 for issue #1660.

Upgrade notices

Since 0.6.3:

  • If your site has replaced or modified Largo's navigation.js, you may want to reassess that in light of the changes made in #1623 and #1715.

If you are upgrading from a version of Largo before 0.6.3, you should check prior versions' release notes.

Assets 2

@benlk benlk released this Apr 25, 2019

Largo 0.6.3

A short release this time around, but one that we thought needed to be released.

If you haven't already, please read the version 0.6.2 release notes.

Fixes

Assets 2

@benlk benlk released this Apr 24, 2019

Largo 0.6.2

This release brings improved compatibility with the WordPress Block Editor. The CSS class names type-pull-quote, alignleft, alignright, aligncenter and half provided by Largo's "Module Wrapper" function in the Classic Editor are now supported on blocks via the "Additional CSS Classes" control, enabling improved pull quote display.

This release removes support for Google Plus, which shut down on April 2, 2019.

This release also contains a number of bug fixes and minor updates.

Particular thanks go to outside contributors @seanchayes and @megabulk.

Feature updates

  • Adds support for responsive embedded content, which is most noticeable with video content set to full width. Pull request #1689 for issue #1688.
  • Image and embed blocks aligned left/right, on viewports that are too small to display them reasonably in the indicated position, become 100% width of the column and lose their alignment. Pull request #1630 by @seanchayes for issue #1611.
  • Matches the default styles for Gutenberg's Quote block with Largo's styles for <blockquote>. Adds styles for <cite> elements. Pull Request #1687 for issue #1682.
  • Ensures that the CSS classes used by Largo's Classic Editor plugin "Module Wrapper" can be used on pull quotes. Pull Request #1687 for issue #1682. If you'd like to make use of these classes by adding them to a Pull Quote block in the "Additional CSS Class" control of the "Advanced" section of the pull quote's block settings, the list of classes is as follows:
    • type-pull-quote: appears larger in the story, with a slightly fancier presentation
    • alignleft: block is aligned left. This class may make it impossible to select the block in the editor with your mouse, requiring use of the keyboard to move the cursor into the block.
    • alignright: block is aligned right. This class may make it impossible to select the block in the editor with your mouse, requiring use of the keyboard to move the cursor into the block.
    • aligncenter: block is aligned center.
    • half: Block is half the width of the column at all but the smallest screen widths.
  • Removed all Google+ profile fields in the admin interface and buttons on the front-end due to Google+ being shut down on April 2, 2019. Pull request #1667 for issue #1546.
  • Prevents search engine indexing on 404 and search results pages. This change is to keep up with SEO best practices, to preserve your crawl budget with Google, and to prevent a SEO hijacking attack whereby spammers search for their URL on your site, then get the resulting search query result page listed in search engines using your site's reputation. Pull request #1674 for issue #1615.
  • Updates INN's logos in the img/ folder. If your child theme redefines the function inn_logo(), please update that function to reference the new SVG image locations in img/. Pull request #1633 for issue #1621

Function updates

  • Adds the term's taxonomy slug and term slug in the format taxonomy-term as a class on the term in the output of largo_top_term(), largo_category_and_tags(), and largo_maybe_top_term(). Pull request for issue #1646.
  • The arguments set on largo_byline() are now passed to the largo_byline filter as an array of argument name => argument value. Pull request #1657 for issue #1646.
  • Makes the function largo_get_term_meta_post() pluggable. Pull request #1666 by GitHub user @megabulk.
  • Widget area name is now output as an HTML comment on many sidebars, to ease debugging widget presentations. Pull request #1632 by @seanchayes for issue #1492.
  • Added note to category.php template explaining how to modify displaying the featured posts on category pages. Pull request #1676 for issue #1595.
  • Upgrades ReadTheDocs build process. Pull request #1680 for issues #1616 and #1456.
  • If Co-Authors Plus is active, and if a post has an author term, but the term has no corresponding guest-author post, when running largo_byline(), the byline will now contain an HTML comment informing why the byline is empty. If the WP_DEBUG or LARGO_DEBUG constants are true, Largo will add a message to the server's error log of the form "post 123 should have at least one co-author, but has none!" Pull request #1607 for Automattic/Co-Authors-Plus#637 and as part of the general cleanup ticket #1492.

Fixes and minor improvements

  • Defines a new image size 96x96 for use on avatars and small square listing images. This is a bug fix; Largo has referred to such an image size for a long time but never made sure that such images existed. Sites worried about this issue may want to regenerate thumbnail images. Pull request #1672 for issue #1619.
  • Increases contrast of the floating social button icons against the background, to improve accessibility. Pull request #1635.
  • Fixes issue where floating social buttons were not clickable, because of z-index ordering. Pull request #1635 for issue #1576.
  • Fixes links in social media buttons not respecting the blog's character set. Pull request #1635 for issue #1283.
  • Fixes issue where [module]content[/module] was not rendering content in the output of the largo_module_shortcode() function. Pull request #1645 for issue #1639.
  • Function largo_post_social_links now respects the blog character set option. Pull request #1635 for issue #1283.
  • Fixes PHP notices in class Bootstrap_Walker_Nav_Menu. Pull request #1624 and #1625 for issue #1623 as part of issue #1492.
  • Fixes a regression in the behavior of the Largo Follow widget in Largo 0.6. Pull request #1600 for issue #1599.
  • Fixes issue where post excerpt and featured media were not being used for open graph tags on post types that are is_singular() but not is_single(). Pull request #1604 for issue #1602.
  • Prevents largo_top_term() from calling largo_category_and_tags() when the post ID argument passed to largo_top_term() does not match get_the_ID's post ID, because there is presently no way to pass that ID to largo_category_and_tags(). Pull request #1648 for issue #1647.
  • Fixes improper post ID argument passed to largo_top_term() in the homepage featured stories zone. Pull request #1648.
  • Removes duplicate site title in opengraph tags for non-archive, non-is_front_page(), non-is_singular() URLs. Pull request #1604 for issue #1602.
  • Removes search form from global nav bar when on the search page, so that there's only one search form. Pull request #1604.
  • Cleans up the search page when no query has been entered. Pull request #1604 for issue #1603.
  • Defines the index 'class' in partials/widget-content.php when using a large image. Pull request #1606 for issues #1605 and #1492.
  • Fix for posts with "Featured in category" selected not displaying on category RSS feeds. Pull request #1668 for issue #1598.
  • Fixes issue where prominence terms were not saving with the Block Editor, because the "Post Prominence" metabox was output twice. Pull request #1655 for issue #1654.
  • Fixes issue where the header ad widget area and before-footer widget area could extend beyond the viewport, causing horizontal scrolling on narrower screens. Pull request #1673 for issue #1670.
  • Uses validate_file() when using require_once. Pull request #1589 for issue #1494.
  • Added display: block; style attribute to .navis-slideshow.navis-full to prevent full size images from not displaying properly due to the display: table; attribute on all .wp-block-image alignment classes. Pull request #1675 for issue #1664.
  • Fixed issue with display of slideshows within column blocks. Pull request #1658 for issue #1681.
  • Overrides some default Gutenberg block styles to fit Largo styling better since they were not breaking properly between 781px and 600px. Pull request #1679 for issue #1658.
  • Removes a doubled </a> tag from menu dropdown parents. Pull request 1684 by @megabulk.
  • Adds an empty() check to largo_maybe_top_term() to better check for the lack of a top term on a post when deciding whether to output top term markup. Pull request #1613
  • Further cleans up undefined variables.

Upgrade notices

  • If your child theme redefines the function inn_logo(), please update that function to reference the new INN logo SVG image locations in img/.
  • If you have a custom partials/nav-global.php you may want to copy the if ( ! is_search() ) { ... } logic from pull request #1604 to reduce user confusion about which search form to use.
  • If your site has replaced or modified Largo's navigation.js, you may want to reassess that in light of the changes made in #1544.
Assets 2

@benlk benlk released this Dec 7, 2018

This release contains bugfixes for Largo 0.6, and improved compatibility with the Gutenberg block editor.

INN Labs blog posts accompanying this Largo release:

Changes

Fixes

Documentation and administrative improvements

Assets 2

@benlk benlk released this Nov 10, 2018

Largo version 0.6

This release of Largo provides support for Gutenberg, the star feature of WordPress 5.0. It prevents social media metadata duplication when using the Yoast SEO plugin. And this new release contains a number of bug fixes and performance improvements.

Special thanks to our community contributors:

  • Mike Schinkel for his work on pull request #1469 at WordCamp for Publishers 2017's Contributor Day.
  • GitHub user fenriz07 for their work in PR #1541 on updating links in our documentation.

If you're using Largo on your site, say hi! Send us an email at labs@inn.org or through the contact form, sign up for a slot in our weekly open office hours, or just say hi to our staff at a conference. We'd love to include you on our list of sites using Largo.

New Features

  • Adds Gutenberg support, with:
    • editor styles
    • support for the .alignwide and .alignfull CSS classes and their use in blocks
    • pullquote styles

Changes

  • Fixes numerous undefined variable errors, as part of issue #1492.
  • Users who have the capability to edit a given post will see the edit link on the frontend, where before users with the capability to edit published posts in general saw the link to edit the post in the frontend. PR #1559 for issue #1543.
  • Largo now uses WordPress' title-tag support for <title> tag output, which means that site title tags shoud now be modifiable by plugins. PR #1566 for issue #1470.
  • If the Yoast SEO plugin is active, Largo's default Open Graph Protocol and Twitter Cards tags will not be output. PR #1567 for issues #1437 and #1470
  • Adds support for WordPress' .screen-reader-text CSS class. PR #1530 for issue #1528 as part of issue #844.
  • Updates .visuallyhidden CSS styles in accordance with the latest recommended technique. PR #1530 for issue #1528 as part of issue #844.
  • Thins the homepage stylesheets with LESS (reference) imports. PR #1530 for issue #1528 as part of issue #844.
  • Adds a text domain to style.css. PR #1527 as part of issue #844.
  • Fixes a "WP_Admin_Bar::add_node was called incorrectly" warning message. PR #1504 for issue #1349.
  • Modernizes Travis CI configuration to cover PHP 5.6, 7.0 and 7.1, and WordPress 4.6 through 5.0. Drops support for PHP 5.5 and earlier and WordPress 4.5 and earlier. PR #1503 and #1554.
  • Where largo_remove_hero() removed duplicate hero images from the top of the_content(), the function no longer outputs empty paragraph tags, and now works on img tags without src="" attributes. PR #1503 for issue #1404.
  • Alphabetizes the contributor list in readme.md.

Removed

  • Deprecates largo_fb_user_is_followable(), because Facebook changed their API.
  • Removes the default inclusion of Google Analytics with INN's Largo Project IDs. PR #1502 as part of issue #1495, and by request.
  • Removes the INN Member RSS widget, because the RSS feed it draws from is no longer supported or maintained by INN. Because the RSS feed was occasionally empty, the widget would result in 500 errors. RP #1535 for issue #1511 and #893.
  • Removes lingering traces of the Largo Featured Widget. PR #1563 and #1469 for issue #1467, from Github user mikeschinkel.
  • Removes many uses of extract() in widgets and theme functions, and improves code quality in widgets.
  • Removes uses of screen_icon() and get_screen_icon(), deprecated in WordPress 4.8. PR #1523 for issue #1523 as part of issue #844.
  • Removes the <title> element from header.php, since Largo declares title-tag theme support. PR #1566 for issue #1470.
  • Removes two remaining PHP short tags. PR #1525 for issue #844.
  • Removes some deprecated style.css metadata tags. PR #1524 for issue #844.
  • Removes Hipchat support from .travis.yml. PR #1503.

Upgrade notices

  • If your child theme has significant custom styling, or has custom post templates, your theme may need to provide additional styles to ensure Gutenberg compatibility.
  • A future version of Largo will require the third parameter of largo_byline() to be specified in all calls. PR #1561 for issue #1517 adds code that, in testing environments with WP_DEBUG or LARGO_DEBUG set to true, will result in server log messages. This is necessary to prevent mismatches between the Loop's global $post and the desired byline output. The third parameter of largo_byline() may be a WP_Post instance or a post ID. Example call: largo_byline( true, false, get_the_ID() );.
Assets 2

@benlk benlk released this Oct 26, 2017 · 597 commits to trunk since this release

This is a maintenance release containing bug fixes for v0.5.5.

This release breaks compatibility with PHP versions before 5.5: https://github.com/INN/largo/pull/1407/files#r105924102 If you are still using PHP 5.5 or earlier, please be warned that they no longer receive security patches: https://secure.php.net/eol.php

  • Updates some minor documentation
  • Fixes a bug where using an image gallery on a post caused the post to scroll to the gallery upon page load (8acc31d)
  • Fixes a bug where the current post was included in a list of related posts for the current post (#1403)
  • Fixes an undefined warning regarding meta boxes (#1408 for #1406)
  • Fixes several undefined notices in featured media functionality (#1350)
  • Cleans up inc/helpers.php (#1407)
  • Reorders the featured media dialog's UI from "Embed, Video, Image, Gallery" to "Image, Gallery, Video, Embed" (#1408)
Assets 2

@rclations rclations released this Jan 26, 2017 · 87 commits to master since this release

Largo 0.5.5.3

Maintenance release containing bug fixes for v0.5.5

Features

  • Removed a MySQL query that was causing unnecessary server load.
  • Removed var_log() function calls creating errors
  • Updated Largo update notification to rely on the update_themes capability
  • Added thumbnail to featured image meta box on post edit screen
  • Show byline separator on single post pages
  • Retain sort order when opening featured media gallery modal window
  • Added the lightbox view to single images
  • Made the gallery/grid-view setup more user-friendly and consistent
Assets 2

@rclations rclations released this Dec 16, 2016 · 128 commits to master since this release

Largo 0.5.5.1

Maintenance release containing bug fixes for v0.5.5

Features

  • Removed a MySQL query that was causing unnecessary server load.
Assets 2
Dec 14, 2016
bump version number
You can’t perform that action at this time.