-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for WordPress 4.9.1 and Multisite #88
Comments
oik has now been tested with WordPress 4.9-RC2. |
PHPUnit tests have now been converted to run in the main site of a WordPress Multisite installation. Local site used was qw/wpms. ( url=qw path=wpms). |
Note: When testing in WordPress Multisite you may need to use
somewhere within the test suite. This is to cater for generated HTML which expects "/" in the hidden field for _wp_http_referer.
|
For shortcodes that can be used in text widgets or any other area outwith 'content' processing Not only do we need the global post's ID, some shortcodes also require the global post type. I've added a comment to WordPress TRAC 10457. Solution
These changes are required to correct the output from a number of shortcodes which are affected by the 4.9 changes. The following shortcodes are known to have been affected.
|
Note: Improvements to the core solution ( implemented in 4.9-RC3-42186 ) have negated the need for the changes to the oik base code. Additionally, oik should have used the functions that WordPress core uses: get_queried_object() and get_queried_object_id(); |
The caption__example and associated tests need changing for 2 reasons.
embed__example and its tests should also be changed
Note: I won't make the tests backward compatible with WordPress 4.8 |
WordPress 4.9.1 was released on 29th November 2017. Oik v3.2.2 should be tested with this latest version. |
This is superseded by #130. So closing |
WordPress 4.9 is currently under development.
The PHPUnit test suite developed for #9 should support a range of WordPress versions.
Some of the test data files contain the WordPress version used when creating the test cases. e.g.
4.8.2
The tests need to be 'generalised' to convert the current WordPress version e.g.
4.9-beta3--41938-src
to something likex.y.z
The text was updated successfully, but these errors were encountered: