@@ -279,7 +279,7 @@ |
||
| 279 | 279 | * @param string $name The ID to register with WordPress. |
| 280 | 280 | * @param string $file_path The path to the actual file. |
| 281 | 281 | * @param bool $is_script Optional, argument for if the incoming file_path is a JavaScript source file. |
| 282 | - * @param array $support Optional, for requiring other javascripts for the source file you are calling. |
|
| 282 | + * @param string[] $support Optional, for requiring other javascripts for the source file you are calling. |
|
| 283 | 283 | * @param string $version Optional, can match the version of the plugin or version of the source file. |
| 284 | 284 | * @param bool $footer Optional, can set the JavaScript to load in the footer instead. |
| 285 | 285 | */ |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | // Notices should only show on the main dashboard and on the plugins screen. |
| 129 | 129 | if ( ! in_array( $screen_id, alnp_get_admin_screens() ) ) { |
| 130 | 130 | return false; |
| 131 | - } |
|
| 131 | + } |
|
| 132 | 132 | |
| 133 | 133 | // Is admin welcome notice hidden? |
| 134 | 134 | $hide_welcome_notice = get_user_meta( $current_user->ID, 'auto_load_next_post_hide_welcome_notice', true ); |