type ) { $refund_link = edd_get_admin_url( array( 'page' => 'edd-payment-history', 'view' => 'view-refund-details', 'id' => urlencode( $order->id ), ) ); wp_die( sprintf( __( 'The specified ID is for a refund, not an order. Please access the refund directly.', 'easy-digital-downloads' ), esc_url( $refund_link ) ), __( 'Error', 'easy-digital-downloads' ) ); } wp_enqueue_script( 'edd-admin-orders' ); // Enqueued for backwards compatibility. Empty file. wp_enqueue_script( 'edd-admin-payments' ); ?>