Skip to content

Commit

Permalink
Merge pull request #65 from web83info/release-1.2.7
Browse files Browse the repository at this point in the history
Release 1.2.7
  • Loading branch information
web83info authored May 15, 2024
2 parents aee3f43 + 9fff335 commit 6b5515f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
1 change: 0 additions & 1 deletion class/class-showcurrentwidth-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,5 +555,4 @@ public function plugin_action_links( $actions ) {
array_unshift( $actions, $link_setting, $link_github );
return $actions;
}

}
8 changes: 4 additions & 4 deletions class/class-showcurrentwidth-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ShowCurrentWidth_Core {
/**
* Plugin constant.
*/
const PLUGIN_VERSION = '1.2.6';
const PLUGIN_VERSION = '1.2.7';
const PLUGIN_PREFIX = 'show-current-width';
const PLUGIN_PREFIX_DEPRECATED = 'w83-show-current-width';
const PLUGIN_GITHUB = 'https://github.com/web83info/show-current-width';
Expand Down Expand Up @@ -126,7 +126,7 @@ public function load_css_js() {
// CSS.
wp_enqueue_style(
self::PLUGIN_PREFIX . '-css',
plugins_url( 'assets/show-current-width.min.css', dirname( __FILE__ ) ),
plugins_url( 'assets/show-current-width.min.css', __DIR__ ),
array(),
self::PLUGIN_VERSION
);
Expand Down Expand Up @@ -160,7 +160,7 @@ public function load_css_js() {
// JavaScript.
wp_enqueue_script(
self::PLUGIN_PREFIX . '-js',
plugins_url( 'assets/show-current-width.min.js', dirname( __FILE__ ) ),
plugins_url( 'assets/show-current-width.min.js', __DIR__ ),
array(),
self::PLUGIN_VERSION,
array(
Expand Down Expand Up @@ -252,7 +252,7 @@ public function display_width( $wp_admin_bar ) {
'href' => '#',
)
);
$breakpoint_index++;
++$breakpoint_index;
}
} else {
// No display breakpoint.
Expand Down
10 changes: 7 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: web83info
Donate link: https://www.buymeacoffee.com/web83info
Tags: admin,width,developement,design
Requires at least: 6.2
Tested up to: 6.4.2
Tested up to: 6.5.3
Requires PHP: 7.4
Stable tag: 1.2.6
Stable tag: 1.2.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -20,6 +20,9 @@ This plugin shows a current screen width on WP adminbar.

== Changelog ==

= 1.2.7 - 2025-05-15 =
* Tested up to WordPress 6.5.3.

= 1.2.6 - 2024-01-16 =
* Fix: Minor bug fix.

Expand Down Expand Up @@ -83,7 +86,8 @@ This plugin shows a current screen width on WP adminbar.

1. Apple iPhone XS Max.
2. Apple iPad Pro (11 inch).
3. Mac OS Safari.
3. Mac OS Chrome.
4. Plugin setting page.

== Donation ==

Expand Down
Binary file removed screenshot-1.png
Binary file not shown.
Binary file removed screenshot-2.png
Binary file not shown.
Binary file removed screenshot-3.png
Binary file not shown.
4 changes: 2 additions & 2 deletions w83-show-current-width.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* Plugin Name: Show Current Width
* Plugin URI:
* Description: This plugin shows a current screen width on WP adminbar.
* Version: 1.2.6
* Version: 1.2.7
* Requires at least: 6.0
* Tested up to: 6.4.2
* Tested up to: 6.5.3
* Requires PHP: 7.4
* Author: web83info <[email protected]>
* Author URI:
Expand Down

0 comments on commit 6b5515f

Please sign in to comment.