[wp-trac] [WordPress Trac] #11028: Remove get_the_content / wp_link_pages dead code

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 25 21:50:25 UTC 2009


#11028: Remove get_the_content / wp_link_pages dead code
----------------------------------------+-----------------------------------
 Reporter:  filosofo                    |        Owner:  ryan    
     Type:  defect (bug)                |       Status:  reopened
 Priority:  normal                      |    Milestone:  2.9     
Component:  Template                    |      Version:  2.9     
 Severity:  normal                      |   Resolution:          
 Keywords:  has-patch $more_file $file  |  
----------------------------------------+-----------------------------------

Comment(by westi):

 Replying to [comment:3 filosofo]:
 > Replying to [comment:2 westi]:
 > > Should we not keep the last argument but mark it as deprecated in case
 anyone was calling the function with that argument set?
 >
 > No, because calling it with that argument doesn't do anything.  What
 difference does it make if they call it or not?

 Do you not get an error about incorrect number of arguments - if not why
 are we keeping other deprecated args on functions.

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


More information about the wp-trac mailing list