보안코드를 지웠더니 경고 페이지 나오면서 페이지가 새로고침 됩니다.

안녕하세요. 항상 답글 감사합니다!

게시판 글쓸때와 코멘트 부분 보안코드를 지우고 싶어서.. 글을 검색해 보니...

벌써 다른 분께서 질문을 하셨더라구요 ^^

운영자님 답글처럼 수정을 해서 업로드 하니

" The CAPTCHA code is not valid. please enter the CAPTCHA code " 이런 문구가 나옵니다.

그래서 ok 버튼을 클릭하면 페이지가 새로 고침 됩니다.

이부분은 comment 부분도 마찬가지더라구요^^;

페이지에는 보안코드 부분이 안나오는데... 글쓰기 버튼을 누르면.. 에러창이 나오네요^^;

제가 잘못 수정하거나.. 아니면 더 수정해야 할 부분이 있는지요?

 

그럼 말씀 부탁드리겠습니다!!

 

감사합니다!

 

 

* 아래는 editor.php 페이지 입니다.

 

<link rel="stylesheet" href="<?=$skin_path?>/style.css">

<div id="kboard-editor">
 <form method="post" action="<?=$url->toString()?>" enctype="multipart/form-data" onsubmit="return kboard_editor_execute(this);">
  <input type="hidden" name="mod" value="editor">
  <input type="hidden" name="uid" value="<?=$content->uid?>">
  <input type="hidden" name="member_uid" value="<?=$content->member_uid?>">
  <input type="hidden" name="member_display" value="<?=$content->member_display?>">
  <input type="hidden" name="date" value="<?=$content->date?>">
  <div class="kboard-header"></div>
  
  <div class="kboard-attr-row kboard-attr-title">
   <label class="attr-name"><?=__('Title')?></label>
   <div class="attr-value"><input type="text" name="title" value="<?=$content->title?>"></div>
  </div>
  
  <?php if($board->use_category):?>
   <?php if($board->initCategory1()):?>
   <div class="kboard-attr-row">
    <label class="attr-name"><?=__('Category', 'kboard')?>1</label>
    <div class="attr-value">
     <select name="category1">
      <?php while($board->hasNextCategory()):?>
      <option value="<?=$board->currentCategory()?>"<?php if($content->category1 == $board->currentCategory()):?> selected="selected" <?php endif?>><?=$board->currentCategory()?></option>
      <?php endwhile?>
     </select>
    </div>
   </div>
   <?php endif?>
   
   <?php if($board->initCategory2()):?>
   <div class="kboard-attr-row">
    <label class="attr-name"><?=__('Category', 'kboard')?>2</label>
    <div class="attr-value">
     <select name="category2">
      <?php while($board->hasNextCategory()):?>
      <option value="<?=$board->currentCategory()?>"<?php if($content->category2 == $board->currentCategory()):?> selected="selected" <?php endif?>><?=$board->currentCategory()?></option>
      <?php endwhile?>
     </select>
    </div>
   </div>
   <?php endif?>
  <?php endif?>
   
  <?php if($board->isAdmin()):?>
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Notice', 'kboard')?></label>
   <div class="attr-value"><input type="checkbox" name="notice" value="true"<?php if($content->notice == 'true'):?> checked<?php endif?>></div>
  </div>
  <?php elseif($board->isWriter() && $board->permission_write=='all'):?>
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Author', 'kboard')?></label>
   <div class="attr-value"><input type="text" name="member_display" value="<?=$content->member_display?$content->member_display:$userdata->data->display_name?>"></div>
  </div>
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Password', 'kboard')?></label>
   <div class="attr-value"><input type="password" name="password" value="<?=$content->password?>"></div>
  </div>
 
  <?php endif?>
  
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Name', 'kboard')?></label>
   <div class="attr-value"><input type="text" name="kboard_option_name" value="<?=$content->option->name?>"></div>
  </div>
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Phone number', 'kboard')?></label>
   <div class="attr-value"><input type="text" name="kboard_option_tel" value="<?=$content->option->tel?>"></div>
  </div>
  
  <div class="kboard-content">
   <?php if($board->use_editor):?>
    <?php wp_editor($content->content, 'kboard_content'); ?>
   <?php else:?>
    <textarea name="kboard_content" id="kboard_content"><?=$content->content?></textarea>
   <?php endif?>
  </div>
  
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Thumbnail', 'kboard')?></label>
   <div class="attr-value">
    <?php if($content->thumbnail_file):?><?=$content->thumbnail_name?> - <a href="<?=$url->getDeleteURLWithAttach($content->uid);?>" onclick="return confirm('<?=__('Are you sure you want to delete?', 'kboard')?>');"><?=__('Delete', 'kboard')?></a><?php endif?>
    <input type="file" name="thumbnail">
   </div>
  </div>
  
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Attachment', 'kboard')?></label>
   <div class="attr-value">
    <?php if($content->attach->file1[0]):?><?=$content->attach->file1[1]?> - <a href="<?=$url->getDeleteURLWithAttach($content->uid, 'file1');?>" onclick="return confirm('<?=__('Are you sure you want to delete?', 'kboard')?>');"><?=__('Delete', 'kboard')?></a><?php endif?>
    <input type="file" name="kboard_attach_file1">
   </div>
  </div>
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('Attachment', 'kboard')?></label>
   <div class="attr-value">
    <?php if($content->attach->file2[0]):?><?=$content->attach->file2[1]?> - <a href="<?=$url->getDeleteURLWithAttach($content->uid, 'file2');?>" onclick="return confirm('<?=__('Are you sure you want to delete?', 'kboard')?>');"><?=__('Delete', 'kboard')?></a><?php endif?>
    <input type="file" name="kboard_attach_file2">
   </div>
  </div>
  
  <div class="kboard-attr-row">
   <label class="attr-name"><?=__('WP Search', 'kboard')?></label>
   <div class="attr-value">
    <select name="wordpress_search">
     <option value="1"<?php if($content->search == '1'):?> selected<?php endif?>><?=__('Public', 'kboard')?></option>
           <option value="2"<?php if($content->search == '3'):?> selected<?php endif?>><?=__('Exclusion', 'kboard')?></option>
    </select>
   </div>
  </div>
  
  <div class="kboard-control">
   <div class="left">
    <?php if($content->uid):?>
    <a href="<?=$url->set('uid', $content->uid)->set('mod', 'document')->toString()?>" class="kboard-button-small"><?=__('Back', 'kboard')?></a>
    <a href="<?=$url->toString()?>" class="kboard-button-small"><?=__('List', 'kboard')?></a>
    <?php else:?>
    <a href="<?=$url->toString()?>" class="kboard-button-small"><?=__('Back', 'kboard')?></a>
    <?php endif?>
   </div>
   <div class="right">
    <?php if($board->isWriter()):?>
    <button type="submit" class="kboard-button-small"><?=__('Save', 'kboard')?></button>
    <?php endif?>
   </div>
  </div>
 </form>
</div>

<script type="text/javascript">
var kboard_localize = {
 please_enter_a_title:'<?=__('Please enter a title.', 'kboard')?>',
 please_enter_a_author:'<?=__('Please enter a author.', 'kboard')?>',
 please_enter_a_password:'<?=__('Please enter a password.', 'kboard')?>',
}
</script>
<script type="text/javascript" src="<?=$skin_path?>/script.js"></script>

좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기
워드프레스 에러 기술지원 서비스 전문가에게 맡기세요
워드프레스 에러 기술지원 서비스 전문가에게 맡기세요