[wp-trac] [WordPress Trac] #20194: Add Description meta to General Settings
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 8 01:29:28 UTC 2012
#20194: Add Description meta to General Settings
-----------------------------+------------------------------
Reporter: jane | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: minor | Resolution:
Keywords: needs-patch |
-----------------------------+------------------------------
Changes (by mbijon):
* cc: mike@… (added)
Comment:
+1 to Otto's use of types 'html' & 'meta'. If we don't add meta, then I'd
like some way to get the description's string back out (a 'text' or 'raw'
type?). It seems inevitable that someone will create a frontend convention
for this string or find some SEO value for it against an algorithm.
If we use Brian's 'html' & 'xhtml' types, this might match the current
''get_the_meta_description()'' (line 2284-9) code style better:
{{{
case 'html':
case 'xhtml':
$desc = '<meta name="description" content="' . esc_attr(
$rawdescription ) . '">';
break;
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20194#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list