Changeset 2961920
- Timestamp:
- 09/02/2023 09:25:12 AM (3 years ago)
- Location:
- kakao-tam/trunk
- Files:
-
- 3 edited
-
index.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
-
validateMe.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kakao-tam/trunk/index.php
r2961905 r2961920 4 4 Plugin URI: https://github.com/kakao-tam/wordpress-plugin 5 5 Description: 카카오 디벨로퍼스에서 제공하는 카카오 로그인, 카카오톡 공유하기, 카카오톡 채널 친구추가/채팅, 카카오 내비, 카카오 맵 기능을 연동한 플러그인 6 Version: 1.8. 06 Version: 1.8.1 7 7 Requires at least: 5.2 8 8 Requires PHP: 7.0 … … 97 97 add_action('admin_menu', 'kakao_tam_plugin_admin_menu'); 98 98 add_action('wp_footer', 'kakaotalk_channel_add_action_content'); 99 add_action('wp_footer', 'kakao _api_forward');99 add_action('wp_footer', 'kakaotalk_me_action_content'); 100 100 101 101 add_filter('the_content', 'kakaotalk_share_filter_content'); … … 211 211 $validateChannel->getWpFooter(); 212 212 } 213 function kakao_api_forward() 214 { 215 213 function kakaotalk_me_action_content() 214 { 215 $validateMe = new validateMe(); 216 $validateMe->getWpFooter(); 216 217 } 217 218 function kakaotalk_share_filter_excerpt($content) … … 232 233 { 233 234 $validateMe = new validateMe(); 234 return $ $validateMe->getShortCode($content);235 return $validateMe->getShortCode($content); 235 236 } 236 237 function kakaostory_share_shortcode($content) -
kakao-tam/trunk/readme.txt
r2961905 r2961920 18 18 19 19 ---version history- 20 2023.09.02 [1.8.1] 카카오톡 나와의 채팅방에 메모하기 short_code 버그 픽스 20 21 2023.09.02 [1.8.0] 카카오톡 나와의 채팅방에 메모하기 기능 추가 21 22 2023.09.01 [1.7.4] Kakao JavaScript SDK 버전 2.3.0 으로 업데이트 (integrity 하위 리소스 무결성 제공으로 DNS Spoofing 방어) -
kakao-tam/trunk/validateMe.php
r2961905 r2961920 39 39 { 40 40 $url = "'".get_permalink()."'"; 41 $text = "'".get_the_title()."'";42 41 return ' 43 42 <div class="share"> … … 47 46 </a> 48 47 </div> 49 50 <div id="kakaotalkMeLayer" class="pop-layer">51 <div class="pop-container">52 <div class="pop-conts">53 <!--content //-->54 <p class="ctxt mb20">55 <textarea id="kakaotalk-me-txt" class="kakaotalk-me-txt"></textarea>56 </p>57 58 <div class="btn-r">59 <a href="javascript:kakaotalkMeSend(' . $url . ')" class="btn-layerSend">Send</a>60 <a href="javascript:kakaotalkMeLayerClose()" class="btn-layerClose">Close</a>61 </div>62 <!--// content-->63 </div>64 </div>65 </div>66 48 '; 67 49 } 50 public function getWpFooter(){ 51 $url = "'".get_permalink()."'"; 52 if (!is_admin()) { 53 echo ' 54 <div id="kakaotalkMeLayer" class="pop-layer"> 55 <div class="pop-container"> 56 <div class="pop-conts"> 57 <p class="ctxt mb20"> 58 <textarea id="kakaotalk-me-txt" class="kakaotalk-me-txt"></textarea> 59 </p> 60 61 <div class="btn-r"> 62 <a href="javascript:kakaotalkMeSend(' . $url . ')" class="btn-layerSend">Send</a> 63 <a href="javascript:kakaotalkMeLayerClose()" class="btn-layerClose">Close</a> 64 </div> 65 </div> 66 </div> 67 </div>'; 68 } 69 } 70 68 71 69 72 function kakaotalk_me_send($url, $text){
Note: See TracChangeset
for help on using the changeset viewer.