Changeset 1521280
- Timestamp:
- 10/24/2016 05:47:22 PM (9 years ago)
- Location:
- idea-board/trunk
- Files:
-
- 7 edited
-
assets/css/idea-board.css (modified) (4 diffs)
-
idea-board.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
src/ideapeople/board/Link.php (modified) (2 diffs)
-
src/ideapeople/board/Plugin.php (modified) (1 diff)
-
src/ideapeople/board/ShortCode.php (modified) (1 diff)
-
src/ideapeople/board/action/PostAction.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
idea-board/trunk/assets/css/idea-board.css
r1498240 r1521280 675 675 #idea-board #idea-board-comment-form p label, 676 676 #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"] { 678 680 float: left; 679 681 line-height: 22px; … … 689 691 690 692 #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"], 691 695 #idea-board #idea-board-comment-form p input[type="password"], 692 696 #idea-board #idea-board-comment-form textarea { … … 700 704 #idea-board #idea-board-comment-form p.comment-form-email input, 701 705 #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; 703 710 } 704 711 … … 779 786 margin: 0; 780 787 } 788 789 #idea-board .watch-action { 790 margin-bottom: 15px; 791 display: block; 792 } -
idea-board/trunk/idea-board.php
r1503722 r1521280 4 4 Plugin URI: http://www.ideapeople.co.kr 5 5 Description: This plugin helps you to add simply a forum for WordPress 6 Version: 0.3. 36 Version: 0.3.4 7 7 Author: ideapeople 8 8 Author URI: http://www.ideapeople.co.kr -
idea-board/trunk/readme.txt
r1503722 r1521280 75 75 76 76 = 0.3.3 = 77 * bug fix 78 79 = 0.3.3 = 77 80 * permalink error fix 78 81 -
idea-board/trunk/src/ideapeople/board/Link.php
r1503722 r1521280 45 45 ); 46 46 47 if ( ! PluginConfig::is_using_permalink() ) { 48 $args[ 'page_id' ] = get_query_var( 'page_id' ); 49 } 50 47 51 return $args; 48 52 } … … 176 180 $link = "/{$post_page->post_name}/idea_board/comment_edit/{$post->ID}"; 177 181 } 182 183 178 184 $link = add_query_arg( $args, $link ); 179 185 -
idea-board/trunk/src/ideapeople/board/Plugin.php
r1498050 r1521280 96 96 97 97 $short_code = new ShortCode(); 98 add_shortcode( 'idea_board', array( $short_code, ' short_code' ) );98 add_shortcode( 'idea_board', array( $short_code, 'idea_board' ) ); 99 99 100 100 $action = new PostAction(); -
idea-board/trunk/src/ideapeople/board/ShortCode.php
r1503274 r1521280 12 12 13 13 class ShortCode { 14 public function short_code( $atts, $content ) {14 public function idea_board( $atts, $content ) { 15 15 $atts = wp_parse_args( $atts, array( 16 16 'name' => '', -
idea-board/trunk/src/ideapeople/board/action/PostAction.php
r1498050 r1521280 11 11 12 12 use ideapeople\board\Capability; 13 use ideapeople\board\Link; 13 14 use ideapeople\board\PluginConfig; 14 15 use ideapeople\board\Post; 15 16 use ideapeople\board\PostView; 16 use ideapeople\board\Link;17 17 use ideapeople\board\setting\Setting; 18 18 use ideapeople\util\http\Request; … … 66 66 } 67 67 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(); 72 70 } 73 71
Note: See TracChangeset
for help on using the changeset viewer.