[wp-trac] Re: [WordPress Trac] #9132: posts_nav_link() produces
extra whitespace
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 5 01:31:08 GMT 2009
#9132: posts_nav_link() produces extra whitespace
--------------------------+-------------------------------------------------
Reporter: jidanni | Owner: anonymous
Type: defect (bug) | Status: closed
Priority: lowest | Milestone:
Component: Template | Version: 2.7
Severity: trivial | Resolution: wontfix
Keywords: |
--------------------------+-------------------------------------------------
Changes (by sivel):
* status: new => closed
* resolution: => wontfix
Comment:
This is done so that extra attributes can be added to the link via a
filter. Allowing that extra white space requires less code. To remove
that white space would take at least 2 more lines of code one of which
would be an if statement checking if $args is set or not. As this doesn't
break any validation I cannot think of a reason that this needs to be
fixed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9132#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list