[wp-trac] [WordPress Trac] #59547: Rename WP_HTML_Processor::createFragment() to follow the coding standards

WordPress Trac noreply at wordpress.org
Thu Oct 5 12:53:53 UTC 2023


#59547: Rename WP_HTML_Processor::createFragment() to follow the coding standards
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  6.4
Component:  HTML API        |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by jrf):

 @SergeyBiryukov I've had a quick look at the patch and based on the patch
 alone (without having done a code search), it looks good.

 As this is a new method introduced in WP 6.4.0, i.e. a method which has
 not been in a published release yet, I think it's okay to rename the
 method without adding a stub deprecating the original name.

 I do wonder if this should be mentioned somewhere in case people have
 already started building/adjusting code based on the first WP 6.4 beta
 releases ?

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


More information about the wp-trac mailing list