Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • veresku
    Participant

    @veresku

    but function bp_get_email use this code
    $args = array(
    ‘no_found_rows’ => true,
    ‘numberposts’ => 1,
    ‘post_status’ => ‘publish’,
    ‘post_type’ => bp_get_email_post_type(),
    ‘suppress_filters’ => false,

    ‘tax_query’ => array(
    array(
    ‘field’ => ‘slug’,
    ‘taxonomy’ => bp_get_email_tax_type(),
    ‘terms’ => $email_type,
    )
    ),
    );
    and searches terms by slug, in my situation $email_type = ‘core-user-registration’, but in database slug is ‘383-102’, and of course I have WP_Error.
    The question is why during creating taxonomy terms slug is broken?


    veresku
    Participant

    @veresku

    I looked at terms table, found term with name=’core-user-registration’ and I saw that slug is ‘383-102’

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar