@@ 507-508 (lines=2) @@ | ||
504 | */ |
|
505 | public static function get_help_tab_link( $help_tab_id, $page = FALSE, $action = FALSE, $icon_style = FALSE, $help_text = FALSE ) { |
|
506 | ||
507 | if ( ! $page ) |
|
508 | $page = isset( $_REQUEST['page'] ) && ! empty( $_REQUEST['page'] ) ? sanitize_key( $_REQUEST['page'] ) : $page; |
|
509 | ||
510 | if ( ! $action ) |
|
511 | $action = isset( $_REQUEST['action'] ) && ! empty( $_REQUEST['action'] ) ? sanitize_key( $_REQUEST['action'] ) : $action; |
|
@@ 510-511 (lines=2) @@ | ||
507 | if ( ! $page ) |
|
508 | $page = isset( $_REQUEST['page'] ) && ! empty( $_REQUEST['page'] ) ? sanitize_key( $_REQUEST['page'] ) : $page; |
|
509 | ||
510 | if ( ! $action ) |
|
511 | $action = isset( $_REQUEST['action'] ) && ! empty( $_REQUEST['action'] ) ? sanitize_key( $_REQUEST['action'] ) : $action; |
|
512 | ||
513 | $action = empty($action) ? 'default' : $action; |
|
514 |