at path:ROOT / wp-includes / js / wp-embed.js
run:R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
10.3 KB
2026-03-11 16:18:51
R W Run
3.41 KB
2026-03-11 16:18:51
R W Run
3.25 KB
2026-03-11 16:18:51
R W Run
1023 By
2026-03-11 16:18:51
R W Run
21.95 KB
2026-03-11 16:18:51
R W Run
5.67 KB
2026-03-11 16:18:51
R W Run
78.51 KB
2026-03-11 16:18:51
R W Run
23.73 KB
2026-03-11 16:18:51
R W Run
26.18 KB
2026-03-11 16:18:51
R W Run
8.8 KB
2026-03-11 16:18:51
R W Run
28.4 KB
2026-03-11 16:18:51
R W Run
16.11 KB
2026-03-11 16:18:51
R W Run
12.22 KB
2026-03-11 16:18:51
R W Run
2.96 KB
2026-03-11 16:18:51
R W Run
25.22 KB
2026-03-11 16:18:51
R W Run
7.67 KB
2026-03-11 16:18:51
R W Run
7.72 KB
2026-03-11 16:18:51
R W Run
3.47 KB
2026-03-11 16:18:51
R W Run
6.66 KB
2026-03-11 16:18:51
R W Run
3.59 KB
2026-03-11 16:18:51
R W Run
14.67 KB
2026-03-11 16:18:51
R W Run
4.92 KB
2026-03-11 16:18:51
R W Run
22.71 KB
2026-03-11 16:18:51
R W Run
7.64 KB
2026-03-11 16:18:51
R W Run
27.93 KB
2026-03-11 16:18:51
R W Run
10.75 KB
2026-03-11 16:18:51
R W Run
32.55 KB
2026-03-11 16:18:51
R W Run
10.44 KB
2026-03-11 16:18:51
R W Run
5.1 KB
2026-03-11 16:18:51
R W Run
2.51 KB
2026-03-11 16:18:51
R W Run
23.49 KB
2026-03-11 16:18:51
R W Run
5.81 KB
2026-03-11 16:18:51
R W Run
7.06 KB
2026-03-11 16:18:51
R W Run
1.46 KB
2026-03-11 16:18:51
R W Run
1.68 KB
2026-03-11 16:18:51
R W Run
5.39 KB
2026-03-11 16:18:51
R W Run
31 By
2026-03-11 16:18:51
R W Run
35 By
2026-03-11 16:18:51
R W Run
23.57 KB
2026-03-11 16:18:51
R W Run
25.24 KB
2026-03-11 16:18:51
R W Run
9.54 KB
2026-03-11 16:18:51
R W Run
24.24 KB
2026-03-11 16:18:51
R W Run
11.77 KB
2026-03-11 16:18:51
R W Run
28.44 KB
2026-03-11 16:18:51
R W Run
10.63 KB
2026-03-11 16:18:51
R W Run
26.15 KB
2026-03-11 16:18:51
R W Run
12.98 KB
2026-03-11 16:18:51
R W Run
42.58 KB
2026-03-11 16:18:51
R W Run
12.97 KB
2026-03-11 16:18:51
R W Run
266.99 KB
2026-03-11 16:18:51
R W Run
108.18 KB
2026-03-11 16:18:51
R W Run
22.07 KB
2026-03-11 16:18:51
R W Run
10.87 KB
2026-03-11 16:18:51
R W Run
10.51 KB
2026-03-11 16:18:51
R W Run
2.58 KB
2026-03-11 16:18:51
R W Run
0 By
2026-03-11 16:18:51
R W Run
35 By
2026-03-11 16:18:51
R W Run
4.85 KB
2026-03-11 16:18:51
R W Run
3.21 KB
2026-03-11 16:18:51
R W Run
36.32 KB
2026-03-11 16:18:51
R W Run
19.39 KB
2026-03-11 16:18:51
R W Run
67.12 KB
2026-03-11 16:18:51
R W Run
18.46 KB
2026-03-11 16:18:51
R W Run
4.56 KB
2026-03-11 16:18:51
R W Run
1.82 KB
2026-03-11 16:18:51
R W Run
3.81 KB
2026-03-11 16:18:51
R W Run
2.51 KB
2026-03-11 16:18:51
R W Run
45.88 KB
2026-03-11 16:18:51
R W Run
14.34 KB
2026-03-11 16:18:51
R W Run
4.11 KB
2026-03-11 16:18:51
R W Run
1.62 KB
2026-03-11 16:18:51
R W Run
14.88 KB
2026-03-11 16:18:51
R W Run
2.97 KB
2026-03-11 16:18:51
R W Run
10.22 KB
2026-03-11 16:18:51
R W Run
4.34 KB
2026-03-11 16:18:51
R W Run
6.62 KB
2026-03-11 16:18:51
R W Run
3.1 KB
2026-03-11 16:18:51
R W Run
3.14 KB
2026-03-11 16:18:51
R W Run
1.22 KB
2026-03-11 16:18:51
R W Run
12.89 KB
2026-03-11 16:18:51
R W Run
2.82 KB
2026-03-11 16:18:51
R W Run
22.23 KB
2026-03-11 16:18:51
R W Run
8.59 KB
2026-03-11 16:18:51
R W Run
2.79 KB
2026-03-11 16:18:51
R W Run
970 By
2026-03-11 16:18:51
R W Run
597 By
2026-03-11 16:18:51
R W Run
24.72 KB
2026-03-11 16:18:51
R W Run
7.34 KB
2026-03-11 16:18:51
R W Run
9.99 KB
2026-03-11 16:18:51
R W Run
3.54 KB
2026-03-11 16:18:51
R W Run
1.3 KB
2026-03-11 16:18:51
R W Run
444 By
2026-03-11 16:18:51
R W Run
4.58 KB
2026-03-11 16:18:51
R W Run
1.4 KB
2026-03-11 16:18:51
R W Run
569 By
2026-03-11 16:18:51
R W Run
281 By
2026-03-11 16:18:51
R W Run
20.74 KB
2026-03-11 16:18:51
R W Run
11.05 KB
2026-03-11 16:18:51
R W Run
821 By
2026-03-11 16:18:51
R W Run
351 By
2026-03-11 16:18:51
R W Run
802.97 KB
2026-03-11 16:18:51
R W Run
error_log
📄wp-embed.js
1/**
2 * WordPress inline HTML embed
3 *
4 * @since 4.4.0
5 * @output wp-includes/js/wp-embed.js
6 *
7 * Single line comments should not be used since they will break
8 * the script when inlined in get_post_embed_html(), specifically
9 * when the comments are not stripped out due to SCRIPT_DEBUG
10 * being turned on.
11 */
12(function ( window, document ) {
13 'use strict';
14
15 /* Abort for ancient browsers. */
16 if ( ! document.querySelector || ! window.addEventListener || typeof URL === 'undefined' ) {
17 return;
18 }
19
20 /** @namespace wp */
21 window.wp = window.wp || {};
22
23 /* Abort if script was already executed. */
24 if ( !! window.wp.receiveEmbedMessage ) {
25 return;
26 }
27
28 /**
29 * Receive embed message.
30 *
31 * @param {MessageEvent} e
32 */
33 window.wp.receiveEmbedMessage = function( e ) {
34 var data = e.data;
35
36 /* Verify shape of message. */
37 if (
38 ! ( data || data.secret || data.message || data.value ) ||
39 /[^a-zA-Z0-9]/.test( data.secret )
40 ) {
41 return;
42 }
43
44 var iframes = document.querySelectorAll( 'iframe[data-secret="' + data.secret + '"]' ),
45 blockquotes = document.querySelectorAll( 'blockquote[data-secret="' + data.secret + '"]' ),
46 allowedProtocols = new RegExp( '^https?:$', 'i' ),
47 i, source, height, sourceURL, targetURL;
48
49 for ( i = 0; i < blockquotes.length; i++ ) {
50 blockquotes[ i ].style.display = 'none';
51 }
52
53 for ( i = 0; i < iframes.length; i++ ) {
54 source = iframes[ i ];
55
56 if ( e.source !== source.contentWindow ) {
57 continue;
58 }
59
60 source.removeAttribute( 'style' );
61
62 if ( 'height' === data.message ) {
63 /* Resize the iframe on request. */
64 height = parseInt( data.value, 10 );
65 if ( height > 1000 ) {
66 height = 1000;
67 } else if ( ~~height < 200 ) {
68 height = 200;
69 }
70
71 source.height = height;
72 } else if ( 'link' === data.message ) {
73 /* Link to a specific URL on request. */
74 sourceURL = new URL( source.getAttribute( 'src' ) );
75 targetURL = new URL( data.value );
76
77 if (
78 allowedProtocols.test( targetURL.protocol ) &&
79 targetURL.host === sourceURL.host &&
80 document.activeElement === source
81 ) {
82 window.top.location.href = data.value;
83 }
84 }
85 }
86 };
87
88 function onLoad() {
89 var iframes = document.querySelectorAll( 'iframe.wp-embedded-content' ),
90 i, source, secret;
91
92 for ( i = 0; i < iframes.length; i++ ) {
93 /** @var {IframeElement} */
94 source = iframes[ i ];
95
96 secret = source.getAttribute( 'data-secret' );
97 if ( ! secret ) {
98 /* Add secret to iframe */
99 secret = Math.random().toString( 36 ).substring( 2, 12 );
100 source.src += '#?secret=' + secret;
101 source.setAttribute( 'data-secret', secret );
102 }
103
104 /*
105 * Let post embed window know that the parent is ready for receiving the height message, in case the iframe
106 * loaded before wp-embed.js was loaded. When the ready message is received by the post embed window, the
107 * window will then (re-)send the height message right away.
108 */
109 source.contentWindow.postMessage( {
110 message: 'ready',
111 secret: secret
112 }, '*' );
113 }
114 }
115
116 window.addEventListener( 'message', window.wp.receiveEmbedMessage, false );
117 document.addEventListener( 'DOMContentLoaded', onLoad, false );
118})( window, document );
119