diff --git a/.dev/assets/shared/images/social/bluesky.svg b/.dev/assets/shared/images/social/bluesky.svg new file mode 100644 index 000000000..6d555f43e --- /dev/null +++ b/.dev/assets/shared/images/social/bluesky.svg @@ -0,0 +1,3 @@ + + + diff --git a/.dev/tests/cypress/integration/customizer/customizer.spec.js b/.dev/tests/cypress/integration/customizer/customizer.spec.js index f710a2793..a22a71632 100644 --- a/.dev/tests/cypress/integration/customizer/customizer.spec.js +++ b/.dev/tests/cypress/integration/customizer/customizer.spec.js @@ -31,6 +31,7 @@ describe( 'Test the customizer works as intended.', () => { github: 'https://www.github.com', tiktok: 'https://www.tiktok.com', mastodon: 'https://mastodon.social', + bluesky: 'https://bsky.app/', }; before( () => { diff --git a/.dev/tests/php/test-core.php b/.dev/tests/php/test-core.php index 9e6807198..bbe9aa62c 100644 --- a/.dev/tests/php/test-core.php +++ b/.dev/tests/php/test-core.php @@ -1017,7 +1017,8 @@ function testGetAvailableSocialIcons() { 'spotify', 'github', 'tiktok', - 'mastodon' + 'mastodon', + 'bluesky', ]; $this->assertEquals( $social_icons, array_keys( Go\Core\get_available_social_icons() ) ); diff --git a/.dev/tests/php/test-customizer.php b/.dev/tests/php/test-customizer.php index b5c19d5eb..dbe6f9d2c 100644 --- a/.dev/tests/php/test-customizer.php +++ b/.dev/tests/php/test-customizer.php @@ -1071,7 +1071,8 @@ function test_register_social_controls_social_icon_x_setting_and_controls() { 'youtube', 'github', 'tiktok', - 'mastodon' + 'mastodon', + 'bluesky', ]; foreach ( $networks as $social_network ) { diff --git a/.dev/tests/php/test-template-tags.php b/.dev/tests/php/test-template-tags.php index 8778412cb..e07e5cbfe 100644 --- a/.dev/tests/php/test-template-tags.php +++ b/.dev/tests/php/test-template-tags.php @@ -1341,6 +1341,19 @@ public function test_social_icons_mastodon() { } + /** + * Test the post_meta() returns proper data bluesky icon data + */ + public function test_social_icons_bluesky() { + + set_theme_mod( 'social_icon_bluesky', 'https://bsky.app/profile/custom' ); + + $this->expectOutputRegex( '//' ); + + Go\social_icons( [] ); + + } + /** * Test the social icons do not render on header-1 */ diff --git a/.github/workflows/create-artifact.yml b/.github/workflows/create-artifact.yml index 0cc2dd4b9..e3f2e695a 100644 --- a/.github/workflows/create-artifact.yml +++ b/.github/workflows/create-artifact.yml @@ -56,7 +56,7 @@ jobs: zip -r $ARTIFACT_ZIP $ARTIFACT_PATH - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: ${{ env.ARTIFACT_ZIP }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9f2b083c4..55645a817 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -148,7 +148,7 @@ jobs: - name: Upload failure video if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: customizer.spec.js.mp4 path: ./.dev/tests/cypress/videos/**/*.mp4 diff --git a/includes/core.php b/includes/core.php index c337d80aa..0847f1260 100755 --- a/includes/core.php +++ b/includes/core.php @@ -1262,6 +1262,11 @@ function get_available_social_icons() { 'icon' => get_theme_file_path( 'dist/images/social/mastodon.svg' ), 'placeholder' => 'https://mastodon.social/@user', ), + 'bluesky' => array( + 'label' => esc_html__( 'Bluesky', 'go' ), + 'icon' => get_theme_file_path( 'dist/images/social/bluesky.svg' ), + 'placeholder' => 'https://bsky.app/profile/user', + ), ); /** diff --git a/languages/go.json b/languages/go.json index 5a65fa934..3ef229edc 100644 --- a/languages/go.json +++ b/languages/go.json @@ -166,6 +166,7 @@ "d3b7c913cd04ebfec0e9ec32cb6fd58c": "GitHub", "d7a9a3e2a98999afaa77e64983165058": "TikTok", "675cd6f3e569b77f0bae964e0a8942f2": "Mastodon", + "b86a320e28500179ca4f051bc574520c": "Bluesky", "e27721c74d54c8f57cc581c680a0143b": "That page can't be found", "04cc2ca3a963a638a60162312fa1bb72": "Search for: %s", "795d59a96adcde416d31c5b1b6fae364": "Nothing Found", diff --git a/languages/go.pot b/languages/go.pot index d3ba0289f..71b0e938b 100644 --- a/languages/go.pot +++ b/languages/go.pot @@ -1,35 +1,40 @@ # Copyright (c) GoDaddy Operating Company, LLC. All Rights Reserved. msgid "" msgstr "" -"Project-Id-Version: Go 1.8.5\n" +"Project-Id-Version: Go 1.8.12\n" "Report-Msgid-Bugs-To: https://github.com/godaddy-wordpress/go/issues\n" "Last-Translator: plugins@godaddy.com\n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-07-21T16:19:38+00:00\n" +"POT-Creation-Date: 2025-03-12T09:02:32-05:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.8.1\n" +"X-Generator: WP-CLI 2.11.0\n" "X-Domain: go\n" #. Theme Name of the theme +#: style.css msgid "Go" msgstr "" #. Theme URI of the theme +#: style.css msgid "https://github.com/godaddy-wordpress/go" msgstr "" #. Description of the theme +#: style.css msgid "Go is an innovative, Gutenberg-first WordPress theme, hyper-focused on empowering makers to build beautifully rich websites with WordPress." msgstr "" #. Author of the theme +#: style.css msgid "GoDaddy" msgstr "" #. Author URI of the theme +#: style.css msgid "https://www.godaddy.com" msgstr "" @@ -72,7 +77,7 @@ msgid "Millennial" msgstr "" #: docs/design-styles/example/functions.php:38 -#: includes/core.php:779 +#: includes/core.php:781 msgctxt "color palette name" msgid "Blush" msgstr "" @@ -594,235 +599,239 @@ msgstr "" msgid "Secondary to Tertiary" msgstr "" -#: includes/core.php:714 +#: includes/core.php:716 msgctxt "design style name" msgid "Traditional" msgstr "" -#: includes/core.php:719 +#: includes/core.php:721 msgctxt "color palette name" msgid "Apricot" msgstr "" -#: includes/core.php:726 +#: includes/core.php:728 msgctxt "color palette name" msgid "Emerald" msgstr "" -#: includes/core.php:733 +#: includes/core.php:735 msgctxt "color palette name" msgid "Brick" msgstr "" -#: includes/core.php:740 +#: includes/core.php:742 msgctxt "color palette name" msgid "Bronze" msgstr "" -#: includes/core.php:767 +#: includes/core.php:769 msgctxt "design style name" msgid "Modern" msgstr "" -#: includes/core.php:772 +#: includes/core.php:774 msgctxt "color palette name" msgid "Shade" msgstr "" -#: includes/core.php:786 +#: includes/core.php:788 msgctxt "color palette name" msgid "Indigo" msgstr "" -#: includes/core.php:793 +#: includes/core.php:795 msgctxt "color palette name" msgid "Pacific" msgstr "" -#: includes/core.php:821 +#: includes/core.php:823 msgctxt "design style name" msgid "Trendy" msgstr "" -#: includes/core.php:826 +#: includes/core.php:828 msgctxt "color palette name" msgid "Plum" msgstr "" -#: includes/core.php:835 +#: includes/core.php:837 msgctxt "color palette name" msgid "Steel" msgstr "" -#: includes/core.php:843 +#: includes/core.php:845 msgctxt "color palette name" msgid "Avocado" msgstr "" -#: includes/core.php:851 +#: includes/core.php:853 msgctxt "color palette name" msgid "Champagne" msgstr "" -#: includes/core.php:880 +#: includes/core.php:882 msgctxt "design style name" msgid "Welcoming" msgstr "" -#: includes/core.php:885 +#: includes/core.php:887 msgctxt "color palette name" msgid "Forest" msgstr "" -#: includes/core.php:893 +#: includes/core.php:895 msgctxt "color palette name" msgid "Spruce" msgstr "" -#: includes/core.php:901 +#: includes/core.php:903 msgctxt "color palette name" msgid "Mocha" msgstr "" -#: includes/core.php:909 +#: includes/core.php:911 msgctxt "color palette name" msgid "Lavender" msgstr "" -#: includes/core.php:934 +#: includes/core.php:936 msgctxt "design style name" msgid "Playful" msgstr "" -#: includes/core.php:939 +#: includes/core.php:941 msgctxt "color palette name" msgid "Frolic" msgstr "" -#: includes/core.php:949 +#: includes/core.php:951 msgctxt "color palette name" msgid "Coral" msgstr "" -#: includes/core.php:959 +#: includes/core.php:961 msgctxt "color palette name" msgid "Organic" msgstr "" -#: includes/core.php:969 +#: includes/core.php:971 msgctxt "color palette name" msgid "Berry" msgstr "" -#: includes/core.php:1054 +#: includes/core.php:1056 msgctxt "name of the first header variation option" msgid "Header 1" msgstr "" -#: includes/core.php:1058 +#: includes/core.php:1060 msgctxt "name of the second header variation option" msgid "Header 2" msgstr "" -#: includes/core.php:1062 +#: includes/core.php:1064 msgctxt "name of the third header variation option" msgid "Header 3" msgstr "" -#: includes/core.php:1066 +#: includes/core.php:1068 msgctxt "name of the fourth header variation option" msgid "Header 4" msgstr "" -#: includes/core.php:1070 +#: includes/core.php:1072 msgctxt "name of the fourth header variation option" msgid "Header 5" msgstr "" -#: includes/core.php:1074 +#: includes/core.php:1076 msgctxt "name of the fourth header variation option" msgid "Header 6" msgstr "" -#: includes/core.php:1078 +#: includes/core.php:1080 msgctxt "name of the fourth header variation option" msgid "Header 7" msgstr "" -#: includes/core.php:1105 +#: includes/core.php:1107 msgctxt "name of the first footer variation option" msgid "Footer 1" msgstr "" -#: includes/core.php:1112 +#: includes/core.php:1114 msgctxt "name of the second footer variation option" msgid "Footer 2" msgstr "" -#: includes/core.php:1119 +#: includes/core.php:1121 msgctxt "name of the third footer variation option" msgid "Footer 3" msgstr "" -#: includes/core.php:1126 +#: includes/core.php:1128 msgctxt "name of the fourth footer variation option" msgid "Footer 4" msgstr "" -#: includes/core.php:1209 +#: includes/core.php:1211 msgid "Facebook" msgstr "" -#: includes/core.php:1214 +#: includes/core.php:1216 msgid "Twitter" msgstr "" -#: includes/core.php:1219 +#: includes/core.php:1221 msgid "Instagram" msgstr "" -#: includes/core.php:1224 +#: includes/core.php:1226 msgid "LinkedIn" msgstr "" -#: includes/core.php:1229 +#: includes/core.php:1231 msgid "Xing" msgstr "" -#: includes/core.php:1234 +#: includes/core.php:1236 msgid "Pinterest" msgstr "" -#: includes/core.php:1239 +#: includes/core.php:1241 msgid "YouTube" msgstr "" -#: includes/core.php:1244 +#: includes/core.php:1246 msgid "Spotify" msgstr "" -#: includes/core.php:1249 +#: includes/core.php:1251 msgid "GitHub" msgstr "" -#: includes/core.php:1254 +#: includes/core.php:1256 msgid "TikTok" msgstr "" -#: includes/core.php:1259 +#: includes/core.php:1261 msgid "Mastodon" msgstr "" -#: includes/core.php:1414 +#: includes/core.php:1266 +msgid "Bluesky" +msgstr "" + +#: includes/core.php:1421 msgid "That page can't be found" msgstr "" #. translators: Search query term(s). -#: includes/core.php:1432 +#: includes/core.php:1439 msgid "Search for: %s" msgstr "" -#: includes/core.php:1440 +#: includes/core.php:1447 msgid "Nothing Found" msgstr ""