| @@ -1810,9 +1810,9 @@ | ||
| 1810 | 1810 | '<span aria-hidden="true">—</span><span class="screen-reader-text">%s</span>', |
| 1811 | 1811 | esc_html__( 'No stats', 'jetpack' ) |
| 1812 | 1812 | ); |
| 1813 | 1813 | } else { |
| 1814 | - $stats_post_url = 'wp-admin' === get_option( 'wpcom_admin_interface' ) | |
| 1814 | + $stats_post_url = ! ( new Host() )->is_woa_site() && Stats_Options::get_option( 'enable_odyssey_stats' ) | |
| 1815 | 1815 | ? admin_url( sprintf( 'admin.php?page=stats#!/stats/post/%d/%d', $post_id, Jetpack_Options::get_option( 'id', 0 ) ) ) |
| 1816 | 1816 | : Redirect::get_url( |
| 1817 | 1817 | 'calypso-stats-post', |
| 1818 | 1818 | array( |