WordPress jQuery UI Tooltip – additional text instance, ghost text, appendTo Method

Home Forums BulletProof Security Pro WordPress jQuery UI Tooltip – additional text instance, ghost text, appendTo Method

This topic contains 0 replies, has 1 voice, and was last updated by  AITpro Admin 3 years, 6 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #19510

    AITpro Admin
    Keymaster

    UPDATE:

    This code below in the /wp-includes/js/jquery/ui/tooltip.min.js file is using the appendTo Method and appending an additional div to the document body.

    Solution:  Use .ui-helper-hidden-accessible{display:none;} to hide the appended div/text/class.

    _create:function(){
    this._on({mouseover:"open",focusin:"open"}),
    this.tooltips={},
    this.parents={},
    this.options.disabled&&this._disable(),
    this.liveRegion=a("<div>").attr({
    role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},

    Disregard all info below. The Workaround WP 4.1 jQuery UI Tooltip Ghost Text Workaround/BugFix option will be removed/deleted in BPS Pro 10.0.

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

    A Workaround BugFix option has been added to JTC Anti-Spam / Anti-Hacker since the jQuery UI Tooltip is affected.

    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 1 post (of 1 total)

You must be logged in to reply to this topic.