Plugin Directory

Changeset 607989


Ignore:
Timestamp:
10/04/2012 07:22:14 PM (14 years ago)
Author:
jascott
Message:

Quit messing with the API URL's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kickpress/trunk/kickpress-functions.php

    r606941 r607989  
    234234    $defaults['month'] = get_query_var( 'monthnum' );
    235235    $defaults['day']   = get_query_var( 'day' );
     236
    236237/*
    237238    if ( is_category() ) {
     
    247248    }
    248249*/
     250
    249251    extract( wp_parse_args( $args, $defaults ), EXTR_SKIP );
    250 
    251     // Just testing: DST 6/7/2012
    252     $base_parts = explode( '?', get_pagenum_link( $page ) );
    253     $base_url = trailingslashit( $base_parts[0] );
    254252
    255253    if ( is_array( $post_type ) || 'any' == $post_type )
     
    409407        }
    410408    }
    411 
    412     // Just testing: DST 6/7/2012
    413     if ( ! empty( $api_parts ) )
    414         $base_url .= $api_trigger . '/' . implode( '/', $api_parts ) . '/';
    415     return $base_url;
    416     // End test
    417409
    418410    if ( ! empty( $api_parts ) )
Note: See TracChangeset for help on using the changeset viewer.