Skip to content

Commit

Permalink
Changelog and Version Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
priyomukul committed Sep 27, 2023
1 parent 9d77562 commit 8839c8b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: 301 redirects, 301, shortlinks, link shortener, links, permalink, redirect
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 5.4
Stable tag: 2.0.8
Stable tag: 2.0.9
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -100,6 +100,10 @@ Visit [WPDeveloper](https://wpdeveloper.net/) to learn more about how to do bett

== Changelog ==

= 2.0.9 - 27/09/2023 =
* Fixed: Import Related Issue.
* Few minor bug fix and improvements

= 2.0.8 - 30/08/2023 =
* Fixed: Vulnerability Issue.
* Few minor bug fix and improvements
Expand Down
6 changes: 3 additions & 3 deletions wp-simple-301-redirects.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://wpdeveloper.net/
* Text Domain: simple-301-redirects
* Domain Path: /languages
* Version: 2.0.8
* Version: 2.0.9
*/

/* Copyright 2009-2021 WPDeveloper
Expand Down Expand Up @@ -69,7 +69,7 @@ public function on_plugins_loaded()

public function define_constants()
{
define('SIMPLE301REDIRECTS_VERSION', '2.0.8');
define('SIMPLE301REDIRECTS_VERSION', '2.0.9');
define('SIMPLE301REDIRECTS_SETTINGS_NAME', '301_redirects');
define('SIMPLE301REDIRECTS_PLUGIN_FILE', __FILE__);
define('SIMPLE301REDIRECTS_PLUGIN_BASENAME', plugin_basename(__FILE__));
Expand Down Expand Up @@ -170,7 +170,7 @@ public function redirect() {
*/
public function get_address() {
if( !( isset( $_SERVER['HTTP_HOST'] ) && isset( $_SERVER['REQUEST_URI'] ) ) ) return;

// return the full address
return $this->get_protocol().'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
}
Expand Down

0 comments on commit 8839c8b

Please sign in to comment.