[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:36:34 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
--------------------------------+-----------------------------

Comment (by SergeyBiryukov):

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

 Props davidbinda, vanyukov, lukecarbis.
 Merges [44799] to the 5.1 branch.
 Fixes #46300.
 }}}

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


More information about the wp-trac mailing list