Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12489

WordPress 4.1 jQuery UI Tooltip – additional text instance, ghost text

$
0
0

Hopefully this issue will be resolved when the final WordPress 4.1 version is released.  I have submitted a ticket with the WordPress folks and will be spending some serious time reverse engineering the WordPress jQuery UI Tooltip code.  I have isolated the source of the glitch to 1 file and section of code in that file.  This is a fairly complex thing since it is a WP library file so there is no room for screwups.  ie fix one thing and break 10 other things is a NO GO.

WP ticket submitted:  https://core.trac.wordpress.org/ticket/30425

Anyway I am not going to spend much time on explaining the technical stuff since I am assuming this will be fixed by the time WP 4.1 is released anyway.  A Workaround BugFix option has been added to JTC Anti-Spam / Anti-Hacker since the jQuery UI Tooltip is affected.  This Workaround BugFix is just in case this bug is not fixed by the time WP 4.1 is released.

Symptom/Issue:  When hovering overing the JTC CAPTCHA Form field another instance / “ghost text” of the Hover Tooltip text is displayed at the bottom left of the Browser window (see Green arrow in the screenshot below).  The “ghost text” remains after mouse out or focus out .

Workaround/BugFix:  The Workaround is very simple and basic.  I added a div that is positioned in the lower left corner of the page that inherits the background color of the page to hide the “ghost text” behind that div – basically sweeping the issue under the rug for now. The JTC jQuery UI Tooltip Ghost Text Workaround/BugFix option is a checkbox located at the bottom of the JTC Options form directly above the Save Options button.  Check the checkbox to enable the JTC jQuery UI Tooltip Ghost Text Workaround/BugFix option and uncheck the checkbox to disable the JTC jQuery UI Tooltip Ghost Text Workaround/BugFix option.


Screenshot of the jQuery UI Tooltip “ghost text” bug
wp41 jquery tooltip ghost text

Notes:
Using the external jQuery UI library files the jQuery UI Tooltip displays fine without another instance or “ghost text” being displayed.
Using the WordPress 4.0/4.0.1 jQuery UI library code by replacing the 4.1 Beta1 jQuery UI library code the jQuery UI Tooltip displays fine without another instance or “ghost text” being displayed.
Tested 3 different plugins and the same issue is occurring in all of those plugins.
Problem code is isolated to this file – WP 4.1 Beta1: /wp-includes/js/jquery/ui/tooltip.min.js


Viewing all articles
Browse latest Browse all 12489