Skip to content

Commit

Permalink
chore: update version to 1.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivanveen committed May 9, 2024
1 parent 85bb343 commit fde693f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions each-domain-a-page/each-domain-a-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion each-domain-a-page/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fde693f

Please sign in to comment.