[wp-trac] [WordPress Trac] #18729: No HTML Classes/IDs Associated With get_the_password_form() Output

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 21 11:10:42 UTC 2011


#18729: No HTML Classes/IDs Associated With get_the_password_form() Output
-------------------------------------+------------------------------
 Reporter:  philiparthurmoore        |       Owner:
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.2.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch westi-likes  |
-------------------------------------+------------------------------

Comment (by philiparthurmoore):

 Replying to [comment:1 SergeyBiryukov]:
 > If a theme uses `post_class()`, it should be possible to style the form
 using
 > `.post-password-required form`.

 Yes, but on index.php and archive.php-generated pages that have multiple
 password-protected posts it would be useful to have more fine-grained
 control over the forms. Also, there may be other forms/input on password
 protected pages/posts that may be adversely affected by using the body
 class to style those inputs. Cheers.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18729#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list