[wp-trac] [WordPress Trac] #37082: Remove (most) uses of create_function() from core

WordPress Trac noreply at wordpress.org
Tue Dec 13 02:47:08 UTC 2016


#37082: Remove (most) uses of create_function() from core
--------------------------------+---------------------
 Reporter:  sgolemon            |       Owner:  rmccue
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.8
Component:  General             |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch upstream  |     Focuses:
--------------------------------+---------------------

Comment (by rmccue):

 In [changeset:"39592"]:
 {{{
 #!CommitTicketReference repository="" revision="39592"
 General: Correctly detect trailing newline when prepending.

 We need to check that the final line is actually an artifact of explode(),
 not just an empty input string.

 See #37082.
 }}}

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


More information about the wp-trac mailing list