Created
December 19, 2016 00:17
-
-
Save elliotcondon/5eb0250b1e48b4923e37804cc9547265 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi guys | |
There is a JS error preventing the 'duplicate' checkbox from displaying the 'Duplicate' button when editing a post. | |
The JS error can be found in the file 'res/js/scripts.js' on line 27 | |
Please change: | |
``` | |
if(jQuery('#post ').find('input[name="icl_dupes[]"]:checked'.length > 0)){ | |
``` | |
to: | |
``` | |
if( jQuery('#post').find('input[name="icl_dupes[]"]:checked').length > 0 ){ | |
``` | |
This is found in version 3.6.2 of WPML | |
Thanks | |
Elliot (ACF developer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment