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

WordPress Trac noreply at wordpress.org
Thu Oct 5 17:47:11 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 dmsnell):

 Thanks all for catching this. I was head's down in the HTML5 spec and
 copying its idiom. I'll review to make sure there are no missed
 references, but assuming this passes tests and the code has been changed I
 approve. I'll come back later once I've ran my assessment, but I don't
 think this ticket needs to wait to merge on that account.

 Thanks for the explanation on WPCS/PHPCS as well. I'll try and pay extra
 attention to methods in extending classes because of this.

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


More information about the wp-trac mailing list