- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
341 B
PHP
Executable File
17 lines
341 B
PHP
Executable File
<?php declare(strict_types = 1);
|
|
/**
|
|
* Class representing a theme stylesheet component.
|
|
*
|
|
* @package query-monitor
|
|
*/
|
|
|
|
class QM_Component_Stylesheet extends QM_Component {
|
|
public function get_name(): string {
|
|
if ( is_child_theme() ) {
|
|
return __( 'Child Theme', 'query-monitor' );
|
|
}
|
|
|
|
return __( 'Theme', 'query-monitor' );
|
|
}
|
|
}
|