You appear to be a bot. Output may be restricted
Description
Usage
Tests_Media::data_autoembed();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/media.php
Lines:
1 to 57 of 57
function data_autoembed() { return array( // Should embed array( 'https://w.org', '[embed]', ), array( 'test https://w.org test', 'test [embed] test', ), array( '<p class="test">https://w.org</p>', '<p class="test">[embed]</p>', ), array( '<p> https://w.org </p>', '<p> [embed] </p>', ), array( '<p>test https://w.org test</p>', '<p>test [embed] test</p>', ), array( '<p>https://w.org </p>', '<p>[embed] </p>', ), // Should NOT embed array( 'test https://w.org</p>', ), array( '<span>https://w.org</a>', ), array( '<pre>https://w.org </p>', ), array( '<a href="https://w.org"> https://w.org</a>', ), ); }