Skip to content
Permalink
Browse files

Fixed a minor bug in the previous release

  • Loading branch information...
Nomafin committed Mar 4, 2019
1 parent b418dfc commit 3f6cb0b565b83bc4b07c1a7d3cff316e705bd30f
Showing with 8 additions and 3 deletions.
  1. +6 −1 CHANGELOG.md
  2. +1 −1 dustpress.php
  3. +1 −1 helpers/menu.php
@@ -4,7 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.21.2] - 2019-02-04
## [1.21.3] - 2019-03-04

### Fixed
- A minor bug caused by the last update.

## [1.21.2] - 2019-03-04

### Fixed
- Pagination helper fixed $page_count to return int not float. This caused failure on current page active state in some cases.
@@ -6,7 +6,7 @@
Author: Miika Arponen & Ville Siltala / Geniem Oy
Author URI: http://www.geniem.com
License: GPLv3
Version: 1.21.2
Version: 1.21.3
*/
final class DustPress {
@@ -153,7 +153,7 @@ public static function get_menu_data( $menu_name, $parent = 0, $override = null,
if ( isset( $menu_object) ) {
$menu_items = static::get_cached_menu_items( $menu_object->term_id );
if ( empty( $menu_items ) || \is_customizer_preview() ) {
if ( empty( $menu_items ) || \is_customize_preview() ) {
$menu_items = \wp_get_nav_menu_items( $menu_object );
static::set_cached_menu_items( $menu_object->term_id, $menu_items );

0 comments on commit 3f6cb0b

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.