[wp-trac] [WordPress Trac] #22352: Update get_permalink() to allow for permalink structure argument

WordPress Trac noreply at wordpress.org
Sat Nov 3 00:55:09 UTC 2012


#22352: Update get_permalink() to allow for permalink structure argument
-------------------------------------------------+-------------------------
 Reporter:  doublesharp                          |       Type:  enhancement
   Status:  new                                  |   Priority:  normal
Milestone:  Awaiting Review                      |  Component:  Permalinks
  Version:  trunk                                |   Severity:  normal
 Keywords:  has-patch needs-testing dev-         |
  feedback                                       |
-------------------------------------------------+-------------------------
 This patch allows for an optional custom permalink structure argument to
 the get_permalink() function, which would be used for the permalink
 generation in place of the structure saved in the "permalink_structure"
 option. Useful for showing what a permalink for a post/page would look
 like with a new structure, or for updating content when permalink
 structures change.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22352>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list