Skip to content

Commit

Permalink
Merge pull request #497 from newfold-labs/release/2.7.1
Browse files Browse the repository at this point in the history
Release/2.7.1
  • Loading branch information
circlecube committed Mar 20, 2024
2 parents 5367032 + 25aadfc commit fdab8d6
Show file tree
Hide file tree
Showing 47 changed files with 2,851 additions and 2,395 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v0.6.1
with:
project-url: https://github.com/orgs/newfold-labs/projects/1
github-token: ${{ secrets.PROJECT_TOKEN }}
45 changes: 23 additions & 22 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,29 @@ function () {
array( 'browser', 'file', '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/';
$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' => sprintf(
esc_html__( ' %1$sHow to build your WordPress Website%2$s %3$sHow to Migrate a Website to Hostgator?%4$s %5$sWhy choose HostGator for your WordPress site?%6$s', 'wp-plugin-bluehost' ) . ' ',
'<a href="' . esc_url( $website_guide_link ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a><span class="dashicons dashicons-wordpress"></span><br/>',
'<a href="' . esc_url( $migrate_link ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'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' =>
'<a href="' . esc_url( $website_guide_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'How to build your WordPress Website', 'wp-plugin-hostgator' ) .
'</a><br/>' .
'<a href="' . esc_url( $migrate_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'How to Migrate a Website to Hostgator?', 'wp-plugin-hostgator' ) .
'</a><br/>' .
'<a href="' . esc_url( $hosting_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'Why choose HostGator for your WordPress site?', 'wp-plugin-hostgator' ) .
'</a><br/>',
'<a href="' . esc_url( $hosting_link ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a><br/> '
),
'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 */
'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' ) . '&nbsp;',
'<a href="' . esc_url( 'https://www.hostgator.com/managed-wordpress-hosting' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>',
Expand All @@ -91,21 +92,21 @@ function () {
'<a href="' . esc_url( 'https://portal.hostgator.com/' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>'
),
'template_page_title' => sprintf(
/* translators: %s: Blog name */
'template_page_title' => sprintf(
/* translators: %s is Blog name */
__( '%s &mdash; Coming Soon', 'wp-plugin-hostgator' ),
esc_html( get_option( 'blogname' ) )
),
'admin_bar_text' => '<div style="background-color: #ffcf00; color: #191936; padding: 0 1rem;">' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '</div>',
'admin_notice_text' => sprintf(
/* translators: %1$s is replaced with the opening link tag and %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. */
'admin_bar_text' => '<div style="background-color: #ffcf00; color: #191936; padding: 0 1rem;">' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '</div>',
'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' ),
'<a href="' . get_home_url() . '?preview=coming_soon" title="' . __( 'Preview the coming soon landing page', 'wp-plugin-hostgator' ) . '">',
'</a>',
'<a href="' . esc_url( admin_url( 'admin.php?page=hostgator#/home' ) ) . '">',
'</a>'
),
'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ),
'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ),
)
);
setContainer( $nfd_module_container );
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"require-dev": {
"newfold-labs/wp-php-standards": "^1.2",
"wp-cli/i18n-command": "^2.5.0",
"wp-cli/i18n-command": "^2.6.1",
"wp-phpunit/wp-phpunit": "^6.4.2"
},
"scripts": {
Expand Down Expand Up @@ -66,23 +66,23 @@
},
"require": {
"doctrine/inflector": "1.4.4 as 1.3.1",
"newfold-labs/wp-module-coming-soon": "^1.2.0",
"newfold-labs/wp-module-coming-soon": "^1.2.3",
"newfold-labs/wp-module-context": "^1.0",
"newfold-labs/wp-module-data": "^2.4.18",
"newfold-labs/wp-module-deactivation": "^1.0.5",
"newfold-labs/wp-module-ecommerce": "^1.3.23",
"newfold-labs/wp-module-data": "^2.4.19",
"newfold-labs/wp-module-deactivation": "^1.1.1",
"newfold-labs/wp-module-ecommerce": "^1.3.25",
"newfold-labs/wp-module-global-ctb": "^1.0.11",
"newfold-labs/wp-module-help-center": "^1.0.23",
"newfold-labs/wp-module-help-center": "^1.0.24",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^2.2.4",
"newfold-labs/wp-module-notifications": "^1.2.5",
"newfold-labs/wp-module-onboarding": "^2.1.4",
"newfold-labs/wp-module-patterns": "^0.1.14",
"newfold-labs/wp-module-onboarding": "^2.1.8",
"newfold-labs/wp-module-patterns": "^0.1.15",
"newfold-labs/wp-module-performance": "^1.4.0",
"newfold-labs/wp-module-runtime": "^1.0.9",
"newfold-labs/wp-module-secure-passwords": "^1.1.1",
"newfold-labs/wp-module-sso": "^1.0.4",
"newfold-labs/wp-module-staging": "^1.3.0",
"newfold-labs/wp-module-staging": "^1.3.2",
"wp-forge/wp-update-handler": "^1.0.2",
"wp-forge/wp-upgrade-handler": "^1.0"
}
Expand Down
Loading

0 comments on commit fdab8d6

Please sign in to comment.