mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-18 06:03:49 +09:00
Removed placeholder image, updated readme
This commit is contained in:
@@ -215,14 +215,6 @@ class WPStrava {
|
||||
filemtime( WPSTRAVA_PLUGIN_DIR . 'build/style.css' )
|
||||
);
|
||||
|
||||
wp_localize_script(
|
||||
'wp-strava-block',
|
||||
'wpStrava',
|
||||
array(
|
||||
'placeholderActivityImg' => WPSTRAVA_PLUGIN_URL . 'images/example-activity.png',
|
||||
)
|
||||
);
|
||||
|
||||
foreach ( $blocks as $block_class ) {
|
||||
$block = new $block_class();
|
||||
$block->register_block();
|
||||
|
||||
@@ -9,14 +9,6 @@ const { PanelBody, ToggleControl } = wp.components;
|
||||
const { isEmpty } = lodash;
|
||||
const { serverSideRender: ServerSideRender } = wp;
|
||||
|
||||
|
||||
/**
|
||||
* Localized Data.
|
||||
*/
|
||||
const {
|
||||
placeholderActivityImg,
|
||||
} = wpStrava;
|
||||
|
||||
class Edit extends Component {
|
||||
|
||||
constructor() {
|
||||
|
||||
Reference in New Issue
Block a user