Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20194, comment 8


Ignore:
Timestamp:
03/07/2012 09:55:04 PM (13 years ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20194, comment 8

    initial v1  
    1 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.
     1Attached patch adds the field on settings->general, whitelists the option (named "site_description"), adds 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.
    22
    33Good enough? Or is more needed?