[wp-trac] Re: [WordPress Trac] #6747: function maybe_create_table()
declared in two files
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 10 23:08:25 GMT 2008
#6747: function maybe_create_table() declared in two files
------------------------+---------------------------------------------------
Reporter: mastermind | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.7
Component: General | Version: 2.6
Severity: blocker | Resolution:
Keywords: has-patch |
------------------------+---------------------------------------------------
Changes (by azaozz):
* version: 2.5 => 2.6
Comment:
Don't think install-helper.php was meant to be used by plugins that need
to create tables. There's dbDelta() defined in upgrade.php for this.
Still, wrapping these functions in !function_exists() just in case.
--
Ticket URL: <http://trac.wordpress.org/ticket/6747#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list