Changeset 2994 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
- Timestamp:
- 04/21/2016 07:41:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r2991 r2994 16 16 $post = get_post( $post ); 17 17 18 return get_post_meta( $post->ID, 'active_installs', true );18 return (int) get_post_meta( $post->ID, 'active_installs', true ); 19 19 } 20 20 … … 149 149 * 150 150 * @param \WP_Post|string $plugin An instance of a Plugin post, or the plugin slug. 151 * @param string $output Output type. 'html' or 'raw'. Default: 'raw'. 151 152 * @return mixed 152 153 */ … … 218 219 * 219 220 * @param \WP_Post|string $plugin An instance of a Plugin post, or the plugin slug. 221 * @param string $output Output type. Default: 'raw'. 220 222 * @return mixed 221 223 */
Note: See TracChangeset
for help on using the changeset viewer.