Skip to content

Commit 4abc7c9

Browse files
committed
Remove theme download GCS URL
1 parent 6deb8d9 commit 4abc7c9

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
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
[

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The official Material Design plugin for WordPress. Customize your site’s navig
1010
**Stable tag:** 0.1.0
1111
**License:** [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
1212

13-
[![Build Status](https://travis-ci.com/xwp/material-design-wp-plugin.svg?branch=develop)](https://travis-ci.com/xwp/material-design-wp-plugin) [![Coverage Status](https://coveralls.io/repos/xwp/material-design-wp-plugin/badge.svg?branch=develop)](https://coveralls.io/github/xwp/material-design-wp-plugin) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com)
13+
[![Build Status](https://travis-ci.org/xwp/material-design-wp-plugin.svg?branch=develop)](https://travis-ci.org/xwp/material-design-wp-plugin) [![Coverage Status](https://coveralls.io/repos/xwp/material-design-wp-plugin/badge.svg?branch=develop)](https://coveralls.io/github/xwp/material-design-wp-plugin) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com)
1414

1515
## Description ##
1616

0 commit comments

Comments
 (0)