Skip to content

Commit

Permalink
Merge pull request #97 from luizbills/fix
Browse files Browse the repository at this point in the history
add phpdoc
  • Loading branch information
luizbills authored Dec 9, 2024
2 parents 677cdad + 599c84e commit 78f7dc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/tweaks/post-revisions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
if ( ! defined( 'WPINC' ) ) die();

/** @var string $option */
$GLOBALS['wp_tweaks_revisions_to_keep'] = $option;

add_filter( 'wp_revisions_to_keep', 'wp_tweaks_post_revisions_to_keep' );
Expand Down

0 comments on commit 78f7dc8

Please sign in to comment.