Part of JavaScript code is being removed in jquery.js file in Website Preview

Created:

2016-11-16 12:49:24 UTC

Modified:

2017-06-14 10:31:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Part of JavaScript code is being removed in jquery.js file in Website Preview

Applicable to:

  • Plesk 12.5 for Linux

Note: This article has the reference to the issue with the fix available:

  • #PPPM-4470 "Using the Website Preview resulted in some JavaScript code being removed."
    Fixed in:
Please consider updating your server:

Symptoms

Part of JavaScript code is being removed in jquery.js file in Website Preview for website using WordPress.

jquery.js content in Website Preview, using link http://10.10.10.10/plesk-site-preview/example.com/10.10.10.10/wp-includes/js/jquery/jquery.js :

var ec=a.jQ

jquery.js content of pubslished website located in http://example.com/wp-includes/js/jquery/jquery.js?ver=1.11.3%27 :

var ec=a.jQuery,fc=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fc),b&&a.jQuery===m&&(a.jQuery=ec),m},typeof b===K&&(a.jQuery=a.$=m),m});
jQuery.noConflict();

As a result, page is loading incompletely in Domains > example.com > Preview

Cause

This is an internal issue with ID #PPPM-4470 , which was fixed in Plesk 12.5.30 MU#39 https://docs.plesk.com/release-notes/12.5/change-log/ .

Resolution

Install the latest MU.

Have more questions? Submit a request
Please sign in to leave a comment.