diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 184f56d..eb20a58 100644 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -7,6 +7,8 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }} cancel-in-progress: true +permissions: + contents: read jobs: phplint: name: PHP Lint @@ -53,8 +55,16 @@ jobs: run: composer run phpstan phpunit: - name: PHPUnit + name: PHPUnit (PHP ${{ matrix.php-version }}, WP ${{ matrix.wp-version }}) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - php-version: '7.2' + wp-version: '6.4' + - php-version: '7.4' + wp-version: 'latest' services: mysql: image: mysql:5.7 @@ -77,7 +87,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y subversion - name: Install WordPress Test Suite run: | - bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }} + bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }} ${{ matrix.wp-version }} - name: Get Composer Cache Directory id: composer-cache run: | diff --git a/views/wizard.php b/views/wizard.php index 07516db..0c0bb67 100644 --- a/views/wizard.php +++ b/views/wizard.php @@ -38,7 +38,7 @@ __( 'Pick a template to get started.', 'wp-maintenance-mode' ), tsdk_utmify( 'https://themeisle.com/plugins/otter-blocks/', $this->plugin_slug, 'wizard' ), __( 'Otter Blocks', 'wp-maintenance-mode' ), - __( 'plugin will be installed and activated to support and customize your layout.', 'wp-maintenance-mode' ), + __( 'plugin will be installed and activated to support and customize your layout.', 'wp-maintenance-mode' ) ), wpmm_translated_string_allowed_html() ); @@ -93,9 +93,9 @@ __( 'Templates would have pre-optimized images and all of your website’s images would be delivered via Amazon Cloudfront CDN, resulting in an ≈ 80% increase in speed.', 'wp-maintenance-mode' ), esc_url( 'https://wordpress.org/plugins/optimole-wp/' ), 'Optimole', - __( 'plugin will be installed and activated.', 'wp-maintenance-mode' ), + __( 'plugin will be installed and activated.', 'wp-maintenance-mode' ) ), - wpmm_translated_string_allowed_html(), + wpmm_translated_string_allowed_html() ); ?>

@@ -121,9 +121,9 @@ __( 'Speed up your pages by 60-80% with intelligent caching. Achieve faster load times and better search rankings automatically, with', 'wp-maintenance-mode' ), esc_url( 'https://wordpress.org/plugins/wp-cloudflare-page-cache/' ), __( 'Super Page Cache', 'wp-maintenance-mode' ), - __( 'plugin installed and activated automatically.', 'wp-maintenance-mode' ), + __( 'plugin installed and activated automatically.', 'wp-maintenance-mode' ) ), - wpmm_translated_string_allowed_html(), + wpmm_translated_string_allowed_html() ); ?>