File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff 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 [
You can’t perform that action at this time.
0 commit comments