From e703e90c10b80dd569b1238676bb835e9746c941 Mon Sep 17 00:00:00 2001 From: Thomas Pike Date: Fri, 17 Jan 2025 11:50:15 +0100 Subject: [PATCH] Add support for WPML post locale (#1166) * Add support for WPML post locale * Address review check failures * added missing changelog --------- Co-authored-by: Matt Wiebe Co-authored-by: Matthias Pfefferle --- CHANGELOG.md | 4 ++++ integration/class-wpml.php | 40 ++++++++++++++++++++++++++++++++++++++ integration/load.php | 11 +++++++++++ readme.txt | 1 + 4 files changed, 56 insertions(+) create mode 100644 integration/class-wpml.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 0741a3b45..6a9a7f9b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +* Support for WPML post locale + ### Removed * Built-in support for nodeinfo2. Use the [NodeInfo plugin](https://wordpress.org/plugins/nodeinfo/) instead. diff --git a/integration/class-wpml.php b/integration/class-wpml.php new file mode 100644 index 000000000..81c314ce8 --- /dev/null +++ b/integration/class-wpml.php @@ -0,0 +1,40 @@ +