[wp-trac] [WordPress Trac] #47926: Disable website field in comment section

WordPress Trac noreply at wordpress.org
Fri Aug 23 10:59:50 UTC 2019


#47926: Disable website field in comment section
-----------------------------+------------------------------
 Reporter:  longman2020      |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Comments         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by longman2020):

 Replying to [comment:2 SergeyBiryukov]:
 > Hi @longman2020, welcome to WordPress Trac!
 >
 > There are several ways to remove the URL field from comment form:
 > * Using a code snipped like this in a child theme:
 > {{{
 > function wp47926_remove_url_from_comments( $fields ) {
 >       unset( $fields['url'] );
 >       return $fields;
 > }
 > add_filter( 'comment_form_default_fields',
 'wp47926_remove_url_from_comments' );
 > }}}
 > * Or using any plugin that offers a similar function:
 >  * [https://wordpress.org/plugins/comment-link-remove/ Comment Link
 Remove and Comment Tools]
 >  * [https://wordpress.org/plugins/cb-disable-comment-url/ CB Disable
 Comment URL]
 Hi,
 Thanks you
 But most of these kind of plugins are not compatible with every theme.

 And everyone is not able to code.

 The feature I requested is fine and easy for even novice users.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47926#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list