We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf893a commit 653a6beCopy full SHA for 653a6be
2 files changed
.github/workflows/test-php.yml
@@ -71,7 +71,7 @@ jobs:
71
run: |
72
echo "::set-output name=dir::$(composer config cache-files-dir)"
73
- name: Setup Composer cache
74
- uses: actions/cache@v1
+ uses: actions/cache@v4
75
with:
76
path: ${{ steps.composer-cache.outputs.dir }}
77
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
includes/Importers/Content_Importer.php
@@ -351,7 +351,7 @@ public function setup_masteriyo( $data ) {
351
return;
352
}
353
354
- if ( $data['settings'] ) {
+ if ( isset( $data['settings'] ) ) {
355
foreach ( $data['settings'] as $key => $value ) {
356
masteriyo_set_setting( $key, $value );
357
0 commit comments