[wp-trac] [WordPress Trac] #31042: WPDB field_types Variable Too Broad?
WordPress Trac
noreply at wordpress.org
Sat Jan 17 03:07:51 UTC 2015
#31042: WPDB field_types Variable Too Broad?
-------------------------+-----------------------------
Reporter: njkrut | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I was wondering if it might make sense to tie the field_types format
definitions to tables and columns instead of just columns. As people use
WordPress more there may be situations like the one I encountered today
where columns of their enhancement tables overlap with those of WordPress'
default tables. In my situation my user_id was more of a guid so it was a
string that was being formatted to a decimal. While this might not be a
common problem with the overhead it would take to change it to a
multidimensional array it might make sense.
If this is something others would find useful or practical I would be
happy to rework the code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31042>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list