[wp-trac] [WordPress Trac] #11157: Add sidebar descriptions to sidebar settings and widget admin screen
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 19 04:11:06 UTC 2009
#11157: Add sidebar descriptions to sidebar settings and widget admin screen
--------------------------+-------------------------------------------------
Reporter: jeremyclarke | Owner: azaozz
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 2.9
Component: Widgets | Version:
Severity: normal | Keywords: has-patch tested commit
--------------------------+-------------------------------------------------
Comment(by jeremyclarke):
I did it that way to be the same as {{{wp_widget_description()}}}, which
is also why I put it in that file (its right below).
IMHO its worth having it as its own function, an example use would be to
display the description in a theme when a sidebar is missing, rather than
having default content:
{{{
if (!dynamic_sidebar('complex') {
echo "<div class="widget">";
wp_sidebar_description();
echo "</div> \n";
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11157#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list