Make WordPress Core


Ignore:
Timestamp:
02/02/2008 07:22:14 PM (14 years ago)
Author:
ryan
Message:

Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r6493 r6712  
    6161foreach ( $filters as $filter ) {
    6262    add_filter($filter, 'sanitize_title');
     63}
     64
     65// Keys
     66$filters = array('pre_post_type');
     67foreach ( $filters as $filter ) {
     68    add_filter($filter, 'sanitize_user');
    6369}
    6470
Note: See TracChangeset for help on using the changeset viewer.