[wp-trac] [WordPress Trac] #34829: Press This - Standard editor redirect broken in version 4.3
WordPress Trac
noreply at wordpress.org
Wed Dec 2 08:29:15 UTC 2015
#34829: Press This - Standard editor redirect broken in version 4.3
--------------------------+-----------------------------
Reporter: finnj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Press This | Version: 4.3.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
In version 4.2.5 Press This uses get_edit_post_link() to get the link to
the standard editor, this has changed in 4.3.1, where it links to the
standard post edit screen in the admin panel (the filter is not executed).
In my plugin Frontier Post I have used the filter get_edit_post_link() to
change the standard editor to be the front end editor (Frontier Post) -
This is now reported broken by users.
Please use the get_edit_post_link() filter again.
Code from ver 4.2.5 (class-wp-press-this.php)
{{{
</button>
<a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>"
class="edit-post-link" style="display: none;" target="_blank"><?php _e(
'Standard Editor' ); ?></a>
}}}
This has been removed in version 4.3.1
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34829>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list