Skip to content

Commit

Permalink
version 0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dphiffer committed Oct 3, 2024
1 parent 0a415d2 commit d8eecd8
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 10 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This section describes how to install the plugin and get it working.

## Filters ##

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

## Changelog ##

### 0.0.9 ###
- Adds a `split_tests_is_headless` filter that changes how redirects are handled.
- Bugfix: don't apply unpublished tests to the site.

### 0.0.8 ###
- Bugfix: allow for zero title tests.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "the-markup/split-tests",
"description": "Simple A/B testing for WordPress",
"version": "0.0.8",
"version": "0.0.9",
"type": "wordpress-plugin",
"repositories": [
{
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions languages/split-tests.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the same license as the Split Tests package.
msgid ""
msgstr ""
"Project-Id-Version: Split Tests 0.0.8\n"
"Project-Id-Version: Split Tests 0.0.9\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/split-tests\n"
"POT-Creation-Date: 2024-10-01 17:47:32+00:00\n"
"POT-Creation-Date: 2024-10-03 15:06:33+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "split-tests",
"version": "0.0.8",
"version": "0.0.9",
"main": "Gruntfile.js",
"author": "The Markup <[email protected]>",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This section describes how to install the plugin and get it working.

== Filters ==

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

== Changelog ==

= 0.0.9 =
- Adds a `split_tests_is_headless` filter that changes how redirects are handled.
- Bugfix: don't apply unpublished tests to the site.

= 0.0.8 =
- Bugfix: allow for zero title tests.

Expand Down
2 changes: 1 addition & 1 deletion split-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://themarkup.org/
* Text Domain: split-tests
* Domain Path: /languages
* Version: 0.0.8
* Version: 0.0.9
*
* @package SplitTests
*/
Expand Down

0 comments on commit d8eecd8

Please sign in to comment.