XPressME Integration Kit

Trac


Ignore:
Timestamp:
Apr 30, 2010, 4:41:15 PM (15 years ago)
Author:
toemon
Message:

WPコメント受付なしと、D3Forum「ロック」の同期 Fixes#339

Location:
trunk/xpressme_integration_kit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php

    r590 r596  
    2626                        $blog_info = $this->get_comment_blog_info($forum_id); 
    2727                        // query 
    28                         $post_row = $db->fetchArray( $db->query( "SELECT * FROM ".$blog_info['mb_table_prefix']."posts WHERE ID=$post_id AND comment_status ='open'" ) ) ; 
     28                        $post_row = $db->fetchArray( $db->query( "SELECT * FROM ".$blog_info['mb_table_prefix']."posts WHERE ID=$post_id" ) ) ; 
    2929                        if( empty( $post_row ) ) return '' ; 
    3030 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php

    r584 r596  
    127127        add_action("delete_post",       "onaction_delete_post"); 
    128128        add_action("wp_set_comment_status" , "onaction_comment_apobe"); 
    129          
     129        add_action("publish_post",      "onaction_comment_close"); 
     130 
    130131         
    131132        add_filter('comments_template', "disp_d3forum_comments" ); 
Note: See TracChangeset for help on using the changeset viewer.