[wp-trac] [WordPress Trac] #24164: Deprecate `get_permalink()`

WordPress Trac noreply at wordpress.org
Tue Apr 23 20:53:58 UTC 2013


#24164: Deprecate `get_permalink()`
-----------------------------+------------------------------
 Reporter:  ericmann         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Template         |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by Viper007Bond):

 I think deprecating it only via the phpDoc would be the way to go
 (basically aliasing it). It is simply too widely used and would throw
 warnings over everyone's development environments for no reason other than
 a name change (nothing wrong with the current function other than that).

 I'm for the alias/rename, but only a pseudo-deprecate of the current
 function.

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


More information about the wp-trac mailing list