Filter by:
File Violation Severity
wp-includes/js/utils.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/plupload/handlers.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/media-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/wp-lists.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/mce-view.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
509
		 */
510
		setIframes: function( head, body, callback, rendered ) {
511
			var self = this;
512
 
513
			if ( body.indexOf( '[' ) !== -1 && body.indexOf( ']' ) !== -1 ) {
514
				var shortcodesRegExp = new RegExp( '\\[\\/?(?:' + window.mceViewL10n.shortcodes.join( '|' ) + ')[^\\]]*?\\]', 'g' );
515
				// Escape tags inside shortcode previews.
516
				body = body.replace( shortcodesRegExp, function( match ) {
517
					return match.replace( /</g, '&lt;' ).replace( />/g, '&gt;' );
518
				} );
519
			}
wp-includes/js/wplink.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/wplink.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/wplink.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/dist/viewport.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/dist/viewport.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
wp-includes/js/customize-views.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice