2009-02-12 00:10:11 +01:00
< ? php
/**
* Install theme administration panel .
*
* @ package WordPress
* @ subpackage Administration
*/
/** WordPress Administration Bootstrap */
2020-02-06 07:33:11 +01:00
require_once __DIR__ . '/admin.php' ;
require ABSPATH . 'wp-admin/includes/theme-install.php' ;
2014-03-11 08:47:15 +01:00
wp_reset_vars ( array ( 'tab' ) );
2010-12-16 09:43:22 +01:00
2017-12-01 00:11:00 +01:00
if ( ! current_user_can ( 'install_themes' ) ) {
2016-06-29 17:16:29 +02:00
wp_die ( __ ( 'Sorry, you are not allowed to install themes on this site.' ) );
2017-12-01 00:11:00 +01:00
}
2009-02-12 00:10:11 +01:00
2010-12-06 16:41:19 +01:00
if ( is_multisite () && ! is_network_admin () ) {
wp_redirect ( network_admin_url ( 'theme-install.php' ) );
2020-05-26 11:37:10 +02:00
exit ;
2010-12-06 16:41:19 +01:00
}
2017-12-01 00:11:00 +01:00
$title = __ ( 'Add Themes' );
2009-02-12 00:10:11 +01:00
$parent_file = 'themes.php' ;
2014-03-11 08:47:15 +01:00
if ( ! is_network_admin () ) {
2010-10-21 19:06:52 +02:00
$submenu_file = 'themes.php' ;
2014-03-11 08:47:15 +01:00
}
2014-04-08 01:04:15 +02:00
$installed_themes = search_theme_directories ();
2017-05-11 21:21:44 +02:00
if ( false === $installed_themes ) {
$installed_themes = array ();
}
2014-04-08 01:04:15 +02:00
foreach ( $installed_themes as $k => $v ) {
if ( false !== strpos ( $k , '/' ) ) {
unset ( $installed_themes [ $k ] );
}
}
2017-12-01 00:11:00 +01:00
wp_localize_script (
2018-08-17 03:51:36 +02:00
'theme' ,
'_wpThemeSettings' ,
array (
2017-12-01 00:11:00 +01:00
'themes' => false ,
'settings' => array (
'isInstall' => true ,
'canInstall' => current_user_can ( 'install_themes' ),
'installURI' => current_user_can ( 'install_themes' ) ? self_admin_url ( 'theme-install.php' ) : null ,
'adminUrl' => parse_url ( self_admin_url (), PHP_URL_PATH ),
),
'l10n' => array (
'addNew' => __ ( 'Add New Theme' ),
'search' => __ ( 'Search Themes' ),
2020-01-29 01:45:18 +01:00
'searchPlaceholder' => __ ( 'Search themes...' ), // Placeholder (no ellipsis).
2017-12-01 00:11:00 +01:00
'upload' => __ ( 'Upload Theme' ),
'back' => __ ( 'Back' ),
'error' => sprintf (
2019-09-03 02:41:05 +02:00
/* translators: %s: Support forums URL. */
2017-12-01 00:11:00 +01:00
__ ( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
2019-05-25 16:24:50 +02:00
__ ( 'https://wordpress.org/support/forums/' )
2017-12-01 00:11:00 +01:00
),
'tryAgain' => __ ( 'Try Again' ),
2019-09-03 02:41:05 +02:00
/* translators: %d: Number of themes. */
2017-12-01 00:11:00 +01:00
'themesFound' => __ ( 'Number of Themes found: %d' ),
'noThemesFound' => __ ( 'No themes found. Try a different search.' ),
'collapseSidebar' => __ ( 'Collapse Sidebar' ),
'expandSidebar' => __ ( 'Expand Sidebar' ),
2019-09-03 02:41:05 +02:00
/* translators: Accessibility text. */
2017-12-01 00:11:00 +01:00
'selectFeatureFilter' => __ ( 'Select one or more Theme features to filter by' ),
2016-11-21 02:52:32 +01:00
),
2017-12-01 00:11:00 +01:00
'installedThemes' => array_keys ( $installed_themes ),
2020-06-08 20:16:10 +02:00
'activeTheme' => get_stylesheet (),
2017-12-01 00:11:00 +01:00
)
);
2009-02-12 00:10:11 +01:00
2014-03-11 08:47:15 +01:00
wp_enqueue_script ( 'theme' );
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
wp_enqueue_script ( 'updates' );
2009-02-12 00:10:11 +01:00
2014-03-11 08:47:15 +01:00
if ( $tab ) {
2014-11-30 12:42:24 +01:00
/**
* Fires before each of the tabs are rendered on the Install Themes page .
*
* The dynamic portion of the hook name , `$tab` , refers to the current
2017-08-22 13:52:48 +02:00
* theme installation tab . Possible values are 'dashboard' , 'search' , 'upload' ,
2014-11-30 12:42:24 +01:00
* 'featured' , 'new' , or 'updated' .
*
* @ since 2.8 . 0
*/
2014-03-11 08:47:15 +01:00
do_action ( " install_themes_pre_ { $tab } " );
}
2009-02-12 00:10:11 +01:00
2012-05-27 18:25:43 +02:00
$help_overview =
2016-02-24 02:30:25 +01:00
'<p>' . sprintf (
2019-09-03 02:41:05 +02:00
/* translators: %s: Theme Directory URL. */
I18N: Improve translator comments.
* Add missing translator comments.
* Fix placement of some translator comments. Translator comments should be on the line directly above the line containing the translation function call for optimal compatibility with various `.pot` file generation tools. The CS auto-fixing, which changed some inconsistent function calls to multi-line function calls, is part of the reason why this was no longer the case for a select group of translator comments.
Includes minor code layout fixes.
Polyglots, rejoice! All WordPress core files now have translator comments for all strings with placeholders!
Props jrf, subrataemfluence, GaryJ, webdados, Dency, swissspidy, alvarogois, marcomartins, mihaiiceyro, vladwtz, niq1982, flipkeijzer, michielatyoast, chandrapatel, thrijith, joshuanoyce, FesoVik, tessak22, bhaktirajdev, cleancoded, dhavalkasvala, garrett-eclipse, bibliofille, socalchristina, priyankkpatel, 5hel2l2y, adamsilverstein, JeffPaul, pierlo, SergeyBiryukov.
Fixes #44360.
Built from https://develop.svn.wordpress.org/trunk@45926
git-svn-id: http://core.svn.wordpress.org/trunk@45737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-01 19:13:59 +02:00
__ ( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ),
2017-12-01 00:11:00 +01:00
__ ( 'https://wordpress.org/themes/' )
) . '</p>' .
2015-04-03 04:32:28 +02:00
'<p>' . __ ( 'You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter.' ) . ' <span id="live-search-desc">' . __ ( 'The search results will be updated as you type.' ) . '</span></p>' .
'<p>' . __ ( 'Alternately, you can browse the themes that are Featured, Popular, or Latest. When you find a theme you like, you can preview it or install it.' ) . '</p>' .
2016-02-24 02:30:25 +01:00
'<p>' . sprintf (
2017-12-01 00:11:00 +01:00
/* translators: %s: /wp-content/themes */
I18N: Improve translator comments.
* Add missing translator comments.
* Fix placement of some translator comments. Translator comments should be on the line directly above the line containing the translation function call for optimal compatibility with various `.pot` file generation tools. The CS auto-fixing, which changed some inconsistent function calls to multi-line function calls, is part of the reason why this was no longer the case for a select group of translator comments.
Includes minor code layout fixes.
Polyglots, rejoice! All WordPress core files now have translator comments for all strings with placeholders!
Props jrf, subrataemfluence, GaryJ, webdados, Dency, swissspidy, alvarogois, marcomartins, mihaiiceyro, vladwtz, niq1982, flipkeijzer, michielatyoast, chandrapatel, thrijith, joshuanoyce, FesoVik, tessak22, bhaktirajdev, cleancoded, dhavalkasvala, garrett-eclipse, bibliofille, socalchristina, priyankkpatel, 5hel2l2y, adamsilverstein, JeffPaul, pierlo, SergeyBiryukov.
Fixes #44360.
Built from https://develop.svn.wordpress.org/trunk@45926
git-svn-id: http://core.svn.wordpress.org/trunk@45737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-01 19:13:59 +02:00
__ ( 'You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme’s folder via FTP into your %s directory.' ),
2017-12-01 00:11:00 +01:00
'<code>/wp-content/themes</code>'
) . '</p>' ;
get_current_screen () -> add_help_tab (
array (
'id' => 'overview' ,
'title' => __ ( 'Overview' ),
'content' => $help_overview ,
)
);
2012-05-07 19:26:16 +02:00
$help_installing =
2017-12-01 00:11:00 +01:00
'<p>' . __ ( 'Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you’re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.' ) . '</p>' .
'<p>' . __ ( 'To install the theme so you can preview it with your site’s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live Preview" link under any installed theme’s thumbnail image.' ) . '</p>' ;
get_current_screen () -> add_help_tab (
array (
'id' => 'installing' ,
'title' => __ ( 'Previewing and Installing' ),
'content' => $help_installing ,
)
);
2010-01-15 17:58:36 +01:00
2011-11-02 22:32:16 +01:00
get_current_screen () -> set_help_sidebar (
2017-12-01 00:11:00 +01:00
'<p><strong>' . __ ( 'For more information:' ) . '</strong></p>' .
2019-07-26 00:45:57 +02:00
'<p>' . __ ( '<a href="https://wordpress.org/support/article/using-themes/#adding-new-themes">Documentation on Adding New Themes</a>' ) . '</p>' .
2019-04-09 00:59:56 +02:00
'<p>' . __ ( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
2011-11-02 06:33:53 +01:00
);
2020-02-06 07:33:11 +01:00
require_once ABSPATH . 'wp-admin/admin-header.php' ;
2014-03-11 08:47:15 +01:00
2009-02-12 00:10:11 +01:00
?>
< div class = " wrap " >
2016-12-06 23:24:41 +01:00
< h1 class = " wp-heading-inline " >< ? php echo esc_html ( $title ); ?> </h1>
< ? php
2014-08-27 03:32:18 +02:00
/**
2016-05-22 20:01:30 +02:00
* Filters the tabs shown on the Add Themes screen .
2014-08-27 03:32:18 +02:00
*
2016-05-13 20:41:31 +02:00
* This filter is for backward compatibility only , for the suppression of the upload tab .
2014-08-27 03:32:18 +02:00
*
* @ since 2.8 . 0
2014-12-07 19:41:21 +01:00
*
2018-03-25 20:10:32 +02:00
* @ param string [] $tabs Associative array of the tabs shown on the Add Themes screen . Default is 'upload' .
2014-08-27 03:32:18 +02:00
*/
$tabs = apply_filters ( 'install_themes_tabs' , array ( 'upload' => __ ( 'Upload Theme' ) ) );
if ( ! empty ( $tabs [ 'upload' ] ) && current_user_can ( 'upload_themes' ) ) {
2016-06-17 22:47:28 +02:00
echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __ ( 'Upload Theme' ) . '</button>' ;
2014-08-27 03:32:18 +02:00
}
2016-12-06 23:24:41 +01:00
?>
< hr class = " wp-header-end " >
2016-06-17 22:47:28 +02:00
< div class = " error hide-if-js " >
< p >< ? php _e ( 'The Theme Installer screen requires JavaScript.' ); ?> </p>
</ div >
2014-03-11 08:47:15 +01:00
< div class = " upload-theme " >
< ? php install_themes_upload (); ?>
</ div >
2016-06-17 22:47:28 +02:00
< h2 class = " screen-reader-text hide-if-no-js " >< ? php _e ( 'Filter themes list' ); ?> </h2>
2015-10-07 03:28:25 +02:00
2016-06-17 22:47:28 +02:00
< div class = " wp-filter hide-if-no-js " >
2014-08-25 17:58:15 +02:00
< div class = " filter-count " >
2014-07-18 05:40:16 +02:00
< span class = " count theme-count " ></ span >
2014-03-11 08:47:15 +01:00
</ div >
2014-07-18 05:40:16 +02:00
2014-08-25 17:58:15 +02:00
< ul class = " filter-links " >
< li >< a href = " # " data - sort = " featured " >< ? php _ex ( 'Featured' , 'themes' ); ?> </a></li>
< li >< a href = " # " data - sort = " popular " >< ? php _ex ( 'Popular' , 'themes' ); ?> </a></li>
< li >< a href = " # " data - sort = " new " >< ? php _ex ( 'Latest' , 'themes' ); ?> </a></li>
2015-11-04 22:49:26 +01:00
< li >< a href = " # " data - sort = " favorites " >< ? php _ex ( 'Favorites' , 'themes' ); ?> </a></li>
2014-07-18 05:40:16 +02:00
</ ul >
2016-09-21 19:54:28 +02:00
< button type = " button " class = " button drawer-toggle " aria - expanded = " false " >< ? php _e ( 'Feature Filter' ); ?> </button>
2014-07-18 05:40:16 +02:00
2017-05-08 17:59:44 +02:00
< form class = " search-form " ></ form >
2014-08-25 17:58:15 +02:00
2015-11-04 22:49:26 +01:00
< div class = " favorites-form " >
< ? php
2016-03-30 20:36:26 +02:00
$action = 'save_wporg_username_' . get_current_user_id ();
if ( isset ( $_GET [ '_wpnonce' ] ) && wp_verify_nonce ( wp_unslash ( $_GET [ '_wpnonce' ] ), $action ) ) {
$user = isset ( $_GET [ 'user' ] ) ? wp_unslash ( $_GET [ 'user' ] ) : get_user_option ( 'wporg_favorites' );
update_user_meta ( get_current_user_id (), 'wporg_favorites' , $user );
} else {
$user = get_user_option ( 'wporg_favorites' );
}
2015-11-04 22:49:26 +01:00
?>
< p class = " install-help " >< ? php _e ( 'If you have marked themes as favorites on WordPress.org, you can browse them here.' ); ?> </p>
< p >
2015-12-16 23:30:27 +01:00
< label for = " wporg-username-input " >< ? php _e ( 'Your WordPress.org username:' ); ?> </label>
2016-03-30 20:36:26 +02:00
< input type = " hidden " id = " wporg-username-nonce " name = " _wpnonce " value = " <?php echo esc_attr( wp_create_nonce( $action ) ); ?> " />
2015-11-04 22:49:26 +01:00
< input type = " search " id = " wporg-username-input " value = " <?php echo esc_attr( $user ); ?> " />
2016-09-28 21:54:28 +02:00
< input type = " button " class = " button favorites-form-submit " value = " <?php esc_attr_e( 'Get Favorites' ); ?> " />
2015-11-04 22:49:26 +01:00
</ p >
</ div >
2014-08-25 17:58:15 +02:00
< div class = " filter-drawer " >
< div class = " buttons " >
2016-09-21 19:54:28 +02:00
< button type = " button " class = " apply-filters button " >< ? php _e ( 'Apply Filters' ); ?> <span></span></button>
< button type = " button " class = " clear-filters button " aria - label = " <?php esc_attr_e( 'Clear current filters' ); ?> " >< ? php _e ( 'Clear' ); ?> </button>
2014-07-18 05:40:16 +02:00
</ div >
2014-03-20 05:20:15 +01:00
< ? php
2020-05-14 14:50:08 +02:00
// Use the core list, rather than the .org API, due to inconsistencies
// and to ensure tags are translated.
$feature_list = get_theme_feature_list ( false );
2014-03-20 05:20:15 +01:00
foreach ( $feature_list as $feature_name => $features ) {
2015-10-20 00:04:25 +02:00
echo '<fieldset class="filter-group">' ;
2014-03-20 05:20:15 +01:00
$feature_name = esc_html ( $feature_name );
2015-10-20 00:04:25 +02:00
echo '<legend>' . $feature_name . '</legend>' ;
echo '<div class="filter-group-feature">' ;
2014-03-20 05:20:15 +01:00
foreach ( $features as $feature => $feature_name ) {
$feature = esc_attr ( $feature );
2015-10-20 00:04:25 +02:00
echo '<input type="checkbox" id="filter-id-' . $feature . '" value="' . $feature . '" /> ' ;
2018-01-15 20:27:53 +01:00
echo '<label for="filter-id-' . $feature . '">' . $feature_name . '</label>' ;
2014-03-20 05:20:15 +01:00
}
echo '</div>' ;
2015-10-20 00:04:25 +02:00
echo '</fieldset>' ;
2014-03-20 05:20:15 +01:00
}
?>
2016-09-21 19:54:28 +02:00
< div class = " buttons " >
< button type = " button " class = " apply-filters button " >< ? php _e ( 'Apply Filters' ); ?> <span></span></button>
< button type = " button " class = " clear-filters button " aria - label = " <?php esc_attr_e( 'Clear current filters' ); ?> " >< ? php _e ( 'Clear' ); ?> </button>
</ div >
2014-08-25 17:58:15 +02:00
< div class = " filtered-by " >
2014-04-02 00:20:14 +02:00
< span >< ? php _e ( 'Filtering by:' ); ?> </span>
< div class = " tags " ></ div >
2016-09-21 19:54:28 +02:00
< button type = " button " class = " button-link edit-filters " >< ? php _e ( 'Edit Filters' ); ?> </button>
2014-04-02 00:20:14 +02:00
</ div >
2014-03-11 08:47:15 +01:00
</ div >
</ div >
2016-06-17 22:47:28 +02:00
< h2 class = " screen-reader-text hide-if-no-js " >< ? php _e ( 'Themes list' ); ?> </h2>
2015-04-03 04:32:28 +02:00
< div class = " theme-browser content-filterable " ></ div >
2014-04-08 05:57:15 +02:00
< div class = " theme-install-overlay wp-full-overlay expanded " ></ div >
2015-04-03 04:32:28 +02:00
2017-10-16 20:14:48 +02:00
< p class = " no-themes " >< ? php _e ( 'No themes found. Try a different search.' ); ?> </p>
2014-03-11 08:47:15 +01:00
< span class = " spinner " ></ span >
2013-11-23 23:37:10 +01:00
< ? php
2014-03-11 08:47:15 +01:00
if ( $tab ) {
2014-11-30 12:42:24 +01:00
/**
* Fires at the top of each of the tabs on the Install Themes page .
*
* The dynamic portion of the hook name , `$tab` , refers to the current
2017-08-22 13:52:48 +02:00
* theme installation tab . Possible values are 'dashboard' , 'search' , 'upload' ,
2014-11-30 12:42:24 +01:00
* 'featured' , 'new' , or 'updated' .
*
* @ since 2.8 . 0
*
* @ param int $paged Number of the current page of results being viewed .
*/
2014-03-11 08:47:15 +01:00
do_action ( " install_themes_ { $tab } " , $paged );
}
2013-11-23 23:37:10 +01:00
?>
2009-02-12 00:10:11 +01:00
</ div >
2014-03-11 08:47:15 +01:00
< script id = " tmpl-theme " type = " text/template " >
< # if ( data.screenshot_url ) { #>
< div class = " theme-screenshot " >
< img src = " { { data.screenshot_url }} " alt = " " />
</ div >
< # } else { #>
< div class = " theme-screenshot blank " ></ div >
< # } #>
2020-07-27 17:04:03 +02:00
< # if ( data.installed ) { #>
< div class = " notice notice-success notice-alt " >< p >< ? php _ex ( 'Installed' , 'theme' ); ?> </p></div>
< # } #>
< # if ( ! data.compatible_wp || ! data.compatible_php ) { #>
< div class = " notice notice-error notice-alt " >< p >
< # if ( ! data.compatible_wp && ! data.compatible_php ) { #>
< ? php
_e ( 'This theme doesn’t work with your versions of WordPress and PHP.' );
if ( current_user_can ( 'update_core' ) && current_user_can ( 'update_php' ) ) {
printf (
/* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
' ' . __ ( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
self_admin_url ( 'update-core.php' ),
esc_url ( wp_get_update_php_url () )
);
wp_update_php_annotation ( '</p><p><em>' , '</em>' );
} elseif ( current_user_can ( 'update_core' ) ) {
printf (
/* translators: %s: URL to WordPress Updates screen. */
' ' . __ ( '<a href="%s">Please update WordPress</a>.' ),
self_admin_url ( 'update-core.php' )
);
} elseif ( current_user_can ( 'update_php' ) ) {
printf (
/* translators: %s: URL to Update PHP page. */
' ' . __ ( '<a href="%s">Learn more about updating PHP</a>.' ),
esc_url ( wp_get_update_php_url () )
);
wp_update_php_annotation ( '</p><p><em>' , '</em>' );
}
?>
< # } else if ( ! data.compatible_wp ) { #>
< ? php
_e ( 'This theme doesn’t work with your version of WordPress.' );
if ( current_user_can ( 'update_core' ) ) {
printf (
/* translators: %s: URL to WordPress Updates screen. */
' ' . __ ( '<a href="%s">Please update WordPress</a>.' ),
self_admin_url ( 'update-core.php' )
);
}
?>
< # } else if ( ! data.compatible_php ) { #>
< ? php
_e ( 'This theme doesn’t work with your version of PHP.' );
if ( current_user_can ( 'update_php' ) ) {
printf (
/* translators: %s: URL to Update PHP page. */
' ' . __ ( '<a href="%s">Learn more about updating PHP</a>.' ),
esc_url ( wp_get_update_php_url () )
);
wp_update_php_annotation ( '</p><p><em>' , '</em>' );
}
?>
< # } #>
</ p ></ div >
< # } #>
2014-03-11 08:47:15 +01:00
< span class = " more-details " >< ? php _ex ( 'Details & Preview' , 'theme' ); ?> </span>
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< div class = " theme-author " >
< ? php
2019-09-03 02:41:05 +02:00
/* translators: %s: Theme author name. */
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
printf ( __ ( 'By %s' ), '{{ data.author }}' );
?>
</ div >
2014-03-11 08:47:15 +01:00
2017-10-19 20:10:47 +02:00
< div class = " theme-id-container " >
< h3 class = " theme-name " > {{ data . name }} </ h3 >
< div class = " theme-actions " >
< # if ( data.installed ) { #>
2020-05-18 14:32:10 +02:00
< # if ( data.compatible_wp && data.compatible_php ) { #>
< ? php
/* translators: %s: Theme name. */
$aria_label = sprintf ( _x ( 'Activate %s' , 'theme' ), '{{ data.name }}' );
?>
< # if ( data.activate_url ) { #>
2020-06-08 20:16:10 +02:00
< # if ( ! data.active ) { #>
< a class = " button button-primary activate " href = " { { data.activate_url }} " aria - label = " <?php echo esc_attr( $aria_label ); ?> " >< ? php _e ( 'Activate' ); ?> </a>
< # } else { #>
< button class = " button button-primary disabled " >< ? php _ex ( 'Activated' , 'theme' ); ?> </button>
< # } #>
2020-05-18 14:32:10 +02:00
< # } #>
< # if ( data.customize_url ) { #>
2020-06-08 20:16:10 +02:00
< # if ( ! data.active ) { #>
< a class = " button load-customize " href = " { { data.customize_url }} " >< ? php _e ( 'Live Preview' ); ?> </a>
< # } else { #>
< a class = " button load-customize " href = " { { data.customize_url }} " >< ? php _e ( 'Customize' ); ?> </a>
< # } #>
2020-05-18 14:32:10 +02:00
< # } else { #>
< button class = " button preview install-theme-preview " >< ? php _e ( 'Preview' ); ?> </button>
< # } #>
2017-10-19 20:10:47 +02:00
< # } else { #>
2020-05-18 14:32:10 +02:00
< ? php
/* translators: %s: Theme name. */
$aria_label = sprintf ( _x ( 'Cannot Activate %s' , 'theme' ), '{{ data.name }}' );
?>
< # if ( data.activate_url ) { #>
< a class = " button button-primary disabled " aria - label = " <?php echo esc_attr( $aria_label ); ?> " >< ? php _ex ( 'Cannot Activate' , 'theme' ); ?> </a>
< # } #>
< # if ( data.customize_url ) { #>
< a class = " button disabled " >< ? php _e ( 'Live Preview' ); ?> </a>
< # } else { #>
< button class = " button disabled " >< ? php _e ( 'Preview' ); ?> </button>
< # } #>
2017-10-19 20:10:47 +02:00
< # } #>
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< # } else { #>
2020-05-18 18:03:09 +02:00
< # if ( data.compatible_wp && data.compatible_php ) { #>
< ? php
/* translators: %s: Theme name. */
2020-07-21 01:14:05 +02:00
$aria_label = sprintf ( _x ( 'Install %s' , 'theme' ), '{{ data.name }}' );
2020-05-18 18:03:09 +02:00
?>
< a class = " button button-primary theme-install " data - name = " { { data.name }} " data - slug = " { { data.id }} " href = " { { data.install_url }} " aria - label = " <?php echo esc_attr( $aria_label ); ?> " >< ? php _e ( 'Install' ); ?> </a>
< button class = " button preview install-theme-preview " >< ? php _e ( 'Preview' ); ?> </button>
< # } else { #>
< ? php
/* translators: %s: Theme name. */
2020-07-21 01:14:05 +02:00
$aria_label = sprintf ( _x ( 'Cannot Install %s' , 'theme' ), '{{ data.name }}' );
2020-05-18 18:03:09 +02:00
?>
< a class = " button button-primary disabled " data - name = " { { data.name }} " aria - label = " <?php echo esc_attr( $aria_label ); ?> " >< ? php _ex ( 'Cannot Install' , 'theme' ); ?> </a>
< button class = " button disabled " >< ? php _e ( 'Preview' ); ?> </button>
< # } #>
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< # } #>
2017-10-19 20:10:47 +02:00
</ div >
2014-03-11 08:47:15 +01:00
</ div >
</ script >
< script id = " tmpl-theme-preview " type = " text/template " >
< div class = " wp-full-overlay-sidebar " >
< div class = " wp-full-overlay-header " >
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< button class = " close-full-overlay " >< span class = " screen-reader-text " >< ? php _e ( 'Close' ); ?> </span></button>
2018-04-29 19:04:22 +02:00
< button class = " previous-theme " >< span class = " screen-reader-text " >< ? php _e ( 'Previous theme' ); ?> </span></button>
< button class = " next-theme " >< span class = " screen-reader-text " >< ? php _e ( 'Next theme' ); ?> </span></button>
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< # if ( data.installed ) { #>
2020-05-18 18:03:09 +02:00
< # if ( data.compatible_wp && data.compatible_php ) { #>
2020-06-08 20:16:10 +02:00
< ? php
/* translators: %s: Theme name. */
$aria_label = sprintf ( _x ( 'Activate %s' , 'theme' ), '{{ data.name }}' );
?>
< # if ( ! data.active ) { #>
< a class = " button button-primary activate " href = " { { data.activate_url }} " aria - label = " <?php echo esc_attr( $aria_label ); ?> " >< ? php _e ( 'Activate' ); ?> </a>
< # } else { #>
< button class = " button button-primary disabled " >< ? php _ex ( 'Activated' , 'theme' ); ?> </button>
< # } #>
2020-05-18 18:03:09 +02:00
< # } else { #>
< a class = " button button-primary disabled " >< ? php _ex ( 'Cannot Activate' , 'theme' ); ?> </a>
< # } #>
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< # } else { #>
2020-05-18 18:03:09 +02:00
< # if ( data.compatible_wp && data.compatible_php ) { #>
< a href = " { { data.install_url }} " class = " button button-primary theme-install " data - name = " { { data.name }} " data - slug = " { { data.id }} " >< ? php _e ( 'Install' ); ?> </a>
< # } else { #>
< a class = " button button-primary disabled " >< ? php _ex ( 'Cannot Install' , 'theme' ); ?> </a>
< # } #>
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< # } #>
2014-03-11 08:47:15 +01:00
</ div >
< div class = " wp-full-overlay-sidebar-content " >
< div class = " install-theme-info " >
< h3 class = " theme-name " > {{ data . name }} </ h3 >
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< span class = " theme-by " >
< ? php
2019-09-03 02:41:05 +02:00
/* translators: %s: Theme author name. */
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
printf ( __ ( 'By %s' ), '{{ data.author }}' );
?>
</ span >
< img class = " theme-screenshot " src = " { { data.screenshot_url }} " alt = " " />
< div class = " theme-details " >
< # if ( data.rating ) { #>
< div class = " theme-rating " >
{{{ data . stars }}}
2019-03-21 23:02:51 +01:00
< a class = " num-ratings " href = " { { data.reviews_url }} " >
< ? php
2019-09-03 02:41:05 +02:00
/* translators: %s: Number of ratings. */
2020-06-20 15:18:11 +02:00
printf ( __ ( '(%s ratings)' ), '{{ data.num_ratings }}' );
2019-03-21 23:02:51 +01:00
?>
</ a >
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
</ div >
< # } else { #>
< span class = " no-rating " >< ? php _e ( 'This theme has not been rated yet.' ); ?> </span>
< # } #>
2020-07-27 16:26:07 +02:00
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< div class = " theme-version " >
< ? php
2019-09-03 02:41:05 +02:00
/* translators: %s: Theme version. */
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
printf ( __ ( 'Version: %s' ), '{{ data.version }}' );
?>
2015-01-08 00:17:22 +01:00
</ div >
2020-07-27 16:26:07 +02:00
< # if ( ! data.compatible_wp || ! data.compatible_php ) { #>
< div class = " notice notice-error notice-alt notice-large " >< p >
< # if ( ! data.compatible_wp && ! data.compatible_php ) { #>
< ? php
_e ( 'This theme doesn’t work with your versions of WordPress and PHP.' );
if ( current_user_can ( 'update_core' ) && current_user_can ( 'update_php' ) ) {
printf (
/* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
' ' . __ ( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
self_admin_url ( 'update-core.php' ),
esc_url ( wp_get_update_php_url () )
);
wp_update_php_annotation ( '</p><p><em>' , '</em>' );
} elseif ( current_user_can ( 'update_core' ) ) {
printf (
/* translators: %s: URL to WordPress Updates screen. */
' ' . __ ( '<a href="%s">Please update WordPress</a>.' ),
self_admin_url ( 'update-core.php' )
);
} elseif ( current_user_can ( 'update_php' ) ) {
printf (
/* translators: %s: URL to Update PHP page. */
' ' . __ ( '<a href="%s">Learn more about updating PHP</a>.' ),
esc_url ( wp_get_update_php_url () )
);
wp_update_php_annotation ( '</p><p><em>' , '</em>' );
}
?>
< # } else if ( ! data.compatible_wp ) { #>
< ? php
_e ( 'This theme doesn’t work with your version of WordPress.' );
if ( current_user_can ( 'update_core' ) ) {
printf (
/* translators: %s: URL to WordPress Updates screen. */
' ' . __ ( '<a href="%s">Please update WordPress</a>.' ),
self_admin_url ( 'update-core.php' )
);
}
?>
< # } else if ( ! data.compatible_php ) { #>
< ? php
_e ( 'This theme doesn’t work with your version of PHP.' );
if ( current_user_can ( 'update_php' ) ) {
printf (
/* translators: %s: URL to Update PHP page. */
' ' . __ ( '<a href="%s">Learn more about updating PHP</a>.' ),
esc_url ( wp_get_update_php_url () )
);
wp_update_php_annotation ( '</p><p><em>' , '</em>' );
}
?>
< # } #>
</ p ></ div >
< # } #>
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< div class = " theme-description " > {{{ data . description }}} </ div >
</ div >
2014-03-11 08:47:15 +01:00
</ div >
</ div >
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< div class = " wp-full-overlay-footer " >
2016-09-28 21:54:28 +02:00
< button type = " button " class = " collapse-sidebar button " aria - expanded = " true " aria - label = " <?php esc_attr_e( 'Collapse Sidebar' ); ?> " >
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< span class = " collapse-sidebar-arrow " ></ span >
< span class = " collapse-sidebar-label " >< ? php _e ( 'Collapse' ); ?> </span>
</ button >
2016-03-05 23:07:25 +01:00
</ div >
2014-03-11 08:47:15 +01:00
</ div >
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
< div class = " wp-full-overlay-main " >
< iframe src = " { { data.preview_url }} " title = " <?php esc_attr_e( 'Preview' ); ?> " ></ iframe >
2014-03-11 08:47:15 +01:00
</ div >
</ script >
2009-02-12 00:10:11 +01:00
< ? php
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
wp_print_request_filesystem_credentials_modal ();
wp_print_admin_notice_templates ();
2020-02-06 07:33:11 +01:00
require_once ABSPATH . 'wp-admin/admin-footer.php' ;