Changeset 1376

Show
Ignore:
Timestamp:
07/16/08 11:58:54 (5 months ago)
Author:
donncha
Message:

Filter "allowed_themes", props lunabyte, fixes #678

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/themes.php

    r1328 r1376  
    44$themes = get_themes(); 
    55$ct = current_theme_info(); 
    6 $allowed_themes = get_site_allowed_themes(); 
     6$allowed_themes = apply_filters("allowed_themes", get_site_allowed_themes() );  
    77if( $allowed_themes == false ) 
    88        $allowed_themes = array();