Skip to content

Commit 5e49fb3

Browse files
committed
Replace Twitch with Bluesky for our social links in the footer
Signed-off-by: Chris Abraham <[email protected]>
1 parent a433da1 commit 5e49fb3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/class-lf-mu-admin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function validate( $input ) {
203203

204204
$options['social_slack'] = ( isset( $input['social_slack'] ) && ! empty( $input['social_slack'] ) ) ? esc_url( $input['social_slack'] ) : '';
205205

206-
$options['social_twitch'] = ( isset( $input['social_twitch'] ) && ! empty( $input['social_twitch'] ) ) ? esc_url( $input['social_twitch'] ) : '';
206+
$options['social_bluesky'] = ( isset( $input['social_bluesky'] ) && ! empty( $input['social_bluesky'] ) ) ? esc_url( $input['social_bluesky'] ) : '';
207207

208208
$options['social_twitter'] = ( isset( $input['social_twitter'] ) && ! empty( $input['social_twitter'] ) ) ? esc_url( $input['social_twitter'] ) : '';
209209

web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/lf-mu-admin-display.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
$social_slack = ( isset( $options['social_slack'] ) && ! empty( $options['social_slack'] ) ) ? esc_attr( $options['social_slack'] ) : '';
7474

75-
$social_twitch = ( isset( $options['social_twitch'] ) && ! empty( $options['social_twitch'] ) ) ? esc_attr( $options['social_twitch'] ) : '';
75+
$social_bluesky = ( isset( $options['social_bluesky'] ) && ! empty( $options['social_bluesky'] ) ) ? esc_attr( $options['social_bluesky'] ) : '';
7676

7777
$social_twitter = ( isset( $options['social_twitter'] ) && ! empty( $options['social_twitter'] ) ) ? esc_attr( $options['social_twitter'] ) : '';
7878

@@ -491,14 +491,14 @@ class="clear_upload_image_button button"
491491
</td>
492492
</tr>
493493
<tr>
494-
<th scope="row"><label for="social_twitch">Twitch</label>
494+
<th scope="row"><label for="social_bluesky">Bluesky</label>
495495
</th>
496496
<td>
497-
<input type="text" class="social_twitch regular-text"
498-
id="<?php echo esc_html( $this->plugin_name ); ?>-social_twitch"
499-
name="<?php echo esc_html( $this->plugin_name ); ?>[social_twitch]"
500-
value="<?php echo esc_url( $social_twitch ); ?>"
501-
placeholder="https://www.twitch.tv/handle" />
497+
<input type="text" class="social_bluesky regular-text"
498+
id="<?php echo esc_html( $this->plugin_name ); ?>-social_bluesky"
499+
name="<?php echo esc_html( $this->plugin_name ); ?>[social_bluesky]"
500+
value="<?php echo esc_url( $social_bluesky ); ?>"
501+
placeholder="https://bsky.app/profile/handle" />
502502
</td>
503503
</tr>
504504
<tr>

web/wp-content/themes/cncf-twenty-two/components/social-links.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
href="<?php echo esc_url( $site_options['social_meetup'] ); ?>"><?php LF_Utils::get_svg( 'social/meetup.svg' ); ?></a></li>
6060
<?php endif; ?>
6161

62-
<?php if ( isset( $site_options['social_twitch'] ) && $site_options['social_twitch'] ) : ?>
63-
<li class="social-twitch"><a title="<?php echo esc_html( get_bloginfo( 'name' ) ) . ' on Twitch'; ?>"
64-
href="<?php echo esc_url( $site_options['social_twitch'] ); ?>"><?php LF_Utils::get_svg( 'social/twitch.svg' ); ?></a></li>
62+
<?php if ( isset( $site_options['social_bluesky'] ) && $site_options['social_bluesky'] ) : ?>
63+
<li class="social-bluesky"><a title="<?php echo esc_html( get_bloginfo( 'name' ) ) . ' on Bluesky'; ?>"
64+
href="<?php echo esc_url( $site_options['social_bluesky'] ); ?>"><?php LF_Utils::get_svg( 'social/bluesky.svg' ); ?></a></li>
6565
<?php endif; ?>
6666

6767
<?php if ( isset( $site_options['social_slack'] ) && $site_options['social_slack'] ) : ?>

0 commit comments

Comments
 (0)