Bug in WP Version 4.5.1
-
After upgrading the wordpress version to 4.5.1, the images, maps etc were not showing in the website. We received an error message:
Uncaught Error: Syntax error, unrecognized expression: a[href*=#]:not([href=#])
This is an issue in the wordpress version itself. The issue is because of the following code in Themes/js/custom.js
$( ‘a[href*=#]:not([href=#])’ ).click( function() {
The issue will be resolved, if you replace the code as follows,
$( ‘a[href*=”#”]:not([href=”#”])’ ).click( function() {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug in WP Version 4.5.1’ is closed to new replies.