Skip to:
Content

bbPress.org

Changeset 6933


Ignore:
Timestamp:
11/12/2019 04:44:46 PM (2 years ago)
Author:
johnjamesjacoby
Message:

Repair Tools: rename forum reply hidden count function, and fix default sort order.

This commit makes sure that the priority is respected with repair tools, and renames a newly introduced function to match it's existing cohort.

Location:
trunk/src/includes/admin/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/tools/common.php

    r6926 r6933  
    542542    $orderby = ! empty( $_GET['orderby'] )
    543543        ? sanitize_key( $_GET['orderby'] )
    544         : 'order';
     544        : 'priority';
    545545
    546546    // Order
  • trunk/src/includes/admin/tools/repair.php

    r6927 r6933  
    446446 *
    447447 * @since 2.6.0 bbPress (r6922)
    448  *
    449  * @return array An array of the status code and the message
    450  */
    451 function bbp_admin_repair_forum_reply_count_hidden() {
     448 * @since 2.6.0 bbPress (r6932) Rename to match the topic reply recount function
     449 *
     450 * @return array An array of the status code and the message
     451 */
     452function bbp_admin_repair_forum_hidden_reply_count() {
    452453
    453454    // Define variables
Note: See TracChangeset for help on using the changeset viewer.