[wp-trac] [WordPress Trac] #45975: wp_check_mysql_version should use wp_die

WordPress Trac noreply at wordpress.org
Wed Mar 27 14:02:53 UTC 2019


#45975: wp_check_mysql_version should use wp_die
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |       Owner:  SergeyBiryukov
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  5.2
Component:  Database      |     Version:  2.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"45030" 45030]:
 {{{
 #!CommitTicketReference repository="" revision="45030"
 Database: Use `wp_die()` instead of `die()` in `wp_check_mysql_version()`,
 for more flexibility and consistency with other error messages in core.

 Props spacedmonkey.
 Fixes #45975.
 }}}

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


More information about the wp-trac mailing list