posts-in-sidebar icon indicating copy to clipboard operation
posts-in-sidebar copied to clipboard

Possibility of Performance Issue ()

Open newfylox opened this issue 3 years ago • 7 comments

Hi! Great plugin by the way.

I don't know if it's since the new update, but when I came back in my WP-Admin Widgets page, it took me 3 minutes to fully load the page. Then I did a performance recording with Google Chrome and found that Widget Options plugin was causing the problem.

But then I found that Widget Options had a performance issue ONLY when Posts in sidebar was activated. The problem is gone when I comment Pis.CloneWidget.Bind(); in pis-duplicate.js. Calling Bind with Widget Options is causing the problem but I don't know why.

https://github.com/aldolat/posts-in-sidebar/blob/e644e680c44bbcc7f2be91063a26a735363fda23/assets/pis-duplicate.js#L18

Thanks!

newfylox avatar May 03 '21 16:05 newfylox