[wp-trac] [WordPress Trac] #55634: Editor: Update build_comment_query_vars_from_block to handle unapproved comments

WordPress Trac noreply at wordpress.org
Wed Apr 27 18:21:57 UTC 2022


#55634: Editor: Update build_comment_query_vars_from_block to handle unapproved
comments
-------------------------+-----------------------------
 Reporter:  darerodz     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The `build_comment_query_vars_from_block` function has been updated
 recently in Gutenberg (see
 https://github.com/WordPress/gutenberg/pull/40612), where we solved a
 problem with comment previews not being rendered.

 Some PHP unit tests related to that function are failing there because
 that function is already defined in WordPress 6.0, so, in order to make
 those tests work, we have to backport first the changes in that function
 into WordPress, as explained in
 https://github.com/WordPress/gutenberg/pull/40612#issuecomment-1110107499.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55634>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list