[wp-trac] [WordPress Trac] #38648: No-op edit_post_link() when in a customizer preview

WordPress Trac noreply at wordpress.org
Thu Nov 3 22:43:49 UTC 2016


#38648: No-op edit_post_link() when in a customizer preview
--------------------------+--------------------------
 Reporter:  helen         |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39133"]:
 {{{
 #!CommitTicketReference repository="" revision="39133"
 Customize: No-op `edit_post_link()` when in customizer preview.

 Edit links can be restored in plugins by removing the
 `__return_empty_string` function from the `get_edit_post_link` filter at
 the `customize_preview_init` action.

 Fixes #38648.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38648#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list