Skip to content

Commit

Permalink
Added Global Documentation in inline documentation (#68613)
Browse files Browse the repository at this point in the history
* Added Global Documentation
* fixed lint issue
* Added Global Documentation in demo.php

Co-authored-by: shail-mehta <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored Jan 12, 2025
1 parent bbb06ff commit 2397525
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/generate-gutenberg-php.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
/**
* Prints `define` statements for the production version of `gutenberg.php`
* (the plugin entry point).
*
* @global string $plugin_version The version number of the plugin.
*/
function print_production_defines() {
global $plugin_version;
Expand Down
2 changes: 2 additions & 0 deletions lib/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Redirects the demo page to edit a new post.
*
* @global string $pagenow The name of the current admin page being viewed.
*/
function gutenberg_redirect_demo() {
global $pagenow;
Expand Down

0 comments on commit 2397525

Please sign in to comment.