Skip to content

Commit

Permalink
Missing global $pagenow
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona committed Sep 8, 2016
1 parent 32e7448 commit 4abaeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/admin/ui/meta-boxes.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function __rocket_cache_options_meta_boxes() {
function __rocket_display_cache_options_meta_boxes() {
/** This filter is documented in inc/admin-bar.php */
if ( current_user_can( apply_filters( 'rocket_capacity', 'manage_options' ) ) ) {
global $post;
global $post, $pagenow;
wp_nonce_field( 'rocket_box_option', '_rocketnonce', false, true );
?>

Expand Down

0 comments on commit 4abaeb9

Please sign in to comment.