Skip to content
Public Ticket #14576

jQuery migrate

Conversation thread

JohnDF replied

Customer Reply

I see some updates about this in the version 7.4.1 and 7.4.2.

Do I have to update the Soledad theme only or Penci plugins too?

PenciDesign replied

Staff Reply

Hi @2squaremedia,

I can confirm with version 7.4.0 - we don't get any issue with "Add Media" button.

So, maybe you need to check with your plugins you're using.

Also, please create a new ticket and our support team will check it to help you, don't put reply to tickets of other people because they will get notice email from your reply.

Best Regards,

PenciDesign

2squaremedia replied

Customer Reply

Same jqery error here with 7.4.0. It prevented the Add Media button to work.

PenciDesign replied

Staff Reply

Hi,

Yeah, our developers see that. But, currently this warnings doesn't affect anything on the latest version of Soledad.

And we will fix those issues in the next update version of Soledad. No worries about this.

Best Regards,

PenciDesign

JohnDF replied

Customer Reply

Hi,

We are using the latest version of Soledad. The warnings are still there.

PenciDesign replied

Staff Reply

Hi @Ineedsunshine,

I've sent this for our developers to check it.

If there is issues, we will be fix it in the next update version of Soledad, no worries about this.

Best Regards,

PenciDesign

Ineedsunshine replied

Customer Reply

I have the same problems with 7.4.0 installed from zip file:

here is an example (libs-script.min.js):

/* theiaStickySidebar */
!function(i) {
    i.fn.theiaStickySidebar = function(t) {
        var o = {
            containerSelector: "",
            additionalMarginTop: 0,
            additionalMarginBottom: 0,
            updateSidebarHeight: !0,
            minWidth: 0
        };
        t = i.extend(o, t),
        t.additionalMarginTop = parseInt(t.additionalMarginTop) || 0,
        t.additionalMarginBottom = parseInt(t.additionalMarginBottom) || 0,
        i("head").append(i('<style>.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>')),
        this.each(function() {
            function o() {
                e.fixedScrollTop = 0,
                e.sidebar.css({
                    "min-height": "1px"
                }),
                e.stickySidebar.css({
                    position: "static",
                    width: ""
                })
            }
            function a(t) {
                var o = t.height();
                return t.children().each(function() {
                    o = Math.max(o, i(this).height())
                }),
                o
            }
            var e = {};
            e.sidebar = i(this),
            e.options = t || {},
            e.container = i(e.options.containerSelector),
            0 == e.container.size() && (e.container = e.sidebar.parent()),

(last line - from minified lib code)

2nd example (main.js):

    PENCI.masonry = function() {
        $(window).load(function() {
            var $masonry_container = $('.penci-masonry');
            if ($masonry_container.length) {
                $masonry_container.each(function() {
                    var $this = $(this);
                    $this.isotope({
                        itemSelector: '.item-masonry',
                        transitionDuration: '.55s',
                        layoutMode: 'masonry'
                    });
                });
            }
        });
    }

PenciDesign replied

Staff Reply

Hi,

We've solved this issue a long time ago. Have you using latest version of Soledad ( 7.4.0 ) & plugin?

If not, please remove the code at the end of functions.php file like on this image: http://prntscr.com/uon4qx ( if you don't see it, you can ignore this step ) 

After that, do following this guide to get auto-updates the theme: https://pencidesign.ticksy.com/article/15633/

Best Regards, 

PenciDesign

JohnDF started the conversation

Conversation Start

Hi there,

We are currently using Enable jQuery Migrate Helper as a temporary solution for the jQuery issues which came up on the recent Wordpress updates.

Most of warnings are come from Soledad theme/plugins. Are you working on this? Will it be solved before WP 5.6?

Want to join this conversation or access attachments? Sign in first.