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