PluginProbe
Friends / 4.3.2
Friends v4.3.2
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
← All changes | includes/class-frontend.php +5 -0 4.3.14.3.2 View file →
@@ -2220,8 +2220,13 @@
2220 2220 if ( 'friends' !== $is_friends ) {
2221 2221 return $query;
2222 2222 }
2223 2223
2224 + if ( isset( $pagename_parts[0] ) && 'settings' === $pagename_parts[0] ) {
2225 + wp_safe_redirect( self_admin_url( 'admin.php?page=friends-settings' ) );
2226 + exit;
2227 + }
2228 +
2224 2229 // Not available for the general public or friends.
2225 2230 $viewable = $this->has_required_priviledges() && Friends::on_frontend();
2226 2231 if ( $query->is_feed() ) {
2227 2232 // Feeds can be viewed through extra authentication.