[wp-trac] [WordPress Trac] #16756: PHP5-port - Access Violations on wpdb::$prefix
WordPress Trac
noreply at wordpress.org
Thu Aug 15 11:27:58 UTC 2013
#16756: PHP5-port - Access Violations on wpdb::$prefix
-------------------------+-----------------------
Reporter: hakre | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.7
Component: Database | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by SergeyBiryukov):
Replying to [comment:13 nacin]:
> We also have $wpdb->get_blog_prefix() (with no arguments). Maybe all
usage of $wpdb->prefix should start wrapping that function — potentially
even having it set via a magic getter.
Then maybe [attachment:16756.patch] is the way to go.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16756#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list