WordPress.org

Make WordPress Core

Changeset 15804


Ignore:
Timestamp:
10/14/2010 11:31:48 AM (9 years ago)
Author:
nacin
Message:

Use correct variable. see #13818.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r15803 r15804  
    943943        }
    944944
    945         $wp_rewrite->add_permastruct($post_type, "{$archive_slug}/%$post_type%", $args->rewrite['with_front'], $args->permalink_epmask);
     945        $wp_rewrite->add_permastruct($post_type, "{$args->rewrite['slug']}/%$post_type%", $args->rewrite['with_front'], $args->permalink_epmask);
    946946    }
    947947
Note: See TracChangeset for help on using the changeset viewer.