Opened 15 years ago
Closed 9 years ago
#10856 closed enhancement (maybelater)
Move unessential comment fields to the comment meta table
Reported by: | scribu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9 |
Component: | Comments | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
The wp_comments table has 3 less-used fields that would be better placed in the new commentmeta table. These are:
- comment_author_IP
- comment_agent
- comment_karma
Attachments (1)
Change History (11)
#2
@
15 years ago
- Keywords dev-feedback added
- Version set to 2.9
Any chance of this in 2.9? With windows 7, The user agents are starting to grow.. making the field longer in the comments table works around it.. but storing meta as meta would be better way forward.
this patch could do with a compat to merge commentmeta with the $comments object if thats not already done.
#4
follow-up:
↓ 8
@
15 years ago
Imo, the IP address should stay in the comments table. It's potentially useful in there in order to mass-delete spammy comments.
#8
in reply to:
↑ 4
@
13 years ago
- Cc mitcho@… added
Replying to Denis-de-Bernardy:
Imo, the IP address should stay in the comments table. It's potentially useful in there in order to mass-delete spammy comments.
Well, getting that data should just be one join away. It's not worth keeping that column in this table just for that reason. We should optimize for the 90% use case.
Related: #10747