4.0 버전 업데이트 후 미디어추가 버튼이 동작안합니다. – 한국워드프레스사용자모임 https://kopress.kr/topic/4-0-%eb%b2%84%ec%a0%84-%ec%97%85%eb%8d%b0%ec%9d%b4%ed%8a%b8-%ed%9b%84-%eb%af%b8%eb%94%94%ec%96%b4%ec%b6%94%ea%b0%80-%eb%b2%84%ed%8a%bc%ec%9d%b4-%eb%8f%99%ec%9e%91%ec%95%88%ed%95%a9%eb%8b%88%eb%8b%a4/feed/ Sun, 28 Apr 2024 18:54:11 +0000 https://bbpress.org/?v=2.6.9 ko-KR https://kopress.kr/topic/4-0-%eb%b2%84%ec%a0%84-%ec%97%85%eb%8d%b0%ec%9d%b4%ed%8a%b8-%ed%9b%84-%eb%af%b8%eb%94%94%ec%96%b4%ec%b6%94%ea%b0%80-%eb%b2%84%ed%8a%bc%ec%9d%b4-%eb%8f%99%ec%9e%91%ec%95%88%ed%95%a9%eb%8b%88%eb%8b%a4/#post-26645 <![CDATA[4.0 버전 업데이트 후 미디어추가 버튼이 동작안합니다.]]> https://kopress.kr/topic/4-0-%eb%b2%84%ec%a0%84-%ec%97%85%eb%8d%b0%ec%9d%b4%ed%8a%b8-%ed%9b%84-%eb%af%b8%eb%94%94%ec%96%b4%ec%b6%94%ea%b0%80-%eb%b2%84%ed%8a%bc%ec%9d%b4-%eb%8f%99%ec%9e%91%ec%95%88%ed%95%a9%eb%8b%88%eb%8b%a4/#post-26645 Thu, 11 Sep 2014 02:17:53 +0000 김영학 에러 내용이 아래와 같은데요.
어떻게 하면 될까요? 버전 다운이 답인가요?

Uncaught TypeError: Cannot read property ‘hasClass’ of undefined

{

!function(a){function b(){var b,d=a(“#wp-auth-check”),f=a(“#wp-auth-check-form”),g=e.find(“.wp-auth-fallback-expired”),h=!1;f.length&&(a(window).on(“beforeunload.wp-auth-check”,function(a){a.originalEvent.returnValue=window.authcheckL10n.beforeunload}),b=a(‘<iframe id=”wp-auth-check-frame” frameborder=”0″>’).attr(“title”,g.text()),b.load(function(){var b,i;h=!0;try{i=a(this).contents().find(“body”),b=i.height()}catch(j){return e.addClass(“fallback”),d.css(“max-height”,””),f.remove(),void g.focus()}b?i&&i.hasClass(“interim-login-success”)?c():d.css(“max-height”,b+40+”px”):i&&i.length||(e.addClass(“fallback”),d.css(“max-height”,””),f.remove(),g.focus())}).attr(“src”,f.data(“src”)),a(“#wp-auth-check-form”).append(b)),e.removeClass(“hidden”),b?(b.focus(),setTimeout(function(){h||(e.addClass(“fallback”),f.remove(),g.focus())},1e4)):g.focus()}function c(){a(window).off(“beforeunload.wp-auth-check”),”undefined”==typeof adminpage||”post-php”!==adminpage&&”post-new-php”!==adminpage||”undefined”==typeof wp||!wp.heartbeat||wp.heartbeat.connectNow(),e.fadeOut(200,function(){e.addClass(“hidden”).css(“display”,””),a(“#wp-auth-check-frame”).remove()})}function d(){var a=parseInt(window.authcheckL10n.interval,10)||180;f=(new Date).getTime()+1e3*a}var e,f;a(document).on(“heartbeat-tick.wp-auth-check”,function(a,f){“wp-auth-check”in f&&(d(),!f[“wp-auth-check”]&&e.hasClass(“hidden”)?b():f[“wp-auth-check”]&&!e

}

]]>
https://kopress.kr/topic/4-0-%eb%b2%84%ec%a0%84-%ec%97%85%eb%8d%b0%ec%9d%b4%ed%8a%b8-%ed%9b%84-%eb%af%b8%eb%94%94%ec%96%b4%ec%b6%94%ea%b0%80-%eb%b2%84%ed%8a%bc%ec%9d%b4-%eb%8f%99%ec%9e%91%ec%95%88%ed%95%a9%eb%8b%88%eb%8b%a4/#post-26649 <![CDATA['4.0 버전 업데이트 후 미디어추가 버튼이 동작안합니다.'에 답변달기]]> https://kopress.kr/topic/4-0-%eb%b2%84%ec%a0%84-%ec%97%85%eb%8d%b0%ec%9d%b4%ed%8a%b8-%ed%9b%84-%eb%af%b8%eb%94%94%ec%96%b4%ec%b6%94%ea%b0%80-%eb%b2%84%ed%8a%bc%ec%9d%b4-%eb%8f%99%ec%9e%91%ec%95%88%ed%95%a9%eb%8b%88%eb%8b%a4/#post-26649 Fri, 12 Sep 2014 09:27:13 +0000 082net  

위 질문에도 같은 답을 드렸는데요, 우선은 브라우저의 캐쉬를 비워보시거나 다른 브라우저로 테스트 해 보세요.

가끔 플러그인이나 테마에서 jQuery를 대체시키는 경우가 있으니, 플러그인을 모두 비활성화 시키고 테마를 기본으로 바꾼 뒤에도 같은 문제가 발생하는지 확인해 보세요.

Avatar of 082net
Facebook 사용자 모임 그룹 도 함께 운영되고 있으며, 격 주로 미트업과 스터디를 진행하고 있으니 관심 있으신 분들의 많은 참여 바랍니다 🙂
]]>