'return' =>
sanitize_url( $this->
get_return_url() ),
'parent' =>
sanitize_url( admin_url() ),
'activated' =>
sanitize_url( home_url( '/'
) ),
'ajax' =>
sanitize_url( admin_url( 'admin-ajax.php', 'relative'
) ),
'allowed' =>
array_map( 'sanitize_url',
$this->
get_allowed_urls() ),
'isCrossDomain' =>
$this->
is_cross_domain(),
'home' =>
sanitize_url( home_url( '/'
) ),
'login' =>
sanitize_url( $login_url ),
),
'browser' => array
( 'mobile' =>
wp_is_mobile(),
'ios' =>
$this->
is_ios(),
),
'panels' => array
(),
'sections' => array
(),
'nonce' =>
$this->
get_nonces(),
'autofocus' =>
$this->
get_autofocus(),
'documentTitleTmpl' =>
$this->
get_document_title_template(),
'previewableDevices' =>
$this->
get_previewable_devices(),
'l10n' => array
( 'confirmDeleteTheme' =>
__( 'Are you sure you want to delete this theme?'
),
/* translators: %d: Number of theme search results, which cannot currently consider singular vs. plural forms. */
'themeSearchResults' =>
__( '%d themes found'
),