Plugin Directory

Changeset 2030390


Ignore:
Timestamp:
02/14/2019 09:56:53 AM (7 years ago)
Author:
travisrenn
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chartnerd/trunk/chartnerd.php

    r2030383 r2030390  
    7272    {
    7373        global $wp_version;
    74        if (version_compare($wp_version, '4.9.9') >= 0) {
    75             if ( array_key_exists( 'ssdapi', $wp->query_vars ) ) {
     74      if ( array_key_exists( 'ssdapi', $wp->query_vars ) ) {
    7675               include 'ssd-template.php';
    7776               exit();
    78           }
    79        }else{
    80            if ( in_array( 'stripe-dashboard', $wp->query_vars ) ) {
     77          }elseif ( in_array( 'stripe-dashboard', $wp->query_vars ) ) {
    8178               include 'ssd-template.php';
    8279               exit();
    83             }
    84        }
     80        }
    8581        return;
    8682    }
Note: See TracChangeset for help on using the changeset viewer.