[wp-meta] [Making WordPress.org] #2786: Follow link: JS error, JS confirm, and inability to unfollow
Making WordPress.org
noreply at wordpress.org
Wed Jan 24 05:47:19 UTC 2018
#2786: Follow link: JS error, JS confirm, and inability to unfollow
--------------------------------------+-----------------------
Reporter: afercia | Owner:
Type: defect | Status: assigned
Priority: low | Milestone:
Component: Make (Get Involved) / P2 | Resolution:
Keywords: |
--------------------------------------+-----------------------
Changes (by pento):
* owner: pento =>
Comment:
In `mu-plugins/pub/jetpack-follow-link-for-o2.php`, add this before the
final `die` in `handle_following_action()`.
(I saw you were shuffling these plugins around, so I haven't made the
change. Also, I'm AFK from the end of this week.)
{{{#!php
// Echo success if this was an AJAX request, otherwise redirect
if ( isset( $_GET['ajax'] ) ) {
echo '1';
} else {
wp_safe_redirect( get_permalink( $post_id ) );
}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2786#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list