Skip to content

Commit

Permalink
Merge pull request #163 from mihdan/v6.2.3
Browse files Browse the repository at this point in the history
Fix deprecation error.
  • Loading branch information
kagg-design authored Nov 24, 2024
2 parents 91cdeed + 138dc4f commit 96e24a2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
= 6.2.3 (24.11.2024) =
* Fixed deprecation error with PHP 8.4.
* Tested with PHP 8.4.

= 6.2.2 (15.11.2024) =
* Fixed _load_textdomain_just_in_time notice with WordPress 6.7.
* Some translations were empty with WordPress 6.5+.
Expand Down
4 changes: 2 additions & 2 deletions cyr-to-lat.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Cyr-To-Lat
* Plugin URI: https://kagg.eu/cyr-to-lat/
* Description: Convert Non-Latin characters in post and term slugs to Latin characters. Useful for creating human-readable URLs. Based on the original plugin by Anton Skorobogatov.
* Version: 6.2.2
* Version: 6.2.3
* Requires at least: 5.3
* Requires PHP: 7.2.0
* Author: Sergey Biryukov, Mikhail Kobzarev, Igor Gergel
Expand Down Expand Up @@ -41,7 +41,7 @@
/**
* Plugin version.
*/
define( 'CYR_TO_LAT_VERSION', '6.2.2' );
define( 'CYR_TO_LAT_VERSION', '6.2.3' );

/**
* Path to the plugin dir.
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: SergeyBiryukov, mihdan, kaggdesign, karevn, webvitaly
Tags: cyrillic, slugs, translation, transliteration
Requires at least: 5.3
Tested up to: 6.7
Stable tag: 6.2.2
Stable tag: 6.2.3
Requires PHP: 7.2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -221,6 +221,10 @@ Yes, you can!

== Changelog ==

= 6.2.3 (24.11.2024) =
* Fixed deprecation error with PHP 8.4.
* Tested with PHP 8.4.

= 6.2.2 (15.11.2024) =
* Fixed _load_textdomain_just_in_time notice with WordPress 6.7.
* Some translations were empty with WordPress 6.5+.
Expand Down
2 changes: 1 addition & 1 deletion src/php/Requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Requirements {
*
* @noinspection PhpUnusedLocalVariableInspection
*/
public function __construct( Settings $settings, AdminNotices $admin_notices, WP_Filesystem_Direct $wp_filesystem = null ) {
public function __construct( Settings $settings, AdminNotices $admin_notices, ?WP_Filesystem_Direct $wp_filesystem = null ) {
$this->settings = $settings;
$this->screen_ids = [ 'screen_ids' => $this->settings->screen_ids() ];

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/**
* Plugin version.
*/
const CYR_TO_LAT_TEST_VERSION = '6.2.2';
const CYR_TO_LAT_TEST_VERSION = '6.2.3';

/**
* Path to the plugin dir.
Expand Down

0 comments on commit 96e24a2

Please sign in to comment.