Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check correct assets folder existence #5

Merged
merged 1 commit into from
Mar 25, 2020
Merged

Conversation

cfaria
Copy link
Contributor

@cfaria cfaria commented Mar 25, 2020

Using Sage 9, in first call, if acf-json folder doesn't exist (as it hasn't been created yet), the saving function from ACF returns a Warning: mkdir(): No such file or directory as the path that is trying to create doesn't exist as the code goes the Sage 10 else...

Before:
themes/theme-name/resources/resources/assets/acf-json

After
themes/theme-name/resources/assets/acf-json

Fixed checking the correct folder existence for Sage 9

Using Sage 9, in first call, if acf-json folder doesn't exist (as it hasn't been created yet), the saving function from ACF returns a Warning: mkdir(): No such file or directory as the path that is trying to create doesn't exist as the code goes the Sage 10 else...

Before:
themes/theme-name/resources/resources/assets/acf-json

After
themes/theme-name/resources/assets/acf-json

Fixed checking the correct folder existence for Sage 9
@MWDelaney MWDelaney merged commit ea7e0a0 into MWDelaney:master Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants