Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Version bump to 1.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
straube committed Oct 28, 2019
1 parent 8f4478d commit f487446
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 18 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
Since `0.7.1` this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.0.2] - 2019-10-28

### Added

Expand Down Expand Up @@ -267,7 +267,8 @@ e.g.
* Option base path for each domain.


[Unreleased]: https://github.com/straube/multiple-domain/compare/v1.0.1...HEAD
[Unreleased]: https://github.com/straube/multiple-domain/compare/v1.0.2...HEAD
[1.0.2]: https://github.com/straube/multiple-domain/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/straube/multiple-domain/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/straube/multiple-domain/compare/v0.11.2...v1.0.0
[0.11.2]: https://github.com/straube/multiple-domain/compare/v0.11.1...v0.11.2
Expand Down
5 changes: 3 additions & 2 deletions multiple-domain/MultipleDomain.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @author João Faria <https://github.com/jffaria>
* @author Raphael Stäbler <https://github.com/blazer82>
* @author Tobias Keller <https://github.com/Tobias-Keller>
* @version 1.0.1
* @version 1.0.2
* @package multiple-domain
*/
class MultipleDomain
Expand All @@ -24,7 +24,7 @@ class MultipleDomain
* @var string
* @since 0.3
*/
const VERSION = '1.0.0';
const VERSION = '1.0.2';

/**
* The number of the default HTTP port.
Expand Down Expand Up @@ -821,6 +821,7 @@ private function replaceDomain($domain, $content)
* @param string $domain The domain to replace.
* @param string $content The content that will have the domain replaced.
* @return string The domain-replaced content.
* @since 1.0.2
*/
private function replaceDomainUsingLessMemory($domain, $content)
{
Expand Down
2 changes: 1 addition & 1 deletion multiple-domain/MultipleDomainSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Integration with WordPress admin.
*
* @author Gustavo Straube <https://github.com/straube>
* @version 1.0.1
* @version 1.0.2
* @since 0.11.0
* @package multiple-domain
*/
Expand Down
26 changes: 15 additions & 11 deletions multiple-domain/multiple-domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Multiple Domain
Plugin URI: https://github.com/straube/multiple-domain
Description: This plugin allows you to have multiple domains in a single WordPress installation and enables custom redirects for each domain.
Version: 1.0.1
Version: 1.0.2
Author: Gustavo Straube (straube.co)
Author URI: http://straube.co
License: GPLv2 or later
Expand Down Expand Up @@ -41,7 +41,8 @@
* exhausted" errors. It will reduce the memory usage in domain replacements
* with the downside of a higher execution time.
*
* @var bool
* @var bool
* @since 1.0.2
*/
define('MULTIPLE_DOMAIN_LOW_MEMORY', false);
}
Expand Down Expand Up @@ -71,7 +72,7 @@
* (default HTTPS port).
*
* @var string
* @since 0.2
* @since 1.0.2
*/
define('MULTIPLE_DOMAIN_DOMAIN', $domain);

Expand All @@ -80,7 +81,7 @@
* The original domain set in WordPress installation.
*
* @var string
* @since 0.3
* @since 1.0.2
*/
define('MULTIPLE_DOMAIN_ORIGINAL_DOMAIN', $originalDomain);

Expand All @@ -94,7 +95,7 @@
* language is set in the plugin config.
*
* @var string
* @since 0.8
* @since 1.0.2
*/
define('MULTIPLE_DOMAIN_DOMAIN_LANG', $domainLang);

Expand All @@ -104,8 +105,9 @@
*
* This constant will be removed in a future release.
*
* @var string
* @see MULTIPLE_DOMAIN_DOMAIN
* @var string
* @since 0.2
* @see MULTIPLE_DOMAIN_DOMAIN
* @deprecated
*/
define('MULTPLE_DOMAIN_DOMAIN', MULTIPLE_DOMAIN_DOMAIN);
Expand All @@ -116,8 +118,9 @@
*
* This constant will be removed in a future release.
*
* @var string
* @see MULTIPLE_DOMAIN_ORIGINAL_DOMAIN
* @var string
* @since 0.3
* @see MULTIPLE_DOMAIN_ORIGINAL_DOMAIN
* @deprecated
*/
define('MULTPLE_DOMAIN_ORIGINAL_DOMAIN', MULTIPLE_DOMAIN_ORIGINAL_DOMAIN);
Expand All @@ -128,8 +131,9 @@
*
* This constant will be removed in a future release.
*
* @var string
* @see MULTIPLE_DOMAIN_DOMAIN_LANG
* @var string
* @since 0.8
* @see MULTIPLE_DOMAIN_DOMAIN_LANG
* @deprecated
*/
define('MULTPLE_DOMAIN_DOMAIN_LANG', MULTIPLE_DOMAIN_DOMAIN_LANG);
10 changes: 8 additions & 2 deletions multiple-domain/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,17 @@ and your page will be redirected. In this case, there are two ways to solve this

== Changelog ==

= 1.0.1
= 1.0.2 =

* Added low memory option. (Refer to https://github.com/straube/multiple-domain/issues/45 on how to enable it)
* Constants starting with `MULTPLE_` are now deprecated. They have a matching `MULTIPLE_` prefixed constant.
* Fixed constants starting with `MULTPLE_`, changed to `MULTIPLE`.

= 1.0.1 =

* Fixed issue with regex used in domain replacement.

= 1.0.0
= 1.0.0 =

* Locked out instructions to readme file.
* API to programmatically change the domains list.
Expand Down

0 comments on commit f487446

Please sign in to comment.