Skip to content

Commit

Permalink
1.2 wp plugin patch (#223)
Browse files Browse the repository at this point in the history
* updating plugin deps

* spacing in deploy file cleanup

* wp stateless now add an exe file that wpengine doesn't like. remove
  • Loading branch information
ccorda authored Jul 1, 2022
1 parent e4aa671 commit 4bb0ae5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions wordpress/_build/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function wpe_deploy() {
git remote rm ${TARGET}
git remote add ${TARGET} ${REMOTE}
cd ..

# check if master exists on remote
if is_in_remote ${TARGET} "master"; then
echo "WP engine ready for deploy, proceeding"
Expand Down Expand Up @@ -93,8 +93,8 @@ else
fi

if [ `git branch --list deploy` ]; then
echo "Branch deploy already exists, deleting then continuing"
git branch -D deploy
echo "Branch deploy already exists, deleting then continuing"
git branch -D deploy
fi

# save current branch to a variable
Expand Down
4 changes: 3 additions & 1 deletion wordpress/_init/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
shopt -s extglob
rm -rf ./wp-content/plugins/!(composer-libs)


# clean composer before copying
# rm -rf ./composer/wp/wp-config-sample.php
# rm -rf ./composer/wp/wp-content/
Expand All @@ -15,6 +14,9 @@ cp -R ./composer/* ./
rm -rf wp-content/plugins/akismet/
rm -rf wp-content/plugins/hello.php

# remove bad files
rm wp-content/plugins/wp-stateless/vendor/symfony/console/Resources/bin/hiddeninput.exe

# init files if they don't exist
mkdir -p wp-content/mu-plugins
cp -n _init/local-plugins.php wp-content/mu-plugins/local-plugins.php 2>/dev/null || :
Expand Down
14 changes: 7 additions & 7 deletions wordpress/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "package",
"package": {
"name": "advanced-custom-fields/advanced-custom-fields-pro",
"version": "5.12",
"version": "5.12.2",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
Expand Down Expand Up @@ -50,27 +50,27 @@
"require": {
"php": ">=7.3",
"composer/installers": "^1.8",
"advanced-custom-fields/advanced-custom-fields-pro": "5.12",
"advanced-custom-fields/advanced-custom-fields-pro": "5.12.2",
"wpackagist-plugin/acf-repeater-flexible-content-collapser": "1.2.4",
"wpackagist-plugin/classic-editor": "1.6.2",
"wpackagist-plugin/duplicate-post": "4.4",
"wpackagist-plugin/duplicate-post": "4.5",
"wpackagist-plugin/enable-media-replace": "3.6.3",
"wpackagist-plugin/filter-page-by-template": "1.6",
"wpackagist-plugin/filter-page-by-template": "2.2",
"wpackagist-plugin/google-apps-login": "3.4.4",
"wpackagist-plugin/gutenberg-ramp": "1.1.0",
"wpackagist-plugin/post-type-archive-links": "1.3.1",
"wpackagist-plugin/post-type-switcher": "3.2.1",
"wpackagist-plugin/redirection": "5.2.3",
"wpackagist-plugin/safe-svg": "2.0.1",
"wpackagist-plugin/safe-svg": "2.0.2",
"wpackagist-plugin/simple-history": "3.3.0",
"wpackagist-plugin/so-clean-up-wp-seo": "3.14.8",
"wpackagist-plugin/term-management-tools": "2.0.1",
"wpackagist-plugin/wordpress-seo": "19.0",
"wpackagist-plugin/wordpress-seo": "19.2",
"wpackagist-plugin/wp-graphql": "1.6.12",
"wpackagist-plugin/wp-stateless": "3.2.2",
"wp-graphql/wp-graphql-acf": "0.5.3",
"wp-graphql/wp-graphql-tax-query": "0.1.0",
"ashhitch/wp-graphql-yoast-seo": "4.17.0",
"ashhitch/wp-graphql-yoast-seo": "4.18.1",
"ashhitch/wp-graphql-redirection": "^0.0.3"
},
"config": {
Expand Down

0 comments on commit 4bb0ae5

Please sign in to comment.