Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/29/2011 07:59:03 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Introduce convenience functions for global $wp_rewrite usage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-core-compatibility.php

    r3462 r3471  
    12101210 */
    12111211function bbp_redirect_canonical( $redirect_url ) {
    1212     global $wp_rewrite;
    12131212
    12141213    // Canonical is for the beautiful
    1215     if ( $wp_rewrite->using_permalinks() ) {
     1214    if ( bbp_using_permalinks() ) {
    12161215
    12171216        // If viewing beyond page 1 of several
Note: See TracChangeset for help on using the changeset viewer.