mirror of
https://gh.wpcy.net/https://github.com/WordPress/create-block-theme.git
synced 2026-04-25 12:02:15 +08:00
* Add a field for required wordpress version. * Add a minimum required version if none exists. * Sanitize the requires_wp attribute. * Use SelectControl instead of TextControl and rename attribute to requires_wp. * Update includes/create-theme/theme-styles.php Co-authored-by: Grant Kinney <creativecoder@users.noreply.github.com> * Try generating the minimum versions instead. * Ensure Required WP version is updated when readme is updated. * Use current wordpress version if none is provided. * Use a dynamic value for Requires at least when theme readme and style.css are created. * Make variable names consistent. * Check for empty string and use current wordpress version as fallback. * Add minimum version to additional metadata panel. --------- Co-authored-by: Grant Kinney <creativecoder@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| CbtThemeLocale | ||
| CbtThemeReadme | ||
| data | ||
| bootstrap.php | ||
| test-theme-fonts.php | ||
| test-theme-media.php | ||
| test-theme-templates.php | ||
| test-theme-utils.php | ||