Changeset 10648
- Timestamp:
- 02/08/2021 06:27:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wp-themes.com/public_html/wp-content/mu-plugins/pub/starter-content.php
r10538 r10648 81 81 // If a theme causes problems, this can block loading. 82 82 $blocked_themes = array( 83 'posterity', // Customizer polyfill causes E_ERROR: Cannot redeclare posterity_get_user_css()83 'posterity', // +child themes - Customizer polyfill causes E_ERROR: Cannot redeclare posterity_get_user_css() 84 84 'finedine', // Customizer polyfill causes E_ERROR: Uncaught Error: Call to a member function add_partial() on bool 85 85 ); 86 86 87 return ( 88 ! $blocked_themes || 89 ! in_array( get_stylesheet(), $blocked_themes ) 90 ); 87 if ( 88 in_array( get_stylesheet(), $blocked_themes ) || 89 in_array( get_template(), $blocked_themes ) 90 ) { 91 return false; 92 } 93 94 return true; 91 95 } 92 96
Note: See TracChangeset
for help on using the changeset viewer.