From 61ad809ac1014884e584c266f5c550b040b62619 Mon Sep 17 00:00:00 2001 From: Ben Keith Date: Thu, 6 Dec 2018 11:23:41 -0500 Subject: [PATCH 1/2] Remove default 'Series' title from Largo Taxonomy List Widget Fixes https://github.com/INN/largo/issues/1581 --- changelog.md | 3 ++- inc/widgets/largo-taxonomy-list.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 30a01df36..da6e3d73a 100644 --- a/changelog.md +++ b/changelog.md @@ -13,11 +13,12 @@ This release contains bugfixes for Largo 0.6. - Uses [`filemtime()`](https://secure.php.net/manual/en/function.filemtime.php) as the version number for more enqueued assets, meaning that cachebusting will be handled by file modification time and not by Largo version. [Pull Request #1575](https://github.com/INN/largo/pull/1575) for [issue #1550](https://github.com/INN/largo/issues/1550). - For many assets where no version number was provided for enqueued assets, `largo_version()` is now used. [Pull Request #1575](https://github.com/INN/largo/pull/1575) for [issue #1550](https://github.com/INN/largo/issues/1550). -- Removes the list of recommended plugins displayed on new installations of Largo. [Pull Request #1580](https://github.com/INN/largo/pull/1580) for [issue #1570](https://github.com/INN/largo/issues/1570). +- Removes the list of recommended plugins displayed on new installations of Largo. [Pull Request #1580](https://github.com/INN/largo/pull/1580) for [issue #1570](https://github.com/INN/largo/issues/1570). We'll be bringing this list back in an updated form on an INN website; stay tuned. ### Fixes - Updates templates to make sure that bylines are output. [Pull request #1574](https://github.com/INN/largo/pull/1574). +- Allows the Largo Taxonomy List Widget to have an empty title. [Pull request #1582](https://github.com/INN/largo/pull/1582) for [issue #1581](https://github.com/INN/largo/issues/1581). ## [Largo 0.6](https://github.com/INN/largo/compare/v0.5.5.4...v0.6) diff --git a/inc/widgets/largo-taxonomy-list.php b/inc/widgets/largo-taxonomy-list.php index 0f3efc2ac..60fd29e0e 100644 --- a/inc/widgets/largo-taxonomy-list.php +++ b/inc/widgets/largo-taxonomy-list.php @@ -28,7 +28,7 @@ function __construct() { */ function widget( $args, $instance ) { - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Series', 'largo' ) : $instance['title'], $instance, $this->id_base ); + $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); $is_dropdown = ! empty( $instance['dropdown'] ) ? '1' : '0'; /* From b9f11618655f057e0fba7063bad119a2dbabdf24 Mon Sep 17 00:00:00 2001 From: Ben Keith Date: Thu, 6 Dec 2018 14:24:27 -0500 Subject: [PATCH 2/2] Fix PR link for https://github.com/INN/largo/pull/1583 --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index da6e3d73a..2f86be51f 100644 --- a/changelog.md +++ b/changelog.md @@ -18,7 +18,7 @@ This release contains bugfixes for Largo 0.6. ### Fixes - Updates templates to make sure that bylines are output. [Pull request #1574](https://github.com/INN/largo/pull/1574). -- Allows the Largo Taxonomy List Widget to have an empty title. [Pull request #1582](https://github.com/INN/largo/pull/1582) for [issue #1581](https://github.com/INN/largo/issues/1581). +- Allows the Largo Taxonomy List Widget to have an empty title. [Pull request #1583](https://github.com/INN/largo/pull/1583) for [issue #1581](https://github.com/INN/largo/issues/1581). ## [Largo 0.6](https://github.com/INN/largo/compare/v0.5.5.4...v0.6)