Changeset 5718 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
- Timestamp:
- 07/26/2017 01:28:26 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r5604 r5718 120 120 121 121 /** 122 * Prints meta description in the head of a page. 123 * 124 * @static 125 */ 126 public static function meta_description() { 127 if ( is_singular( 'plugin' ) ) { 128 printf( '<meta name="description" value="%s"/>', 129 esc_attr( get_the_excerpt( get_queried_object() ) ) 130 ); 131 } 132 } 133 134 /** 122 135 * Returns a string representing the number of active installs for an item. 123 136 *
Note: See TracChangeset
for help on using the changeset viewer.