Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trying without Yoast SEO this time
  • Loading branch information
gziolo committed Dec 19, 2018
commit 9b8810f67ef721abdd0c230a4a4a79d843604b1b
2 changes: 1 addition & 1 deletion bin/install-wordpress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ docker-compose $DOCKER_COMPOSE_FILE_OPTIONS run --rm -u 33 $CLI plugin activate

if [ "$POPULAR_PLUGINS" == "true" ]; then
echo -e $(status_message "Activating popular plugins...")
docker-compose $DOCKER_COMPOSE_FILE_OPTIONS run --rm -u 33 $CLI plugin install wordpress-seo --activate --quiet
docker-compose $DOCKER_COMPOSE_FILE_OPTIONS run --rm -u 33 $CLI plugin install advanced-custom-fields --activate --quiet
docker-compose $DOCKER_COMPOSE_FILE_OPTIONS run --rm -u 33 $CLI plugin install jetpack --activate --quiet
fi

Expand Down
6 changes: 2 additions & 4 deletions packages/edit-post/src/store/effects.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import { reduce, noop } from 'lodash';
import { reduce } from 'lodash';

/**
* WordPress dependencies
Expand Down Expand Up @@ -108,15 +108,13 @@ const effects = {
additionalData.forEach( ( [ key, value ] ) => formData.append( key, value ) );

// Save the metaboxes
// TODO: improve error handling.
apiFetch( {
url: window._wpMetaBoxUrl,
method: 'POST',
body: formData,
parse: false,
} )
.then( () => store.dispatch( metaBoxUpdatesSuccess() ) )
.catch( noop );
.then( () => store.dispatch( metaBoxUpdatesSuccess() ) );
},
SWITCH_MODE( action ) {
// Unselect blocks when we switch to the code editor.
Expand Down