[wp-trac] [WordPress Trac] #37418: upgrade.php raises Notice message when include by user.
WordPress Trac
noreply at wordpress.org
Wed Jul 20 03:06:33 UTC 2016
#37418: upgrade.php raises Notice message when include by user.
----------------------------+-----------------------------
Reporter: hogetan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.5.3
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
I used dbDelta(), Notice was raised.
{{{
Notice: Undefined offset: 1 in /Users/yousan/Sites/example.com/wp-
admin/includes/upgrade.php on line 2225
}}}
The code is lead by codex.
https://codex.wordpress.org/Creating_Tables_with_Plugins
{{{#!php
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
dbDelta( $sql );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37418>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list