[wp-trac] [WordPress Trac] #11314: Attribute "Alt" on images must to be improved on editor
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 4 19:58:43 UTC 2009
#11314: Attribute "Alt" on images must to be improved on editor
-------------------------+--------------------------------------------------
Reporter: metacortex | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Database | Version: 2.9
Severity: normal | Keywords: dev-feedback
-------------------------+--------------------------------------------------
Comment(by metacortex):
Replying to [comment:1 scribu]:
> You can't store the caption and the description in the same db field.
Only if we drop one or the other.
>
> Anyway, enhancements are punted to the next major release.
Hi. I mentioned more than one idea. Really they're based on one question:
Not all the images have caption or description (even title), but '''all
images''' have ALT text, so ''why to use the postmeta field for store an
element so extensive as this attribute?''. This is illogical.
For one side there are '''4 strings''' to store: '''title''', '''alt''',
'''caption''' and '''description'''; for the other side there are '''3 DB
fields''' on $wpdb->posts: '''post_title''', '''post_excerpt''' and
'''post_content'''. ALT attribute is the more queried string of those
four, so I do not understand why WP has to always check 2 tables
($wpbd->posts and $wpbd->postmeta) to retrieve the data, when otherwise
(assigning ALT to one of those 3 DB fields) the query is limited only to
'''$wpbd->post'''.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11314#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list