From fde693f86b3a8305a74d0a45eced214542c85808 Mon Sep 17 00:00:00 2001 From: joerivanveen Date: Thu, 9 May 2024 15:08:41 +0200 Subject: [PATCH] chore: update version to 1.6.5 --- each-domain-a-page/each-domain-a-page.php | 6 +++--- each-domain-a-page/readme.txt | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/each-domain-a-page/each-domain-a-page.php b/each-domain-a-page/each-domain-a-page.php index 78d02c6..b815fa8 100644 --- a/each-domain-a-page/each-domain-a-page.php +++ b/each-domain-a-page/each-domain-a-page.php @@ -3,7 +3,7 @@ Plugin Name: Each domain a page Plugin URI: https://github.com/joerivanveen/each-domain-a-page Description: Serves a specific landing page from WordPress depending on the domain used to access the WordPress installation. -Version: 1.6.4 +Version: 1.6.5 Author: Joeri van Veen Author URI: https://wp-developer.eu License: GPLv3 @@ -12,7 +12,7 @@ */ defined( 'ABSPATH' ) || die(); // This is plugin nr. 7 by Ruige hond. It identifies as: ruigehond007. -const RUIGEHOND007_VERSION = '1.6.4'; +const RUIGEHOND007_VERSION = '1.6.5'; // Register hooks for plugin management, functions are at the bottom of this file. register_activation_hook( __FILE__, 'ruigehond007_activate' ); register_deactivation_hook( __FILE__, 'ruigehond007_deactivate' ); @@ -345,7 +345,7 @@ private function setSlugAndLocaleFromDomainAndRegister() { } if ( isset( $this->slug ) ) { // only add when the slug exists $slugs = explode( '/', $slug ); - $first = array_shift( $slugs ); + $remove = array_shift( $slugs ); $path = implode( '/', $slugs ); $canonical = trailingslashit( "$domain/$path" ); // update options for this plugin diff --git a/each-domain-a-page/readme.txt b/each-domain-a-page/readme.txt index 8352e3e..615f75d 100644 --- a/each-domain-a-page/readme.txt +++ b/each-domain-a-page/readme.txt @@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=hallo Requires at least: 5.0 Tested up to: 6.5 Requires PHP: 5.6 -Stable tag: 1.6.4 +Stable tag: 1.6.5 License: GPLv3 Serves a specific page or post from WordPress depending on the domain used to access your WordPress site. @@ -148,6 +148,8 @@ Alternatively you can switch on processing of .htaccess files in your nginx.conf == Changelog == +1.6.5: (re)allow custom post types + 1.6.4: prevent title to be changed on other settings pages 1.6.3: small fixes