[wp-trac] [WordPress Trac] #37771: Scrutinizer in 4.7

WordPress Trac noreply at wordpress.org
Mon Aug 22 21:09:05 UTC 2016


#37771: Scrutinizer in 4.7
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  4.7
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"38314"]:
 {{{
 #!CommitTicketReference repository="" revision="38314"
 Database: `WP_Network`, `WP_Network_Query`, and `WP_Site_Query` call
 `wpdb::_escape()`, thus requiring it to be `public`. It previously had no
 access modifier. `_` at the beginning of a method, believe it or not, does
 not enforce visibility constraints.

 See #37771.
 }}}

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


More information about the wp-trac mailing list