#35834 closed feature request (duplicate)
Return post/page permalink in the post object
| Reported by: | jamesckemp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Is there a reason that the post object doesn't contain something like "post_permalink"? If not, I think it'd be useful to have.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
At some point in the future
WP_Postwill be decorated with methods for accessing things such as the Permalink.Currently the
WP_Postinstance fields are what exist in the database, nothing extra is there.I'm closing this as maybelater for now, as there's a long list of things which prevent us adding these methods right now, some of those are covered in this ticket