Title: media_upload_html_bypass
Published: April 25, 2014
Last modified: May 20, 2026

---

# media_upload_html_bypass()

## In this article

 * [Source](https://developer.wordpress.org/reference/functions/media_upload_html_bypass/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/media_upload_html_bypass/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/media_upload_html_bypass/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/media_upload_html_bypass/?output_format=md#wp--skip-link--target)

Displays the browser’s built-in uploader message.

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

    ```php
    function media_upload_html_bypass() {
    	?>
    	<p class="upload-html-bypass hide-if-no-js">
    	<?php
    		printf(
    			/* translators: %s: HTML attributes for button. */
    			__( 'You are using the browser&#8217;s built-in file uploader. The WordPress uploader includes multiple file selection and drag and drop capability. <button %s>Switch to the multi-file uploader</button>.' ),
    			'type="button" class="button-link"'
    		);
    	?>
    	</p>
    	<?php
    }
    ```

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

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

| Uses | Description | 
| [__()](https://developer.wordpress.org/reference/functions/__/)`wp-includes/l10n.php` |

Retrieves the translation of $text.

  |

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

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

## User Contributed Notes

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