Skip to content

Commit

Permalink
v1.0.10: Version bump and change log update
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-viget committed Nov 14, 2024
1 parent add5ab3 commit bfbcd01
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ ddev delete project-name -O -y && cd ../ && rm -rf project-name

## Changelog

### v1.0.10
* Fixed a bug preventing WordPress Database install.
* Some relatively harmless error message suppression.

### v1.0.9
* Alternative method for identifying elements on dark background
* Cleanup Navigation Container component, moved styles into CSS file.
Expand Down
4 changes: 2 additions & 2 deletions bin/composer-scripts/ProjectEvents/PostInstallScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private static function deleteCorePlugins(): void {
* @return void
*/
private static function deletePlugin( string $plugin ): void {
if ( false === shell_exec( sprintf( 'wp plugin is-installed %s', escapeshellarg( $plugin ) ) ) ) {
if ( false === shell_exec( sprintf( 'wp plugin is-installed %s >/dev/null 2>&1', escapeshellarg( $plugin ) ) ) ) {
return;
}

Expand Down Expand Up @@ -495,7 +495,7 @@ private static function updateSiteDescription(): void {
*/
private static function activateTheme(): void {
$slug = self::$env['PROJECT_SLUG'] ?? basename( self::$env['VITE_PROJECT_DIR'] ) ?? '';
if ( ! $slug || false === shell_exec( sprintf( 'wp theme is-installed %s', escapeshellarg( $slug ) ) ) ) {
if ( ! $slug || false === shell_exec( sprintf( 'wp theme is-installed %s >/dev/null 2>&1', escapeshellarg( $slug ) ) ) ) {
self::writeWarning( 'Skipping theme activation. Theme "' . $slug . '" not found.' );
return;
}
Expand Down
2 changes: 1 addition & 1 deletion packages.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"package": {
"name": "viget/wordpress-site-starter",
"version": "1.0.9",
"version": "1.0.10",
"source": {
"url": "/root/path/not/relative/path/to/wordpress-site-starter/.git",
"type": "git",
Expand Down

0 comments on commit bfbcd01

Please sign in to comment.