Changeset 26891
- Timestamp:
- 01/02/2014 01:53:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r26725 r26891 180 180 // Initialize caching on first run. 181 181 if ( ! isset( self::$persistently_cache ) ) { 182 /** This action is documented in wp-includes/theme.php */ 182 183 self::$persistently_cache = apply_filters( 'wp_cache_themes_persistently', false, 'WP_Theme' ); 183 184 if ( self::$persistently_cache ) { … … 1087 1088 */ 1088 1089 public static function get_allowed( $blog_id = null ) { 1090 /** 1091 * Filter the array of themes allowed on the site or network. 1092 * 1093 * @since MU 1094 * 1095 * @param array $allowed_themes An array of theme stylesheet names. 1096 */ 1089 1097 $network = (array) apply_filters( 'allowed_themes', self::get_allowed_on_network() ); 1090 1098 return $network + self::get_allowed_on_site( $blog_id );
Note: See TracChangeset
for help on using the changeset viewer.