[wp-trac] [WordPress Trac] #32312: Post Comment button disappeared in some themes (was: Comment button disappeared in some themes)

WordPress Trac noreply at wordpress.org
Fri May 8 14:16:16 UTC 2015


#32312: Post Comment button disappeared in some themes
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.2.3
Component:  Comments        |     Version:  4.2
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+--------------------
Description changed by SergeyBiryukov:

Old description:

> [31699] caused the Comment button to disappear in some themes.
>
> As reported by @tellyworth in [comment:33:ticket:15015]:
>
> > Just FYI we've come across a handful of themes that were affected by
> this. They were filtering `comment_form_defaults` and building a fresh
> $args array from scratch, so the new submit elements were not included in
> the return. That left them with no Submit Comment button.
>
> Seeing some similar reports on support forums. Here's an
> [https://themes.trac.wordpress.org/browser/my-
> life/0.3/library/functions/comments.php#L165 example] in
> [https://wordpress.org/themes/my-life/ My Life] theme.
>
> We should make sure that `'submit_button'` and `'submit_field'` are still
> in the array after it's filtered.

New description:

 [31699] caused the Post Comment button to disappear in some themes.

 As reported by @tellyworth in [comment:33:ticket:15015]:

 > Just FYI we've come across a handful of themes that were affected by
 this. They were filtering `comment_form_defaults` and building a fresh
 $args array from scratch, so the new submit elements were not included in
 the return. That left them with no Submit Comment button.

 Seeing some similar reports on support forums. Here's an
 [https://themes.trac.wordpress.org/browser/my-
 life/0.3/library/functions/comments.php#L165 example] in
 [https://wordpress.org/themes/my-life/ My Life] theme.

 We should make sure that `'submit_button'` and `'submit_field'` are still
 in the array after it's filtered.

--

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


More information about the wp-trac mailing list