[wp-trac] [WordPress Trac] #46300: Return type/value of get_site is not being checked in wp_insert_site

WordPress Trac noreply at wordpress.org
Tue Mar 5 20:35:04 UTC 2019


#46300: Return type/value of get_site is not being checked in wp_insert_site
--------------------------------+-----------------------------
 Reporter:  david.binda         |       Owner:  SergeyBiryukov
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  5.1.1
Component:  Networks and Sites  |     Version:  5.1
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch commit    |     Focuses:  multisite
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"44799" 44799]:
 {{{
 #!CommitTicketReference repository="" revision="44799"
 Networks and Sites: Check the result of `get_site()` in
 `wp_insert_site()`.

 Props davidbinda, vanyukov, lukecarbis.
 Fixes #46300.
 }}}

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


More information about the wp-trac mailing list