[wp-trac] [WordPress Trac] #12986: Enhancement to comments_popup_link()
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 13 06:25:14 UTC 2010
#12986: Enhancement to comments_popup_link()
-----------------------------+----------------------------------------------
Reporter: zeo | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Unassigned
Component: Comments | Version:
Severity: normal | Keywords: has-patch
-----------------------------+----------------------------------------------
Currently "Comments Off" is wrap with <span> tag, but not "Enter your
password to view comments." if post requires password.
The idea is to wrap "Enter your password to view comments." with span tag,
have its own css class e.g enter-password. Also adds $css_class if set.
This way, theme author can easily style it based on post / comment status
condition.
And add another paramater $password so that theme author can customize the
text to display if post is password protected.
Need 2nd opinion with the attached patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12986>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list