[wp-trac] [WordPress Trac] #21995: (get/the)_archive_title and (get/the)_archive_description functions
WordPress Trac
noreply at wordpress.org
Sun Mar 3 21:45:03 UTC 2013
#21995: (get/the)_archive_title and (get/the)_archive_description functions
------------------------------------+------------------
Reporter: thomask | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.6
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------
Comment (by DrewAPicture):
Replying to [comment:17 mdgl]:
> There is just a small typo in the latest patch:
>
> {{{
> $after = sprintf( '</%x>', $container );
> }}}
>
> which should of course use the `%s` type specifier rather than `%x`.
Done in [attachment:21995.3.diff]
> In fact, I suspect that if `$container` is empty the code should leave
both `$before` and `$after` completely empty as well.
It is now. Defaults to span, but if you specify `$container` as empty
it'll output nothing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21995#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list