WordPress.org

Make WordPress Core

Changeset 20710


Ignore:
Timestamp:
05/03/2012 01:15:18 AM (8 years ago)
Author:
nacin
Message:

Add a filter to wp_terms_checklist() that wraps the function's arguments.

Mainly designed to allow checked_ontop to be turned off.

props husobj.
fixes #20054.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r20349 r20710  
    9797        'checked_ontop' => true
    9898    );
     99    $args = apply_filters( 'wp_terms_checklist_args', $args, $post_id );
     100
    99101    extract( wp_parse_args($args, $defaults), EXTR_SKIP );
    100102
Note: See TracChangeset for help on using the changeset viewer.