[wp-trac] Re: [WordPress Trac] #9963: get_permalink() returns wrong
link outside The Loop
WordPress Trac
wp-trac at lists.automattic.com
Fri May 29 02:52:54 GMT 2009
#9963: get_permalink() returns wrong link outside The Loop
--------------------------+-------------------------------------------------
Reporter: fmorel90 | Owner: ryan
Type: defect (bug) | Status: closed
Priority: high | Milestone:
Component: Permalinks | Version: 2.8
Severity: major | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Changes (by ryan):
* status: new => closed
* resolution: => invalid
Comment:
{{{
esc_url( wp_logout_url( $_SERVER['REQUEST_URI'] ) )
}}}
You probably need something more like that. get_permalink() is not
intended to be used like this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9963#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list