[wp-trac] [WordPress Trac] #13860: Twenty Ten: Odd CSS rule messes with password protected form for galleries
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 13 15:09:31 UTC 2010
#13860: Twenty Ten: Odd CSS rule messes with password protected form for galleries
--------------------------+-------------------------------------------------
Reporter: nacin | Owner: iammattthomas
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: WordPress.org site
Component: Themes | Version: 3.0
Severity: trivial | Keywords:
--------------------------+-------------------------------------------------
Changes (by zeo):
* owner: => iammattthomas
* priority: lowest => normal
* status: new => assigned
Comment:
It's never a good idea to change p element to be inline. There are a
couple more scenario to prove that. For example if a plugin or theme tries
hook something to the_content or the_excerpt it will be inline along with
the content summary.
There are 2 ways to fix this:
1) Delete the rule. see 13860.diff[[BR]]
2) Create a custom filter for the_content() and the_excerpt() to add "This
gallery contains n photos." in-line with the original content.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13860#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list