Opened 15 years ago
Closed 15 years ago
#11614 closed enhancement (fixed)
phpdoc and cleanup of deprecated $table globals
Reported by: | nacin | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | lowest |
Severity: | trivial | Version: | |
Component: | Inline Docs | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Trivial patch adds some phpdoc does slight cleanup. Alternatively, these globals can probably be removed at this point, as any plugin that uses them is doing it wrong. (Or is older than time.)
Attachments (3)
Change History (7)
#3
@
15 years ago
For 3.0 we should not fear to break things, so just drop those (if you ask me). I've reviewed current trunk if those vars are used anywhere else and next to depreceated.php those do not appear anywhere.
In case you need a handy regex to smell them:
\$table(posts|users|categories|post2cat|comments|options|postmeta)
Note: See
TracTickets for help on using
tickets.
My vote would be to remove those 2 items at least.. They're useless now.
As for the rest of the $table* vars.. I'd be tempted to say get rid of those too.. They need to be cleaned up at some point.