Skip to content

Commit 41c347f

Browse files
committed
Merge commit '6a06b2a4309e6cb94ef1ca447f95669912bcb2a6' into release/0.1.0
2 parents 1e68fa8 + 6a06b2a commit 41c347f

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

php/class-onboarding-rest-controller.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -146,24 +146,6 @@ public function install_theme( $request ) {
146146
include_once ABSPATH . '/wp-admin/includes/class-wp-upgrader.php';
147147
include_once ABSPATH . '/wp-admin/includes/class-theme-upgrader.php';
148148

149-
// @todo Remove after the theme is published to WP theme repo.
150-
add_filter(
151-
'themes_api',
152-
function( $return, $action, $args ) {
153-
if ( 'theme_information' === $action && isset( $args->slug ) && Plugin::THEME_SLUG === $args->slug ) {
154-
return (object) [
155-
'name' => 'Material Design Google',
156-
'download_link' => 'https://storage.googleapis.com/xwp-mdc/theme/material-design-google.zip',
157-
];
158-
}
159-
160-
return $return;
161-
},
162-
10,
163-
3
164-
);
165-
// @codeCoverageIgnoreEnd
166-
167149
$api = themes_api(
168150
'theme_information',
169151
[

0 commit comments

Comments
 (0)