Changeset 59968 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 03/11/2025 12:31:07 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r59872 r59968 1577 1577 */ 1578 1578 public function is_block_theme() { 1579 if ( ! did_action( 'setup_theme' ) ) { 1580 _doing_it_wrong( __METHOD__, __( 'This method should not be called before themes are set up.' ), '6.8.0' ); 1581 return false; 1582 } 1583 1579 1584 if ( isset( $this->block_theme ) ) { 1580 1585 return $this->block_theme;
Note: See TracChangeset
for help on using the changeset viewer.