Skip to content

Commit d8eecd8

Browse files
committed
version 0.0.9
1 parent 0a415d2 commit d8eecd8

File tree

8 files changed

+20
-10
lines changed

8 files changed

+20
-10
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This section describes how to install the plugin and get it working.
1919

2020
## Filters ##
2121

22+
- `split_tests_is_headless` - return true from a filter handler if you are using this plugin on headless WordPress (redirects get handled differently).
2223
- `split_tests_endpoint_url` - where JavaScript events should be sent (default is `/wp-admin/admin-ajax.php?action=split_tests`).
2324
- `split_tests_current_url` - used to target on which pages tests will run (default is `$_REQUEST['REQUEST_URI']`).
2425
- `split_tests_is_single` - whether a single post is being loaded (default is the result of `is_single()` only for the `post` post type).
@@ -81,6 +82,10 @@ Yes, the tests will work fine with HTML generated behind a CDN, or using other k
8182

8283
## Changelog ##
8384

85+
### 0.0.9 ###
86+
- Adds a `split_tests_is_headless` filter that changes how redirects are handled.
87+
- Bugfix: don't apply unpublished tests to the site.
88+
8489
### 0.0.8 ###
8590
- Bugfix: allow for zero title tests.
8691

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "the-markup/split-tests",
33
"description": "Simple A/B testing for WordPress",
4-
"version": "0.0.8",
4+
"version": "0.0.9",
55
"type": "wordpress-plugin",
66
"repositories": [
77
{

composer.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

languages/split-tests.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the same license as the Split Tests package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Split Tests 0.0.8\n"
5+
"Project-Id-Version: Split Tests 0.0.9\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/split-tests\n"
7-
"POT-Creation-Date: 2024-10-01 17:47:32+00:00\n"
7+
"POT-Creation-Date: 2024-10-03 15:06:33+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "split-tests",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"main": "Gruntfile.js",
55
"author": "The Markup <[email protected]>",
66
"scripts": {

readme.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This section describes how to install the plugin and get it working.
2929

3030
== Filters ==
3131

32+
- `split_tests_is_headless` - return true from a filter handler if you are using this plugin on headless WordPress (redirects get handled differently).
3233
- `split_tests_endpoint_url` - where JavaScript events should be sent (default is `/wp-admin/admin-ajax.php?action=split_tests`).
3334
- `split_tests_current_url` - used to target on which pages tests will run (default is `$_REQUEST['REQUEST_URI']`).
3435
- `split_tests_is_single` - whether a single post is being loaded (default is the result of `is_single()` only for the `post` post type).
@@ -85,6 +86,10 @@ Yes, the tests will work fine with HTML generated behind a CDN, or using other k
8586

8687
== Changelog ==
8788

89+
= 0.0.9 =
90+
- Adds a `split_tests_is_headless` filter that changes how redirects are handled.
91+
- Bugfix: don't apply unpublished tests to the site.
92+
8893
= 0.0.8 =
8994
- Bugfix: allow for zero title tests.
9095

split-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Author URI: https://themarkup.org/
88
* Text Domain: split-tests
99
* Domain Path: /languages
10-
* Version: 0.0.8
10+
* Version: 0.0.9
1111
*
1212
* @package SplitTests
1313
*/

0 commit comments

Comments
 (0)