Skip to content

Commit

Permalink
Include server side script on load
Browse files Browse the repository at this point in the history
  • Loading branch information
jahvi committed Dec 15, 2018
1 parent 2ebaffd commit 7ffa162
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,6 @@
if ( ! function_exists( 'render_block_core_shortcode' ) ) {
require dirname( __FILE__ ) . '/../packages/block-library/src/shortcode/index.php';
}
if ( ! function_exists( 'render_block_core_tag_cloud' ) ) {
require dirname( __FILE__ ) . '/../packages/block-library/src/tag-cloud/index.php';
}
2 changes: 1 addition & 1 deletion packages/block-library/src/tag-cloud/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ class TagCloudEdit extends Component {

export default withSelect( ( select ) => {
return {
taxonomies: select( 'core' ).getTaxonomies(),
taxonomies: select( 'core' ).getTaxonomies( { per_page: -1 } ),
};
} )( TagCloudEdit );

0 comments on commit 7ffa162

Please sign in to comment.