[wp-trac] [WordPress Trac] #20194: Add Description meta to General Settings

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 7 21:54:13 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      |
-----------------------------+------------------------------

Comment (by Otto42):

 Attached patch adds the field on settings->general, whitelists the option
 (named "site_description", add two new functions "the_description" and
 "get_the_description" for use by themes, adds new filters for both, has
 the option for meta output or "html" output (which is really just
 returning the option bare for the moment), and adds a new default filter
 to wp_head to call the_description function, thus outputting the meta tag
 in the header.

 Good enough? Or is more needed?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20194#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list