Skip to content

Commit

Permalink
Add missing @return tag to gutenberg_meta_box_save_redirect() fun…
Browse files Browse the repository at this point in the history
…ction (#11001)

The `@return` tag is missing in the docblock of the `gutenberg_meta_box_save_redirect()` function.

The function returns the modified location.
  • Loading branch information
schlessera authored and ajitbohra committed Oct 24, 2018
1 parent 8ee49d2 commit a666a12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/meta-box-partial-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ function gutenberg_meta_box_save() {
*
* @param string $location The location of the meta box, 'side', 'normal'.
* @param int $post_id Post ID.
* @return string Modified location of the meta box.
*
* @hooked redirect_post_location priority 10
*/
Expand Down

0 comments on commit a666a12

Please sign in to comment.