|
@@ 91-94 (lines=4) @@
|
| 88 |
|
$user_hidden_notice = false; |
| 89 |
|
|
| 90 |
|
// If the user is allowed to install plugins and requested to hide the review notice then hide it for that user. |
| 91 |
|
if ( ! empty( $_GET['hide_auto_load_next_post_review_notice'] ) && current_user_can( 'install_plugins' ) ) { |
| 92 |
|
add_user_meta( $current_user->ID, 'auto_load_next_post_hide_review_notice', '1', true ); |
| 93 |
|
$user_hidden_notice = true; |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
// If the user is allowed to install plugins and requested to hide the upgrade notice then hide it for that user. |
| 97 |
|
if ( ! empty( $_GET['hide_auto_load_next_post_upgrade_notice'] ) && current_user_can( 'install_plugins' ) ) { |
|
@@ 97-100 (lines=4) @@
|
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
// If the user is allowed to install plugins and requested to hide the upgrade notice then hide it for that user. |
| 97 |
|
if ( ! empty( $_GET['hide_auto_load_next_post_upgrade_notice'] ) && current_user_can( 'install_plugins' ) ) { |
| 98 |
|
add_user_meta( $current_user->ID, 'auto_load_next_post_hide_upgrade_notice', '1', true ); |
| 99 |
|
$user_hidden_notice = true; |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
// If the user is allowed to install plugins and requested to hide the setup notice then hide it for that user. |
| 103 |
|
if ( ! empty( $_GET['hide_auto_load_next_post_setup_notice'] ) && current_user_can( 'install_plugins' ) ) { |
|
@@ 103-106 (lines=4) @@
|
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
// If the user is allowed to install plugins and requested to hide the setup notice then hide it for that user. |
| 103 |
|
if ( ! empty( $_GET['hide_auto_load_next_post_setup_notice'] ) && current_user_can( 'install_plugins' ) ) { |
| 104 |
|
add_user_meta( $current_user->ID, 'auto_load_next_post_hide_setup_notice', '1', true ); |
| 105 |
|
$user_hidden_notice = true; |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
// If the user is allowed to install plugins and requested to hide the beta notice then hide it for that user. |
| 109 |
|
if ( ! empty( $_GET['hide_auto_load_next_post_beta_notice'] ) && current_user_can( 'install_plugins' ) ) { |