[wp-trac] [WordPress Trac] #12721: Allow post_type's _edit_link to be outside of the admin.

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 26 13:07:50 UTC 2010


#12721: Allow post_type's _edit_link to be outside of the admin.
-------------------------+--------------------------------------------------
 Reporter:  prettyboymp  |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.0      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 get_edit_post_link runs the post_type's _edit_link through admin_url()
 always forcing the edit page to be within wp-admin.  There are times where
 this isn't desired.  I'm submitting a patch to check that the url of the
 _edit_link doesn't begin with http(s?): before running it through
 admin_url

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


More information about the wp-trac mailing list