[wp-trac] [WordPress Trac] #53578: Remove unnecessary function_exists check in `get_the_block_template_html`

WordPress Trac noreply at wordpress.org
Sat Jul 3 15:14:38 UTC 2021


#53578: Remove unnecessary function_exists check in `get_the_block_template_html`
------------------------------------------+---------------------
 Reporter:  walbo                         |       Owner:  jorbin
     Type:  enhancement                   |      Status:  closed
 Priority:  normal                        |   Milestone:  5.8
Component:  Editor                        |     Version:  trunk
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+---------------------
Changes (by jorbin):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51325" 51325]:
 {{{
 #!CommitTicketReference repository="" revision="51325"
 Remove unnecessary function_exists check in get_the_block_template_html

 Merges [51321] to the 5.8 branch. Reviewed by SergeyBiryukov.

 WordPress can be confident that WordPress functions exist.

 I forgot this function existed.
 And I thought that it would fatal, but it didn't
 And it was so nice
 So peaceful and quiet
 I forgot this function existed
 It isn't love, it isn't hate, it's just indifference

 Introduced in [51003].

 Props walbo.
 Fixes #53578. See #53176.
 }}}

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


More information about the wp-trac mailing list