Skip to content

Commit

Permalink
Block theme: Update opengraph image
Browse files Browse the repository at this point in the history
Fixes #659
  • Loading branch information
ryelle committed Apr 15, 2024
1 parent ff70012 commit d1d50a4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,7 @@ function redirect_term_archives() {
*/
function add_social_meta_tags() {
$og_fields = [];
// Final image TBD.
$default_image = function_exists( '\WordPressdotorg\MU_Plugins\Site_Branding\jetpack_open_graph_image_default' ) ? \WordPressdotorg\MU_Plugins\Site_Branding\jetpack_open_graph_image_default() : '';
$default_image = 'https://s.w.org/patterns/files/2024/04/patterns-ogimage.png';
$site_title = function_exists( '\WordPressdotorg\site_brand' ) ? \WordPressdotorg\site_brand() : 'WordPress.org';

if ( is_front_page() || is_home() ) {
Expand Down

0 comments on commit d1d50a4

Please sign in to comment.