[wp-trac] [WordPress Trac] #21942: Make twentytwelve_frontpage_sidebar_class() pluggable/filterable
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 20 17:30:25 UTC 2012
#21942: Make twentytwelve_frontpage_sidebar_class() pluggable/filterable
-----------------------------+-------------------------
Reporter: mrwweb | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Themes
Version: trunk | Severity: normal
Keywords: needs-patch |
-----------------------------+-------------------------
I'm making a Twenty Twelve child theme and wanted to add a third column to
the sidebar. If using the third column, this plugin would still output the
"two" class.
Hence, I think twentytwelve_frontpage_sidebar_class() should be pluggable.
Alternately, the $classes array could be filterable, but I think that's
more complicated than it needs to be.
I see no reason ''not'' to make the function pluggable, but am open to
others' thoughts. I'll add a patch later today or tomorrow if no one beats
me to it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21942>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list