From 033d7b12b15c37389e86b134140b8c3f306d184e Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 26 Mar 2025 18:13:33 -0400 Subject: [PATCH 1/4] Pin full length commit SHA for 3rd party actions. This implements the recommendation to pin full length commit SHAs instead of versions or branches when using 3rd-party GitHub Actions to protect from supply chain attacks. This has been happening more often recently, with a number of popular actions having all of their tags updated with a buried vulnerability. While the new notation is more verbose, a bit ugly, and requires every update to be applied manually, we can rely on Dependabot to handle that for us to make it more manageable. --- .github/workflows/add-to-project.yml | 2 +- .github/workflows/cypress-matrix.yml | 12 ++++++------ .github/workflows/cypress-tests-beta.yml | 10 +++++----- .github/workflows/cypress-tests.yml | 14 +++++++------- .github/workflows/lint-php.yml | 8 ++++---- .github/workflows/lint-yml.yml | 4 ++-- .github/workflows/satis-webhook.yml | 2 +- .github/workflows/upload-artifact-on-push.yml | 12 ++++++------ .github/workflows/upload-asset-on-release.yml | 12 ++++++------ .github/workflows/wp-i18n.yml | 8 ++++---- 10 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 747d5f3f..a5e7387c 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -10,7 +10,7 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v1.0.2 + - uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2 with: project-url: https://github.com/orgs/newfold-labs/projects/1 github-token: ${{ secrets.PROJECT_TOKEN }} diff --git a/.github/workflows/cypress-matrix.yml b/.github/workflows/cypress-matrix.yml index ab62cc97..84ccc754 100644 --- a/.github/workflows/cypress-matrix.yml +++ b/.github/workflows/cypress-matrix.yml @@ -35,10 +35,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: php-version: '8.1' coverage: none @@ -55,7 +55,7 @@ jobs: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT - name: Use Node.js 20.x - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: node-version: 20.x cache: 'npm' @@ -65,7 +65,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer vendor directory - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -110,7 +110,7 @@ jobs: echo '{"wpVersion": "${{ matrix.wpVersion }}","phpVersion": "${{ matrix.phpVersion }}"}' > cypress.env.json - name: Install WordPress - uses: nick-fields/retry@v3 + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2 with: timeout_minutes: 4 max_attempts: 3 @@ -126,7 +126,7 @@ jobs: - name: Store screenshots of test failures if: ${{ failure() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: name: screenshots path: ./tests/cypress/screenshots diff --git a/.github/workflows/cypress-tests-beta.yml b/.github/workflows/cypress-tests-beta.yml index acf52469..a5d9b8f1 100644 --- a/.github/workflows/cypress-tests-beta.yml +++ b/.github/workflows/cypress-tests-beta.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: php-version: '8.1' coverage: none @@ -37,7 +37,7 @@ jobs: echo "DIST=${PWD}/dist" >> $GITHUB_OUTPUT echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT - name: Use Node.js 20.x - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: node-version: 20.x cache: 'npm' @@ -47,7 +47,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer vendor directory - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -104,7 +104,7 @@ jobs: - name: Store screenshots of test failures if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: name: screenshots path: ./tests/cypress/screenshots diff --git a/.github/workflows/cypress-tests.yml b/.github/workflows/cypress-tests.yml index d5c5e190..c0a0a155 100644 --- a/.github/workflows/cypress-tests.yml +++ b/.github/workflows/cypress-tests.yml @@ -28,10 +28,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: php-version: '8.1' coverage: none @@ -48,7 +48,7 @@ jobs: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT - name: Use Node.js 20.x - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: node-version: 20.x @@ -57,7 +57,7 @@ jobs: run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - name: Cache node modules - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -69,7 +69,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer vendor directory - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -109,7 +109,7 @@ jobs: run: echo '{"config":{"WP_DEBUG_DISPLAY":false},"plugins":["${{ steps.workflow.outputs.DIST }}/${{ steps.workflow.outputs.PACKAGE }}"]}' > .wp-env.override.json - name: Install WordPress - uses: nick-fields/retry@v3 + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2 with: timeout_minutes: 4 max_attempts: 3 @@ -125,7 +125,7 @@ jobs: - name: Store screenshots of test failures if: ${{ failure() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: name: screenshots path: ./tests/cypress/screenshots diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index 6fa195e0..b2b40518 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -22,17 +22,17 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # Use PHP 7.4 here for compatibility with the WordPress codesniffer rules. - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: php-version: '7.4' coverage: none tools: composer, cs2pr - - uses: technote-space/get-diff-action@v6 + - uses: technote-space/get-diff-action@f27caffdd0fb9b13f4fc191c016bb4e0632844af # v6.1.2 with: SUFFIX_FILTER: .php @@ -42,7 +42,7 @@ jobs: if: "!! env.GIT_DIFF" - name: Cache Composer vendor directory - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/lint-yml.yml b/.github/workflows/lint-yml.yml index 009b6593..e1c8349e 100644 --- a/.github/workflows/lint-yml.yml +++ b/.github/workflows/lint-yml.yml @@ -15,10 +15,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Lint yaml files - uses: ibiqlik/action-yamllint@v3 + uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1 with: config_data: > { diff --git a/.github/workflows/satis-webhook.yml b/.github/workflows/satis-webhook.yml index 7519b26f..d3051e25 100644 --- a/.github/workflows/satis-webhook.yml +++ b/.github/workflows/satis-webhook.yml @@ -22,7 +22,7 @@ jobs: run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v3 + uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0 with: token: ${{ secrets.WEBHOOK_TOKEN }} repository: newfold-labs/satis diff --git a/.github/workflows/upload-artifact-on-push.yml b/.github/workflows/upload-artifact-on-push.yml index 36e9c3fc..a517c44b 100644 --- a/.github/workflows/upload-artifact-on-push.yml +++ b/.github/workflows/upload-artifact-on-push.yml @@ -24,10 +24,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: php-version: '8.1' coverage: none @@ -44,7 +44,7 @@ jobs: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT - name: Use Node.js 20.x - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: node-version: 20.x @@ -53,7 +53,7 @@ jobs: run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - name: Cache node modules - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -65,7 +65,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer vendor directory - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -102,7 +102,7 @@ jobs: working-directory: ${{ steps.workflow.outputs.DIST }} run: find . - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: name: ${{ steps.workflow.outputs.PACKAGE }} path: ${{ steps.workflow.outputs.DIST }} diff --git a/.github/workflows/upload-asset-on-release.yml b/.github/workflows/upload-asset-on-release.yml index 8a1ed73e..a036d6ca 100644 --- a/.github/workflows/upload-asset-on-release.yml +++ b/.github/workflows/upload-asset-on-release.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Validate version number if: ${{ (github.repository == 'newfold-labs/wp-plugin-hostgator') && (github.event.release.prerelease == false) }} @@ -37,7 +37,7 @@ jobs: [[ "$taggedVersion" == "$pluginPackageVersion" ]] || exit 1 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: php-version: '8.1' coverage: none @@ -54,7 +54,7 @@ jobs: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT - name: Use Node.js 20.x - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: node-version: 20.x @@ -63,7 +63,7 @@ jobs: run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - name: Cache node modules - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -75,7 +75,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer vendor directory - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -125,7 +125,7 @@ jobs: run: zip -r ${{ steps.workflow.outputs.PACKAGE }}.zip . - name: Upload Release Asset - uses: actions/upload-release-asset@v1 + uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.21 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/wp-i18n.yml b/.github/workflows/wp-i18n.yml index 18106ed3..f6c0a57d 100644 --- a/.github/workflows/wp-i18n.yml +++ b/.github/workflows/wp-i18n.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.ref }} @@ -27,7 +27,7 @@ jobs: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: php-version: '8.1' coverage: none @@ -38,7 +38,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer vendor directory - uses: actions/cache@v4 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -46,7 +46,7 @@ jobs: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: node-version: 20.x From a1227fc9f54cc1aaa4b9f3bec4463efc3417ef4f Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Brito Date: Tue, 29 Apr 2025 13:02:24 +0100 Subject: [PATCH 2/4] Prevent _load_textdomain_just_in_time notice --- bootstrap.php | 103 ++++++++++++++++++++++++++++---------------------- 1 file changed, 57 insertions(+), 46 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index fb5bdd5e..d3ff65eb 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -62,54 +62,65 @@ function () { array( 'browser', 'skip404' ) ); -$website_guide_link = 'https://www.hostgator.com/blog/build-wordpress-website-guide/'; -$migrate_link = 'https://www.hostgator.com/help/article/hostgator-website-migration'; -$hosting_link = 'https://www.hostgator.com/blog/reasons-why-wordpress-website/'; - // Set coming soon values -$nfd_module_container->set( - 'comingsoon', - array( - 'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ), - 'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ), - 'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ), - 'template_coming_soon_links' => - '' . - __( 'How to build your WordPress Website', 'wp-plugin-hostgator' ) . - '
' . - '' . - __( 'How to Migrate a Website to Hostgator?', 'wp-plugin-hostgator' ) . - '
' . - '' . - __( 'Why choose HostGator for your WordPress site?', 'wp-plugin-hostgator' ) . - '
', - 'template_footer_t' => sprintf( - /* translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. */ - esc_html__( 'A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s.', 'wp-plugin-hostgator' ) . ' ', - '', - '', - '', - '', - '', - '' - ), - 'template_page_title' => sprintf( - /* translators: %s is Blog name */ - __( '%s — Coming Soon', 'wp-plugin-hostgator' ), - esc_html( get_option( 'blogname' ) ) - ), - 'admin_bar_text' => '
' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '
', - 'admin_notice_text' => sprintf( - /* translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. */ - __( 'Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s.', 'wp-plugin-hostgator' ), - '', - '', - '', - '' - ), - 'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ), - ) +add_filter( + 'newfold/coming-soon/filter/args', + function ( $args, $default_args ) { + + $website_guide_link = 'https://www.hostgator.com/blog/build-wordpress-website-guide/'; + $migrate_link = 'https://www.hostgator.com/help/article/hostgator-website-migration'; + $hosting_link = 'https://www.hostgator.com/blog/reasons-why-wordpress-website/'; + + $args = wp_parse_args( + array( + 'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ), + 'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ), + 'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ), + 'template_coming_soon_links' => + '' . + __( 'How to build your WordPress Website', 'wp-plugin-hostgator' ) . + '
' . + '' . + __( 'How to Migrate a Website to Hostgator?', 'wp-plugin-hostgator' ) . + '
' . + '' . + __( 'Why choose HostGator for your WordPress site?', 'wp-plugin-hostgator' ) . + '
', + 'template_footer_t' => sprintf( + /* translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. */ + esc_html__( 'A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s.', 'wp-plugin-hostgator' ) . ' ', + '', + '', + '', + '', + '', + '' + ), + 'template_page_title' => sprintf( + /* translators: %s is Blog name */ + __( '%s — Coming Soon', 'wp-plugin-hostgator' ), + esc_html( get_option( 'blogname' ) ) + ), + 'admin_bar_text' => '
' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '
', + 'admin_notice_text' => sprintf( + /* translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. */ + __( 'Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s.', 'wp-plugin-hostgator' ), + '', + '', + '', + '' + ), + 'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ), + ), + $default_args + ); + + return $args; + }, + 10, + 2 ); + setContainer( $nfd_module_container ); // Set up the updater endpoint and map values From 9ae16cf8dd4caada80f5cea8186d6bdc7631c2d2 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Brito Date: Tue, 29 Apr 2025 13:05:38 +0100 Subject: [PATCH 3/4] update coming soon to 1.5.0 --- composer.json | 2 +- composer.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 9d7139bd..3405e1f2 100644 --- a/composer.json +++ b/composer.json @@ -75,7 +75,7 @@ "require": { "newfold-labs/wp-module-activation": "^1.0.7", "newfold-labs/wp-module-atomic": "^1.3", - "newfold-labs/wp-module-coming-soon": "^1.4.0", + "newfold-labs/wp-module-coming-soon": "^1.5.0", "newfold-labs/wp-module-context": "^1.0.1", "newfold-labs/wp-module-data": "^2.6.11", "newfold-labs/wp-module-deactivation": "^1.4.0", diff --git a/composer.lock b/composer.lock index d341c8d6..075d52f6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ff66d79eb295bbeb77b55669ea5d9d4c", + "content-hash": "a06f0c3cc7cf7979cc4577298128326f", "packages": [ { "name": "doctrine/inflector", @@ -753,16 +753,16 @@ }, { "name": "newfold-labs/wp-module-coming-soon", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-coming-soon.git", - "reference": "1e434b702db763cfe58db0dba0bb058201cbe277" + "reference": "4a800541e105fc0e225c0b5f510bf3f195c440b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-coming-soon/zipball/1e434b702db763cfe58db0dba0bb058201cbe277", - "reference": "1e434b702db763cfe58db0dba0bb058201cbe277", + "url": "https://api.github.com/repos/newfold-labs/wp-module-coming-soon/zipball/4a800541e105fc0e225c0b5f510bf3f195c440b7", + "reference": "4a800541e105fc0e225c0b5f510bf3f195c440b7", "shasum": "" }, "require": { @@ -822,10 +822,10 @@ ], "description": "Coming Soon module for WordPress sites.", "support": { - "source": "https://github.com/newfold-labs/wp-module-coming-soon/tree/1.4.0", + "source": "https://github.com/newfold-labs/wp-module-coming-soon/tree/1.5.0", "issues": "https://github.com/newfold-labs/wp-module-coming-soon/issues" }, - "time": "2025-03-04T16:43:06+00:00" + "time": "2025-04-28T19:34:39+00:00" }, { "name": "newfold-labs/wp-module-context", @@ -4567,11 +4567,11 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, + "platform": [], + "platform-dev": [], "platform-overrides": { "php": "7.3.0" }, From 8248b91bcc12eeca92b12f954b3a6069abd8d3bb Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 29 Apr 2025 12:09:21 +0000 Subject: [PATCH 4/4] WordPress i18n triggered by commit a22d78953249543bffff2c0687e4e25a61b08e57 --- .wp-env.json | 2 +- languages/wp-plugin-hostgator-es_MX.po | 20 ++++++++++---------- languages/wp-plugin-hostgator-pt_BR.po | 20 ++++++++++---------- languages/wp-plugin-hostgator.pot | 20 ++++++++++---------- wp-plugin-hostgator.php | 2 +- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.wp-env.json b/.wp-env.json index eba6148f..92c31dd1 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -1,5 +1,5 @@ { - "core": "WordPress/WordPress#tags/6.7.2", + "core": "WordPress/WordPress#tags/6.8", "config": { "WP_DEBUG": true, "WP_DEBUG_LOG": true, diff --git a/languages/wp-plugin-hostgator-es_MX.po b/languages/wp-plugin-hostgator-es_MX.po index b3bb18c6..a3214973 100644 --- a/languages/wp-plugin-hostgator-es_MX.po +++ b/languages/wp-plugin-hostgator-es_MX.po @@ -46,34 +46,34 @@ msgstr "HostGator" msgid "Please install the HostGator Plugin dependencies." msgstr "Instala las dependencias del Plugin HostGator." -#: bootstrap.php:74 +#: bootstrap.php:77 msgid "A New WordPress Site" msgstr "Un Nuevo Sitio Web WordPress" -#: bootstrap.php:75 +#: bootstrap.php:78 msgid "Coming Soon!" msgstr "¡Muy Pronto!" #. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. -#: bootstrap.php:88 +#: bootstrap.php:91 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "Un sitio web creado por %1$sHostGator%2$s. ¿Este sitio web es tuyo? Inicia sesión en %3$sWordPress%4$s o %5$sHostGator%6$s." #. translators: %s is Blog name -#: bootstrap.php:98 +#: bootstrap.php:101 msgid "%s — Coming Soon" msgstr "¡Muy Pronto!" -#: bootstrap.php:101 +#: bootstrap.php:104 msgid "Coming Soon Active" msgstr "Muy Pronto Activo" #. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:104 +#: bootstrap.php:107 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "Tu sitio actualmente muestra una %1$spróxima página%2$s. Una vez que esté listo, inicie su sitio%4$s." -#: bootstrap.php:105 +#: bootstrap.php:108 msgid "Preview the coming soon landing page" msgstr " Vista previa de la próxima página de inicio" @@ -444,15 +444,15 @@ msgstr "Tienda" msgid "Staging" msgstr "Entorno de prueba" -#: bootstrap.php:78 +#: bootstrap.php:81 msgid "How to build your WordPress Website" msgstr "“Cómo construir tu sitio web de WordPress\"" -#: bootstrap.php:81 +#: bootstrap.php:84 msgid "How to Migrate a Website to Hostgator?" msgstr " ¿Cómo migrar un sitio web a Hostgator? " -#: bootstrap.php:84 +#: bootstrap.php:87 msgid "Why choose HostGator for your WordPress site?" msgstr " ¿Por qué elegir HostGator para tu sitio de WordPress?" diff --git a/languages/wp-plugin-hostgator-pt_BR.po b/languages/wp-plugin-hostgator-pt_BR.po index 908bad01..52130999 100644 --- a/languages/wp-plugin-hostgator-pt_BR.po +++ b/languages/wp-plugin-hostgator-pt_BR.po @@ -46,34 +46,34 @@ msgstr "HostGator" msgid "Please install the HostGator Plugin dependencies." msgstr "Por favor instale as dependências do Plugin HostGator." -#: bootstrap.php:74 +#: bootstrap.php:77 msgid "A New WordPress Site" msgstr "Um Novo Site WordPress" -#: bootstrap.php:75 +#: bootstrap.php:78 msgid "Coming Soon!" msgstr "Em Breve!" #. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. -#: bootstrap.php:88 +#: bootstrap.php:91 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "Um site alimentado por %1$sHostGator%2$s. Este é o seu site? Inicie sessão em %3$sWordPress%4$s ou %5$sHostgator%6$s." #. translators: %s is Blog name -#: bootstrap.php:98 +#: bootstrap.php:101 msgid "%s — Coming Soon" msgstr "%s — Em Breve" -#: bootstrap.php:101 +#: bootstrap.php:104 msgid "Coming Soon Active" msgstr "Ativo Em Breve" #. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:104 +#: bootstrap.php:107 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "Seu site está exibindo uma %1$spágina em breve%2$s. Assim que estiver pronto, %3$slance seu site%4$s." -#: bootstrap.php:105 +#: bootstrap.php:108 msgid "Preview the coming soon landing page" msgstr "Visualize a página de destino em breve" @@ -460,15 +460,15 @@ msgstr "Opções de Conteúdo" msgid "Controls for content revisions and how often to empty the trash." msgstr "Controles para revisões de conteúdo e com que frequência esvaziar a lixeira." -#: bootstrap.php:78 +#: bootstrap.php:81 msgid "How to build your WordPress Website" msgstr "Como construir seu site WordPress" -#: bootstrap.php:81 +#: bootstrap.php:84 msgid "How to Migrate a Website to Hostgator?" msgstr "Como migrar um site para Hostgator?" -#: bootstrap.php:84 +#: bootstrap.php:87 msgid "Why choose HostGator for your WordPress site?" msgstr "Por que escolher HostGator para seu site WordPress?" diff --git a/languages/wp-plugin-hostgator.pot b/languages/wp-plugin-hostgator.pot index e79b05ee..f02154ee 100644 --- a/languages/wp-plugin-hostgator.pot +++ b/languages/wp-plugin-hostgator.pot @@ -41,46 +41,46 @@ msgstr "" msgid "Please install the HostGator Plugin dependencies." msgstr "" -#: bootstrap.php:74 +#: bootstrap.php:77 msgid "A New WordPress Site" msgstr "" -#: bootstrap.php:75 +#: bootstrap.php:78 msgid "Coming Soon!" msgstr "" -#: bootstrap.php:78 +#: bootstrap.php:81 msgid "How to build your WordPress Website" msgstr "" -#: bootstrap.php:81 +#: bootstrap.php:84 msgid "How to Migrate a Website to Hostgator?" msgstr "" -#: bootstrap.php:84 +#: bootstrap.php:87 msgid "Why choose HostGator for your WordPress site?" msgstr "" #. translators: %1$s is replaced with opening link tag taking you to hostgator.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to portal.hostgator.com, %6$s is replaced with closing link tag. -#: bootstrap.php:88 +#: bootstrap.php:91 msgid "A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s." msgstr "" #. translators: %s is Blog name -#: bootstrap.php:98 +#: bootstrap.php:101 msgid "%s — Coming Soon" msgstr "" -#: bootstrap.php:101 +#: bootstrap.php:104 msgid "Coming Soon Active" msgstr "" #. translators: %1$s is replaced with the opening link tag, %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. -#: bootstrap.php:104 +#: bootstrap.php:107 msgid "Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s." msgstr "" -#: bootstrap.php:105 +#: bootstrap.php:108 msgid "Preview the coming soon landing page" msgstr "" diff --git a/wp-plugin-hostgator.php b/wp-plugin-hostgator.php index 7753e93c..d60a45a7 100644 --- a/wp-plugin-hostgator.php +++ b/wp-plugin-hostgator.php @@ -15,7 +15,7 @@ * Version: 2.13.3 * Requires at least: 6.5 * Requires PHP: 7.3 - * Tested up to: 6.7.2 + * Tested up to: 6.8 * Author: HostGator * Author URI: https://hostgator.com * Text Domain: wp-plugin-hostgator