Changeset 49559
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php
r49108 r49559 126 126 'name' => $block_data['name'], 127 127 'title' => ( $block_data['title'] ? $block_data['title'] : $plugin['name'] ), 128 'description' => wp_trim_words( $plugin[' description'], 30, '...' ),128 'description' => wp_trim_words( $plugin['short_description'], 30, '...' ), 129 129 'id' => $plugin['slug'], 130 130 'rating' => $plugin['rating'] / 20, -
trunk/tests/phpunit/tests/rest-api/rest-block-directory-controller.php
r48937 r49559 154 154 'name' => 'sortabrilliant/guidepost', 155 155 'title' => 'Guidepost', 156 'description' => 'A guidepost gives you directions. It lets you know where you’re going. It gives you a preview of what’s to come. How does it work? Guideposts are magic, no they...',156 'description' => 'A guidepost gives you directions. It lets you know where you’re going. It gives you a preview of what’s to come.', 157 157 'id' => 'guidepost', 158 158 'rating' => 4.3,
Note: See TracChangeset
for help on using the changeset viewer.