Plugin Directory

Changeset 1521280


Ignore:
Timestamp:
10/24/2016 05:47:22 PM (9 years ago)
Author:
oternet
Message:

bug fix

Location:
idea-board/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • idea-board/trunk/assets/css/idea-board.css

    r1498240 r1521280  
    675675#idea-board #idea-board-comment-form p label,
    676676#idea-board #idea-board-comment-form p input[type="text"],
    677 #idea-board #idea-board-comment-form p input[type="password"] {
     677#idea-board #idea-board-comment-form p input[type="password"],
     678#idea-board #idea-board-comment-form p input[type="email"],
     679#idea-board #idea-board-comment-form p input[type="url"] {
    678680    float: left;
    679681    line-height: 22px;
     
    689691
    690692#idea-board #idea-board-comment-form p input[type="text"],
     693#idea-board #idea-board-comment-form p input[type="email"],
     694#idea-board #idea-board-comment-form p input[type="url"],
    691695#idea-board #idea-board-comment-form p input[type="password"],
    692696#idea-board #idea-board-comment-form textarea {
     
    700704#idea-board #idea-board-comment-form p.comment-form-email input,
    701705#idea-board #idea-board-comment-form p.comment-form-password input {
    702     width: 100%;
     706}
     707
     708#idea-board .comment-subscription-form {
     709    clear: both;
    703710}
    704711
     
    779786    margin: 0;
    780787}
     788
     789#idea-board .watch-action {
     790    margin-bottom: 15px;
     791    display: block;
     792}
  • idea-board/trunk/idea-board.php

    r1503722 r1521280  
    44Plugin URI: http://www.ideapeople.co.kr
    55Description: This plugin helps you to add simply a forum for WordPress
    6 Version: 0.3.3
     6Version: 0.3.4
    77Author: ideapeople
    88Author URI: http://www.ideapeople.co.kr
  • idea-board/trunk/readme.txt

    r1503722 r1521280  
    7575
    7676= 0.3.3 =
     77* bug fix
     78
     79= 0.3.3 =
    7780* permalink error fix
    7881
  • idea-board/trunk/src/ideapeople/board/Link.php

    r1503722 r1521280  
    4545        );
    4646
     47        if ( ! PluginConfig::is_using_permalink() ) {
     48            $args[ 'page_id' ] = get_query_var( 'page_id' );
     49        }
     50
    4751        return $args;
    4852    }
     
    176180            $link = "/{$post_page->post_name}/idea_board/comment_edit/{$post->ID}";
    177181        }
     182
     183
    178184        $link = add_query_arg( $args, $link );
    179185
  • idea-board/trunk/src/ideapeople/board/Plugin.php

    r1498050 r1521280  
    9696
    9797        $short_code = new ShortCode();
    98         add_shortcode( 'idea_board', array( $short_code, 'short_code' ) );
     98        add_shortcode( 'idea_board', array( $short_code, 'idea_board' ) );
    9999
    100100        $action = new PostAction();
  • idea-board/trunk/src/ideapeople/board/ShortCode.php

    r1503274 r1521280  
    1212
    1313class ShortCode {
    14     public function short_code( $atts, $content ) {
     14    public function idea_board( $atts, $content ) {
    1515        $atts = wp_parse_args( $atts, array(
    1616            'name'      => '',
  • idea-board/trunk/src/ideapeople/board/action/PostAction.php

    r1498050 r1521280  
    1111
    1212use ideapeople\board\Capability;
     13use ideapeople\board\Link;
    1314use ideapeople\board\PluginConfig;
    1415use ideapeople\board\Post;
    1516use ideapeople\board\PostView;
    16 use ideapeople\board\Link;
    1717use ideapeople\board\setting\Setting;
    1818use ideapeople\util\http\Request;
     
    6666        }
    6767
    68         if ( ! is_user_logged_in() ) {
    69             if ( ! isset( $post_data[ 'post_password' ] ) && empty( $post_data[ 'post_password' ] ) ) {
    70                 wp_die();
    71             }
     68        if ( ! is_user_logged_in() && ! isset( $post_data[ 'post_password' ] ) && empty( $post_data[ 'post_password' ] ) ) {
     69            wp_die();
    7270        }
    7371
Note: See TracChangeset for help on using the changeset viewer.