Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/03/2012 09:12:24 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Rewrites:

  • Introduce unique rewrite tags and rules for user topics and replies.
  • Fixes conflict with topic and reply post type rules.
  • Fixes bug where user topics and replies pages were not working on some installations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/functions.php

    r4249 r4321  
    395395
    396396/**
     397 * Return the unique ID for user topics rewrite rules
     398 *
     399 * @since bbPress (r4321)
     400 * @return string
     401 */
     402function bbp_get_user_topics_rewrite_id() {
     403    return bbpress()->tops_id;
     404}
     405
     406/**
     407 * Return the unique ID for user replies rewrite rules
     408 *
     409 * @since bbPress (r4321)
     410 * @return string
     411 */
     412function bbp_get_user_replies_rewrite_id() {
     413    return bbpress()->reps_id;
     414}
     415
     416/**
    397417 * Return the unique ID for user caps rewrite rules
    398418 *
Note: See TracChangeset for help on using the changeset viewer.