Home › Forums › Bug Reports › (another) ReferenceError: wp is not defined › Reply To: (another) ReferenceError: wp is not defined
Are you looking at input.js or input.min.js? The latter is the one indicated in debugger, though I realize it’s simply the minified version of the file you indicate. You’re right, though, so not sure what’s up. I’ll append a bit more of the minified code below. Btw, my ACF interface definitely says “Advanced Custom Fields 4.2.2”!
Cheers,
Jim P.
this.frame.dispose();this.frame=null},type:function(){var e="thickbox";typeof wp=="object"&&(e="backbone");return e},init:function(){var t=wp.media.view.AttachmentCompat.prototype;t.orig_render=t.render;t.orig_dispose=t.dispose;t.className="compat-item acf_postbox no_box";t.render=function(){var t=this;if(t.ignore_render)return this;this.orig_render();
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.