Changeset 11453 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/page-meta-descriptions.php
- Timestamp:
- 01/17/2022 07:48:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/page-meta-descriptions.php
r11451 r11453 18 18 */ 19 19 function custom_open_graph_tags( $tags = [] ) { 20 $site_title = function_exists( '\WordPressdotorg\site_brand' ) ? \WordPressdotorg\site_brand() : 'WordPress.org'; 21 20 22 // Use `name=""` for description. 21 23 // See Jetpacks Twitter Card for where it happens for the twitter:* fields. … … 32 34 'description' => __( 'Open source software which you can use to easily create a beautiful website, blog, or app.', 'wporg' ), 33 35 'og:url' => home_url( '/' ), 34 'og:site_name' => 'WordPress.org', // Rosetta title will automatically be inserted.36 'og:site_name' => $site_title, 35 37 'og:image' => 'https://s.w.org/images/home/screen-themes.png?3', 36 38 'og:locale' => get_locale(),
Note: See TracChangeset
for help on using the changeset viewer.