Changeset 1687
- Timestamp:
- 06/28/2015 05:51:49 AM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php
r1675 r1687 58 58 <?php endif; // have_comments() ?> 59 59 60 <?php if ( \DevHub\is_parsed_post_type() && DevHub\can_user_post_note( false, get_the_ID() ) ) : ?>60 <?php if ( \DevHub\is_parsed_post_type() && DevHub\can_user_post_note( true, get_the_ID() ) ) : ?> 61 61 62 62 <p id="add-user-note" style="display:none;"><a href=""><?php _e( 'Have a note to contribute?', 'wporg' ); ?></a></p> … … 74 74 '</p>', 75 75 'label_submit' => __( 'Add Note', 'wporg' ), 76 'must_log_in' => '<p>' . sprintf( __( 'You must <a href="%s">log in</a> before being able to contribute a note.', 'wporg' ), 'https://wordpress.org/support/bb-login.php' ) . '</p>', 76 'must_log_in' => '<p>' . sprintf( 77 __( 'You must <a href="%s">log in</a> before being able to contribute a note.', 'wporg' ), 78 'https://wordpress.org/support/bb-login.php?redirect_to=' . urlencode( get_comments_link() ) 79 ) . '</p>', 77 80 'title_reply' => '', //'Add Example' 78 81 ) ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r1676 r1687 1123 1123 * blog. 1124 1124 * 1125 * @param bool $open If the user can post comments in general. Disregarded.1125 * @param bool $open If the user can post comments in general. 1126 1126 * @param WP_Post $post Post ID or post object. 1127 1127 * … … 1139 1139 } 1140 1140 1141 // Default to limiting ability to post notes to members of the blog. 1142 return is_user_member_of_blog(); 1141 return $open; 1143 1142 } 1144 1143
Note: See TracChangeset
for help on using the changeset viewer.