Skip to:
Content

BuddyPress.org

Changeset 9472


Ignore:
Timestamp:
02/11/2015 12:31:33 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Update bp_blogs_creation_location() to use bp_get_blogs_directory_permalink(). See #4954.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-filters.php

    r9218 r9472  
    4242     * @param string $value URL for the 'Create a new site' signup page.
    4343     */
    44     return apply_filters( 'bp_blogs_creation_location', trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_root_slug() . '/create', $url ) );
     44    return apply_filters( 'bp_blogs_creation_location', trailingslashit( bp_get_blogs_directory_permalink() . 'create' ), $url );
    4545}
    4646add_filter( 'wp_signup_location', 'bp_blogs_creation_location' );
Note: See TracChangeset for help on using the changeset viewer.