Changeset 13036 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php
- Timestamp:
- 12/08/2023 05:14:07 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php
r12533 r13036 225 225 // Fun fact: ratings are stored as 1-5 in postmeta, but returned as percentages by the API 226 226 $result['author_block_rating'] = get_post_meta( $post_id, 'author_block_rating', true ) ? 20 * get_post_meta( $post_id, 'author_block_rating', true ) : $result['rating']; 227 228 // Blueprints, if available 229 $result['blueprints'] = Template::get_blueprints( $post ) ?: []; 227 230 228 231 // Translations.
Note: See TracChangeset
for help on using the changeset viewer.