Changeset 3176
- Timestamp:
- 05/18/2016 09:56:54 PM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
r3034 r3176 25 25 </ul>'; 26 26 27 add_filter( 'wp_comment_reply', function( $string ) use ( $post ) { 28 $author = get_user_by( 'id', $post->post_author ); 29 ?> 30 <form id="contact-author" class="contact-author" method="POST" action="https://supportpress.wordpress.org/plugins/thread-new.php"> 31 <input type="hidden" name="to_email" value="<?php echo esc_attr( $author->user_email ); ?>" /> 32 <input type="hidden" name="to_name" value="<?php echo esc_attr( $author->display_name ); ?>" /> 33 <input type="hidden" name="subject" value="<?php printf( esc_attr__( 'Feedback for %s' ), $post->post_title ); ?>" /> 34 <button class="button button-secondary" type="submit"><?php _e( 'Contact plugin author', 'wporg-plugins' ); ?></button> 35 </form> 36 <?php 37 return $string; 38 } ); 27 39 } 28 40 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/js/edit-form.js
r2977 r3176 39 39 $( 'input[name="add_committer"]', '#add-committer' ).val( '' ).focus(); 40 40 } ); 41 42 $( '#contact-author' ).appendTo( '#plugin-review .inside' ); 41 43 }, 42 44
Note: See TracChangeset
for help on using the changeset viewer.