Uncaught referenceerror: commonl10n не определяется

add_action( 'admin_footer', function () {
	?>
	<script>
		if ( typeof commonL10n === 'undefined' ) {
			var commonL10n = { dismiss : 'Dismiss' };
		}
	</script>
	<?php
}, 100 );
Pepiño