You are here

function _media_recursive_check_plain in D7 Media 7

Silly function to recursively run check_plain on an array.

There is probably something in core I am not aware of that does this.

Parameters

$value:

$key:

2 string references to '_media_recursive_check_plain'
media_browser in includes/media.browser.inc
@file Media Browser page callback
media_browser_list in includes/media.browser.inc
AJAX Callback function to return a list of media files

File

includes/media.browser.inc, line 257
Media Browser page callback

Code

function _media_recursive_check_plain(&$value, $key) {
  $value = check_plain($value);
}