#35834 closed feature request (duplicate)
Return post/page permalink in the post object
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Posts, Post Types | Keywords: | |
| Focuses: | Cc: |
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.
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