@@ 524-525 (lines=2) @@ | ||
521 | */ |
|
522 | public static function get_help_tab_link( $help_tab_id, $page = FALSE, $action = FALSE, $icon_style = FALSE, $help_text = FALSE ) { |
|
523 | ||
524 | if ( ! $page ) |
|
525 | $page = isset( $_REQUEST['page'] ) && ! empty( $_REQUEST['page'] ) ? sanitize_key( $_REQUEST['page'] ) : $page; |
|
526 | ||
527 | if ( ! $action ) |
|
528 | $action = isset( $_REQUEST['action'] ) && ! empty( $_REQUEST['action'] ) ? sanitize_key( $_REQUEST['action'] ) : $action; |
|
@@ 527-528 (lines=2) @@ | ||
524 | if ( ! $page ) |
|
525 | $page = isset( $_REQUEST['page'] ) && ! empty( $_REQUEST['page'] ) ? sanitize_key( $_REQUEST['page'] ) : $page; |
|
526 | ||
527 | if ( ! $action ) |
|
528 | $action = isset( $_REQUEST['action'] ) && ! empty( $_REQUEST['action'] ) ? sanitize_key( $_REQUEST['action'] ) : $action; |
|
529 | ||
530 | $action = empty($action) ? 'default' : $action; |
|
531 |