Skip to content

Commit

Permalink
1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
luizbills committed Jan 18, 2023
1 parent ac9fe4f commit 0c4d553
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inc/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public static function get_settings () {
}

public function add_settings_link ( $links ) {
$settings_link = '<a href="options-general.php?page=' . intval( self::$page_id ) . '">' . esc_html__( 'Settings', 'wp-tweaks' ) . '</a>';
$settings_link = '<a href="options-general.php?page=' . self::$page_id . '">' . esc_html__( 'Settings', 'wp-tweaks' ) . '</a>';
return array_merge( [ $settings_link ], $links );
}

Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://www.luizpb.com/donate/
Requires at least: 4.0
Tested up to: 6.1
Requires PHP: 5.4
Stable tag: 1.9.1
Stable tag: 1.9.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -55,6 +55,10 @@ Support this plugin on [https://luizpb.com/donate/](https://luizpb.com/donate/)

== Changelog ==

= 1.9.2 - 2023-01-18 =

* Fix settings link.

= 1.9.1 - 2023-01-11 =

* Removed "Disallow your site in iframes" option. Utilize the "Security Headers" option instead.
Expand Down
3 changes: 1 addition & 2 deletions wp-tweaks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WP Tweaks
* Plugin URI: https://github.com/luizbills/wp-tweaks
* Description: Several opinionated WordPress tweaks focused in security and performance.
* Version: 1.9.1
* Version: 1.9.2
* Requires at least: 4.0
* Requires PHP: 5.4
* Author: Luiz Bills
Expand All @@ -20,7 +20,6 @@

class WP_Tweaks {

const VERSION = '1.9';
const FILE = __FILE__;
const DIR = __DIR__;
const PREFIX = 'wp_tweaks_';
Expand Down

0 comments on commit 0c4d553

Please sign in to comment.