Title: wp_signature_softfail
Published: May 7, 2019
Last modified: August 20, 2026

---

# apply_filters( ‘wp_signature_softfail’, bool $signature_softfail, string $url )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#changelog)

Filters whether Signature Verification failures should be allowed to soft fail.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#description)󠁿

WARNING: This may be removed from a future release.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#parameters)󠁿

 `$signature_softfail`bool

If a softfail is allowed.

`$url`string

The url being accessed.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#source)󠁿

    ```php
    apply_filters( 'wp_signature_softfail', true, $url )
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/file.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-admin/includes/file.php#L1348)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/file.php#L1348-L1348)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#related)󠁿

| Used by | Description | 
| [download_url()](https://developer.wordpress.org/reference/functions/download_url/)`wp-admin/includes/file.php` |

Downloads a URL to a local temporary file using the WordPress HTTP API.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/wp_signature_softfail/?output_format=md#changelog)󠁿

| Version | Description | 
| [5.2.0](https://developer.wordpress.org/reference/since/5.2.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fwp_signature_softfail%2F)
before being able to contribute a note or feedback.