[wp-trac] [WordPress Trac] #43893: The maybe_create_table() function has two definitions
WordPress Trac
noreply at wordpress.org
Wed May 2 12:12:28 UTC 2018
#43893: The maybe_create_table() function has two definitions
--------------------------+------------------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by subrataemfluence):
Exactly. None of those functions are being used anywhere in the core. Also
the comment in the first definition of `maybe_create_table` function is
incorrect. It says:
''This method checks for an existing database and creates a new one if
it's not already present.''
while it should be
''This method checks for an **existing table in the database** and creates
a new one if it's not already present.''
May I please go for a patch? If yes, which function definition of the two
to be considered for `maybe_create_table`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43893#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list