Making WordPress.org


Ignore:
Timestamp:
03/13/2018 05:00:54 AM (8 years ago)
Author:
dd32
Message:

Main: About: Centralise the custom opengraph tags content into a singular function rather than spredding the filters through page templates.
This change also makes it possible to provide the page embeds with some content, where as previously it was blank, for example: https://test.wordpress.org/about/license/embed/

See #3046.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-roadmap.php

    r6868 r6869  
    2727} );
    2828
    29 add_filter( 'jetpack_open_graph_tags', function( $tags ) {
    30     $tags['og:title']            = _esc_html__( 'WordPress Development Roadmap', 'wporg' );
    31     $tags['og:description']      = _esc_html__( 'The WordPress Roadmap lists major releases by date, includes details about the features of each release, and acknowledges the contributing community members. Learn about the status of upcoming releases, development cycles, issues, and milestones. Follow the progress of WordPress development week after week!', 'wporg' );
    32     $tags['twitter:text:title']  = $tags['og:title'];
    33     $tags['twitter:description'] = $tags['og:description'];
    34 
    35     return $tags;
    36 } );
     29// See inc/page-meta-descriptions.php for the meta description for this page.
    3730
    3831get_header( 'child-page' );
Note: See TracChangeset for help on using the changeset viewer.