Skip to content

Commit

Permalink
Fix typo in php doc block for gutenberg_can_edit_post() (#6439)
Browse files Browse the repository at this point in the history
* Define  variable as global

* Revert change

* Fix small typo in php doc

* Revert unwanted change
  • Loading branch information
vishalkakadiya authored and gziolo committed Apr 26, 2018
1 parent 560180e commit 62d746f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function gutenberg_can_edit_post( $post ) {
* @since 1.5.2
*
* @param string $post_type The post type.
* @return bool Wehther the post type can be edited with Gutenberg.
* @return bool Whether the post type can be edited with Gutenberg.
*/
function gutenberg_can_edit_post_type( $post_type ) {
$can_edit = true;
Expand Down

0 comments on commit 62d746f

Please sign in to comment.