[wp-trac] Re: [WordPress Trac] #9094: posts_nav_link() vs. empty <p></p>'s

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 7 04:16:49 GMT 2009


#9094: posts_nav_link() vs. empty <p></p>'s
--------------------------+-------------------------------------------------
 Reporter:  jidanni       |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  lowest        |   Milestone:  2.8      
Component:  Template      |     Version:  2.7.1    
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------

Comment(by sivel):

 I'm thinking adding $before, $after args to the function may be a good way
 to go.  You could include the <p> tags in the $before and $after which
 would only be output if the links are output.  I need to look at the code
 more carefully, but seems feasible.

 What is your opinion?

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


More information about the wp-trac mailing list