๐
jjj / ab-testing-for-wp Goto Github PK
View Code? Open in Web Editor NEWWordPress plugin which allow you to run A/B tests from anywhere within your content.
Home Page: https://abtestingforwp.com
WordPress plugin which allow you to run A/B tests from anywhere within your content.
Home Page: https://abtestingforwp.com
When no test on page is present, admin bar makes invalid request through XHR
@Gaya Could it that you use your @gmail.com
- non-GitHub - address in your git client?
Due to recent changes to the Wordpress Rest API the following warning is shown:
Notice: register_rest_route was called incorrectly. The REST API route definition for
ab-testing-for-wp/v1/ab-test
is missing the requiredpermission_callback
argument. For REST API routes that are intended to be public, use__return_true
as the permission callback.
Plugin version: 1.18.2
Wordpress version: 5.5.1
Got a question / bug report though mail:
Hi Gaya,
I use your A/B Testing for WordPress plugin, and I appreciate your great work!
I'll report a bug to you.
When I use Japanese text in the button, the text was garbled with A/B testing plugin.
Example:
https://drive.google.com/open?id=18RmRRKqpEJT9OKNUN1V016YplM1bnDl7
@Gaya Do you plan to add proper PHPDoc blocks to methods and properties?
Once 10up/action-wordpress-plugin-deploy#22 has been merged and released, switch back to using the official one instead of the fixed forked version.
Since the development is still quite early, we can move over to TypeScript quite easily still.
Have to see how well it plays with WordPress' type definitions though, but it shouldn't be a problem.
Create end-to-end tests which can be executed in the CI
Hi,
The integrations reference to the trackPostId
method (from class ABTestTracking
) which no longer exists. If I look at the commit history, it appears it has been replaced by trackGoal
.
I have seen this causing a fatal error on form submits with GravityForms. But the method is also used in other integrations, so I imagine the same issue there.
I would submit a pull request, but I'm not entirely sure if the only changing the method to trackGoal
would fix since I am not familiar with what needs to be done when trackPostId
is called.
There are situations where pre-rendering variants in PHP will not work when there are caching plugins involved. The caching mechanism would be the one determining the variant instead of the user.
An option to always have JavaScript determine the variant would be better.
This could be done over XHR.
When adding an A/B test block, I can't seem to add of change anything on initial load and the default content isn't present:
I'm getting a Missing test parameter
in the console.
When I do a full page refresh everything works.
Here is a video breakdown:
Please consider moving ab-testing-for-wp.zip
file to releases
Of course there must be tagged releases to attach files to them :)
It could be completely removed https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository making the repository much smaller.
Perform linting and static analysis on pull requests
It would be really nice to have GitHub actions release the plugin using tags.
When a version is tagged it will create a release for GitHub and update the plugin in the WordPress SVN repository.
Also see #20
To prevent #53 from happening again, we need to add e2e tests to cover the integrations too.
Would be interesting to install 3th party plugins during e2e tests, but I guess it can be done.
This is purely from a technical standpoint. We should not be using any
in any condition.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.