XPressME Integration Kit

Trac

Changeset 653


Ignore:
Timestamp:
Sep 9, 2010, 12:06:20 PM (14 years ago)
Author:
toemon
Message:

ID "_wp_unfiltered_html_comment" uses XML ID syntax W3Cエラー対策 Fixes#370

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/extras/my_themes/comments.php

    r629 r653  
    111111                                                <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 
    112112                                        <?php endif; ?> 
    113                                         <?php do_action('comment_form', $post->ID); ?> 
     113                                        <?php 
     114                                                ob_start(); 
     115                                                        do_action('comment_form', $post->ID); 
     116                                                        $output = ob_get_contents(); 
     117                                                ob_end_clean(); 
     118                                                echo str_replace(' id="_wp', ' id="wp', $output); 
     119                                        ?> 
    114120                                </div> 
    115121                        </form> 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/comments.php

    r651 r653  
    111111                                                <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 
    112112                                        <?php endif; ?> 
    113                                         <?php do_action('comment_form', $post->ID); ?> 
     113                                        <?php 
     114                                                ob_start(); 
     115                                                        do_action('comment_form', $post->ID); 
     116                                                        $output = ob_get_contents(); 
     117                                                ob_end_clean(); 
     118                                                echo str_replace(' id="_wp', ' id="wp', $output); 
     119                                        ?> 
    114120                                </div> 
    115121                        </form> 
Note: See TracChangeset for help on using the changeset viewer.