Changeset 6732 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-philosophy.php
- Timestamp:
- 02/24/2018 01:26:54 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-philosophy.php
r6653 r6732 13 13 return get_template_part( 'page' ); 14 14 } 15 16 add_filter( 'jetpack_open_graph_tags', function( $tags ) { 17 $tags['og:title'] = _esc_html__( 'WordPress’ Philosophy', 'wporg' ); 18 $tags['og:description'] = _esc_html__( 'At the core of the WordPress philosophy is our commitment to the open web and to building software that works for everyone, from a new user to an advanced developer. Our philosophy pushes WordPress to remain flexible, adaptable, and easy-to-use. Learn about WordPress’s philosophy and how it shapes our community.', 'wporg' ); 19 $tags['twitter:text:title'] = $tags['og:title']; 20 $tags['twitter:description'] = $tags['og:description']; 21 22 return $tags; 23 } ); 15 24 16 25 get_header();
Note: See TracChangeset
for help on using the changeset viewer.