[wp-trac] [WordPress Trac] #38601: get_locale() declares unused $wpdb global

WordPress Trac noreply at wordpress.org
Tue Nov 1 07:37:31 UTC 2016


#38601: get_locale() declares unused $wpdb global
-----------------------------+-------------------------
 Reporter:  johnjamesjacoby  |       Owner:  swissspidy
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.7
Component:  I18N             |     Version:  trunk
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+-------------------------
Changes (by swissspidy):

 * owner:   => swissspidy
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39067"]:
 {{{
 #!CommitTicketReference repository="" revision="39067"
 I18N: Remove unused `$wpdb` global from `get_locale()` after [39005].

 Originally added in [38976], but reverted soon after.

 Props johnjamesjacoby.
 Fixes #38601.
 }}}

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


More information about the wp-trac mailing list