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

WordPress Trac noreply at wordpress.org
Thu Oct 5 22:41:02 UTC 2023


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

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56790" 56790]:
 {{{
 #!CommitTicketReference repository="" revision="56790"
 HTML API: Rename `WP_HTML_Processor::createFragment()` to follow WPCS.

 `WP_HTML_Processor::create_fragment()` is the correct method name as per
 the WordPress PHP coding standards.

 Follow-up to [56274].

 Props dmsnell, jrf, hellofromTonya, SergeyBiryukov.
 Fixes #59547.
 }}}

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


More information about the wp-trac mailing list