Making WordPress.org

Changeset 3201


Ignore:
Timestamp:
05/20/2016 10:02:58 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Add schema.org info to meta widget.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php

    r3190 r3201  
    3030        ?>
    3131
     32        <link itemprop="applicationCategory" href="http://schema.org/OtherApplication" />
     33        <span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
     34            <meta itemprop="price" content="0.00" />
     35            <meta itemprop="priceCurrency" content="USD" />
     36            <span itemprop="seller" itemscope itemtype="http://schema.org/Organization">
     37                <span itemprop="name" content="WordPress.org"></span>
     38            </span>
     39        </span>
     40
    3241        <ul>
    3342            <li><?php printf( __( 'Last updated: %s ago', 'wporg-plugins' ), '<span itemprop="dateModified" content="' . esc_attr( get_post_modified_time( 'c' ) ) . '">' . human_time_diff( get_post_modified_time() ) . '</span>' ); ?></li>
Note: See TracChangeset for help on using the changeset viewer.