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

Commit

Permalink
Moving changes to their own file. Fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
straube committed Mar 13, 2019
1 parent c2474f3 commit 03f81e6
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 109 deletions.
209 changes: 209 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
# Release Notes

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]

### Added

* Add [CHANGELOG.md] file. (#44)

## [0.10.3]

### Added

* Added public method to retrieve a given (or current) domain base path: `getDomainBase($domain = null)`.

### Changed

* Minor code refactoring.

## [0.10.2]

### Added

* Added FAQ about plugin settings and domains.

### Fixed

* Fix minor notice message when loading the non-mapped original domain.

## [0.10.1]

### Fixed

* Fix bug introduced in 0.10.0 with setups where the original domain is not present in the plugin settings.

## [0.10.0]

### Changed

* Moved HTML to view files.

### Fixed

* Don't add SSL when accessing via a Tor domain name. (#31)

## [0.9.0]

### Added

* Added a class to `<body>` tag containing the domain name (e.g. `multipled-domain-name-tld`) to allow front-end customizations.

### Fixed

* Fixed bug in backward compatibility logic.

## [0.8.7]

### Changed

* Loading Multiple Domain before other plugins to fix issue with paths.
* Refactored `initAttributes` method.

### Fixed

* Missing locales on language list (this issue was reopened and now it's fixed) (#38)

## [0.8.6]

### Removed

* Rolling back changes introduced in [0.8.4] and [0.8.5] regarding to avoid URL changes in the WP admin. (#39)

## [0.8.5]

### Added

* Add `[multiple_domain]` shortcode to show the current language.

### Fixed

* Fixed an issue introduced in 0.8.4 that breaks the admin URLs.
* Missing locales on language list (#38)

## [0.8.4]

### Changed

* Using singleton pattern for main plugin class.
* Avoiding URL changes in the admin panel.

### Fixed

* Wrong host in URLs returned by the JSON API. (#36)

## [0.8.3]

### Fixed

* `hreflang` tag error. (#34)

## [0.8.2]

### Fixed

* Image URLs not being re-written properly via Tor. (#32)

## [0.8.1]

### Fixed

* Undefined index when using wp-cli. (#23)

## [0.8.0]

### Added

* Added `MULTPLE_DOMAIN_DOMAIN_LANG` constant for theme/plugin customization. (#20)

### Changed

* Moved `MultipleDomain` class to its own file.

### Fixed

* No 'Access-Control-Allow-Origin' header is present on the requested resource. (#21)
* Attempt to fix #22. (#22)

### Security

* Remove `filter_input` from plugin. (#14)

## [0.7.1]

### Fixed

* Make the plugin compatible with PHP 5.4 again.

## [0.7]

### Changed

* Code review/refactoring.

### Fixed

* Added activation hook to fix empty settings bug.

## [0.6]

### Fixed

* Redirect to original domain if SSL/https (#11).

## [0.5]

### Added

* `http`/`https` for alternate link.

## [0.4]

### Added

* Added Reflang links to head for SEO purpose.
e.g.
```html
<link rel="alternate" hreflang="x-default" href="https://example.com/">
<link rel="alternate" hreflang="de-DE" href="https://de.example.com/">
```

### Fixed

* Fixed resolving host name to boolean.

## [0.3]

### Added

* `MULTPLE_DOMAIN_ORIGINAL_DOMAIN` constant to hold the original WP home domain.
* Allowing developers to create custom URL restriction logic through `multiple_domain_redirect` action.

### Changed

* Improved settings interface.

### Fixed

* Fixed bug when removing the port from current domain.

## [0.2]

### Added

* `MULTPLE_DOMAIN_DOMAIN` constant for theme/plugin customization.

### Changed

* Improved port verification.
* And, last but not least, code refactoring.

## [0.1]

### Added

* Basic multiple domain setup.
* Option base path for each domain.
110 changes: 1 addition & 109 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,115 +69,7 @@ the site from a non-mapped domain.

## Changelog

### 0.10.3

* Added public method to retrieve a given (or current) domain base path: `getDomainBase($domain = null)`.
* Minor code refactoring.

### 0.10.2

* Fix minor notice message when loading the non-mapped original domain.
* Added FAQ about plugin settings and domains.

### 0.10.1

* Fix bug introduced in 0.10.0 with setups where the original domain is not present in the plugin settings.

### 0.10.0

* Fix #31: Don't add SSL when accessing via a Tor domain name
* Moved HTML to view files.

### 0.9.0

* Fixed bug in backward compatibility logic.
* Added a class to `<body>` tag containing the domain name (e.g. `multipled-domain-name-tld`) to allow front-end customizations.

### 0.8.7

* Loading Multiple Domain before other plugins to fix issue with paths.
* Fix #38: Missing locales on language list (this issue was reopened and now it's fixed)
* Refactored `initAttributes` method.

### 0.8.6

* Fix #39: Rolling back changes introduced in 0.8.4 and 0.8.5 regarding to avoid URL changes in the WP admin.

### 0.8.5

* Fixed an issue introduced in 0.8.4 that breaks the admin URLs.
* Fix #38: Missing locales on language list
* Add `[multiple_domain]` shortcode to show the current language.

### 0.8.4

* Fix: #36 Wrong host in URLs returned by the JSON API
* Using singleton pattern for main plugin class.
* Avoiding URL changes in the admin panel.

### 0.8.3

* Fix: #34 hreflang tag error

### 0.8.2

* Fix: #32 Image URLs not being re-written properly via Tor.

### 0.8.1

* Fix: #23 Undefined index when using wp-cli.

### 0.8.0

* Moved `MultipleDomain` class to its own file.
* Fix: #14 Remove `filter_input` from plugin.
* Attempt to fix #22.
* Added `MULTPLE_DOMAIN_DOMAIN_LANG` constant for theme/plugin customization. Fixes #20.
* Fix: #21 No 'Access-Control-Allow-Origin' header is present on the requested resource.

### 0.7.1

* Make the plugin compatible with PHP 5.4 again.

### 0.7

* Code review/refactoring.
* Added activation hook to fix empty settings bug.

### 0.6

* Fix: #11 Redirect to original domain if SSL/https.

### 0.5

* Added http/https for alternate link.

### 0.4

* Fixed resolving host name to boolean.
* Added Reflang links to head for SEO purpose.
e.g.
```html
<link rel="alternate" hreflang="x-default" href="https://example.com/">
<link rel="alternate" hreflang="de-DE" href="https://de.example.com/">
```

### 0.3

* Fixed bug when removing the port from current domain.
* Added `MULTPLE_DOMAIN_ORIGINAL_DOMAIN` constant to hold the original WP home domain.
* Allowing developers to create custom URL restriction logic through `multiple_domain_redirect` action.
* Improved settings interface.

### 0.2

* Improved port verification.
* Added `MULTPLE_DOMAIN_DOMAIN` constant for theme/plugin customization.
* And, last but not least, code refactoring.

### 0.1

This is the first release. It supports setting domains and an optional base URL for each one.
Refer to [CHANGELOG.md](CHANGELOG.md) for release notes and changes.

## Meta

Expand Down

0 comments on commit 03f81e6

Please sign in to comment.