Skip to:
Content

bbPress.org

Changeset 5490


Ignore:
Timestamp:
09/10/2014 10:57:11 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Remove remaining 'Reply To' references in reply post_title's.

(Now that posts can have empty titles, this is no longer necessary. It also yielded undesired single reply slugs, though they are only exposed to moderators and keymasters.)

Hat tip netweb.

Location:
trunk/src/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/includes/replies/functions.php

    r5476 r5490  
    13681368                wp_update_post( array(
    13691369                    'ID'          => $move_reply->ID,
    1370                     'post_title'  => sprintf( __( 'Reply To: %s', 'bbpress' ), $destination_topic->post_title ),
     1370                    'post_title'  => '',
    13711371                    'post_name'   => false, // will be automatically generated
    13721372                    'post_parent' => $destination_topic->ID,
  • TabularUnified trunk/src/includes/topics/functions.php

    r5489 r5490  
    16951695            wp_update_post( array(
    16961696                'ID'          => $reply->ID,
    1697                 'post_title'  => sprintf( __( 'Reply To: %s', 'bbpress' ), $destination_topic->post_title ),
     1697                'post_title'  => '',
    16981698                'post_name'   => false, // will be automatically generated
    16991699                'post_parent' => $destination_topic->ID,
Note: See TracChangeset for help on using the changeset viewer.