[wp-trac] Re: [WordPress Trac] #6492: Guids No Longer Have Permalink Format

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 28 08:51:43 GMT 2009


#6492: Guids No Longer Have Permalink Format
--------------------------+-------------------------------------------------
 Reporter:  brianwhite    |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  reopened 
 Priority:  normal        |    Milestone:  2.9      
Component:  General       |      Version:  2.5      
 Severity:  trivial       |   Resolution:           
 Keywords:  dev-feedback  |  
--------------------------+-------------------------------------------------
Comment (by fix22):

 This is causing issues for a plugin I developed. It used the wp_posts.guid
 to get the full permalink to a post.

 How can I get the permalink from the database now? If I retrieve this
 field in wp2.5+ it only comes back with a ugly permalink (/?=post_nr) (not
 a proper rewritten one as in /%postname%/)

 Also, the documentation says that this is still the permalink:
 http://codex.wordpress.org/Function_Reference/get_post

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6492#comment:23>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list