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

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 22 08:39:37 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:  has-patch tested
--------------------------+-------------------------------------------------

Comment(by azaozz):

 The second patch looks good but what's the point in using optional args
 (non-translatable too) then creating $defaults array and running it
 through `wp_parse_args()`? The optional args will always overwrite the
 defaults.

 Changed it a bit so the defaults aren't overwritten when calling
 `posts_nav_link()` without arguments.

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


More information about the wp-trac mailing list