Skip to content

Commit

Permalink
Version 2.6.0 (#26)
Browse files Browse the repository at this point in the history
* Declare compatibility with WordPress 5.2, minor improvements for admin tabs semantics, release version 2.6.0

* Code style fix
  • Loading branch information
patrickrobrecht authored May 5, 2019
1 parent a80646d commit 4f5c439
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Version 2.x

### Version 2.6.0
* Bugfix: Loading of minified CSS/JS, and min.js.map files
* Enhancement: tabs semantics improvements, as recommended since WordPress 5.2

### Version 2.5.0
* Enhancement: New charts library (for full GPL compatibility)
* Bugfix: Errors in selection of predefined time periods
Expand Down
4 changes: 2 additions & 2 deletions extended-evaluation-for-statify.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Statify – Extended Evaluation
* Plugin URI: https://patrick-robrecht.de/wordpress/
* Description: Extended evaluation for the compact, easy-to-use and privacy-compliant Statify plugin.
* Version: 2.5.0
* Version: 2.6.0
* Author: Patrick Robrecht
* Author URI: https://patrick-robrecht.de/
* License: GPLv3
Expand All @@ -16,7 +16,7 @@
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

define( 'EEFSTATFIFY_VERSION', '2.5.0' );
define( 'EEFSTATFIFY_VERSION', '2.6.0' );

// Includes.
require_once 'inc/queries.php';
Expand Down
11 changes: 9 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: patrickrobrecht
Tags: stats, analytics, privacy, statistics
Requires at least: 4.4
Tested up to: 5.1
Tested up to: 5.2
Requires PHP: 5.4
Stable tag: 2.5.0
Stable tag: 2.6.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -60,6 +60,10 @@ Therefore you'll have to add the *see_statify_evaluation* capability to the user

Please see [the changelog at GitHub](https://github.com/patrickrobrecht/extended-evaluation-for-statify/blob/master/CHANGELOG.md) for the details.

= 2.6.0 =
* Bugfix: Loading of minified CSS/JS, and min.js.map files
* Enhancement: tabs semantics improvements, as recommended since WordPress 5.2

= 2.5.0 =
* Enhancement: New charts library (for full GPL compatibility)
* Bugfix: Errors in selection of predefined time periods
Expand All @@ -75,6 +79,9 @@ Please see [the changelog at GitHub](https://github.com/patrickrobrecht/extended

== Upgrade Notice ==

= 2.6.0 =
Admin tabs semantic improvement and bugfixes for loading minified files.

= 2.5.0 =
New charts library.

Expand Down
4 changes: 2 additions & 2 deletions views/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<p><?php echo esc_html( $message ); ?></p>
</div>
<?php } ?>
<h2 class="nav-tab-wrapper">
<nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_html_e( 'Popular Content and Post Types', 'extended-evaluation-for-statify' ); ?>">
<a href="<?php echo esc_url( admin_url( 'admin.php?page=extended_evaluation_for_statify_content' ) ); ?>"
class="<?php eefstatify_echo_tab_class( 'popular' === $selected_post_type ); ?>">
<?php esc_html_e( 'Most Popular Content', 'extended-evaluation-for-statify' ); ?></a>
Expand All @@ -56,7 +56,7 @@ class="<?php eefstatify_echo_tab_class( 'popular' === $selected_post_type ); ?>"
class="<?php eefstatify_echo_tab_class( $selected_post_type === $post_type ); ?>">
<?php echo esc_html( get_post_type_object( $post_type )->labels->name ); ?></a>
<?php } ?>
</h2>
</nav>
<?php
if ( 'popular' === $selected_post_type ) {
// Show most popular content.
Expand Down
4 changes: 2 additions & 2 deletions views/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
<div class="wrap eefstatify">
<h1><?php esc_html_e( 'Statify – Extended Evaluation', 'extended-evaluation-for-statify' ); ?></h1>

<h2 class="nav-tab-wrapper">
<nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_html_e( 'Overview and Years', 'extended-evaluation-for-statify' ); ?>">
<a href="<?php echo esc_url( admin_url( 'admin.php?page=extended_evaluation_for_statify_dashboard&post=' . $selected_post ) ); ?>"
class="<?php eefstatify_echo_tab_class( 0 === $selected_year ); ?>"><?php esc_html_e( 'Overview', 'extended-evaluation-for-statify' ); ?></a>
<?php foreach ( $years as $year ) { ?>
<a href="<?php echo esc_url( admin_url( 'admin.php?page=extended_evaluation_for_statify_dashboard&year=' . $year . '&post=' . $selected_post ) ); ?>"
class="<?php eefstatify_echo_tab_class( $selected_year === $year ); ?>"><?php echo esc_html( $year ); ?></a>
<?php } ?>
</h2>
</nav>
<form method="post" action="">
<?php wp_nonce_field( 'dashboard' ); ?>
<fieldset>
Expand Down

0 comments on commit 4f5c439

Please sign in to comment.