WordPress.org

Make WordPress Core

Changeset 25725


Ignore:
Timestamp:
10/08/2013 12:29:37 AM (7 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/maint/repair.php.

Props ben.moody, kpdesign.
Fixes #25500.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/maint/repair.php

    r25616 r25725  
    3939        unset( $tables['sitecategories'] );
    4040
    41     $tables = array_merge( $tables, (array) apply_filters( 'tables_to_repair', array() ) ); // Return tables with table prefixes.
     41    /**
     42     * Filter additional database tables to repair.
     43     *
     44     * @since 3.0.0
     45     *
     46     * @param array $tables Array of prefixed table names to be repaired.
     47     */
     48    $tables = array_merge( $tables, (array) apply_filters( 'tables_to_repair', array() ) );
    4249
    4350    // Loop over the tables, checking and repairing as needed.
Note: See TracChangeset for help on using the changeset viewer.