Skip to content

Commit

Permalink
Fix link to the marketplace on the tabs page
Browse files Browse the repository at this point in the history
  • Loading branch information
fjorgemota committed Oct 17, 2023
1 parent 8f632db commit d0c7d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/admin/class-wp-job-manager-addons.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function output() {
?>
<div class="wrap wp_job_manager wp_job_manager_add_ons_wrap">
<nav class="nav-tab-wrapper woo-nav-tab-wrapper">
<a href="<?php echo esc_url( admin_url( 'edit.php?post_type=job_listing&page=job-manager-addons' ) ); ?>" class="nav-tab
<a href="<?php echo esc_url( admin_url( 'edit.php?post_type=job_listing&page=job-manager-marketplace' ) ); ?>" class="nav-tab
<?php
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Input is used safely.
if ( ! isset( $_GET['section'] ) || 'helper' !== $_GET['section'] ) {
Expand All @@ -134,7 +134,7 @@ public function output() {
?>
"><?php esc_html_e( 'WP Job Manager Marketplace', 'wp-job-manager' ); ?></a>
<?php if ( current_user_can( 'update_plugins' ) ) : ?>
<a href="<?php echo esc_url( admin_url( 'edit.php?post_type=job_listing&page=job-manager-addons&section=helper' ) ); ?>" class="nav-tab
<a href="<?php echo esc_url( admin_url( 'edit.php?post_type=job_listing&page=job-manager-marketplace&section=helper' ) ); ?>" class="nav-tab
<?php
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Input is used safely.
if ( isset( $_GET['section'] ) && 'helper' === $_GET['section'] ) {
Expand Down

0 comments on commit d0c7d38

Please sign in to comment.