Skip to content

Up up we go#67

Open
szepeviktor wants to merge 8 commits intopalmiak:masterfrom
szepeviktor:up-up-we-go
Open

Up up we go#67
szepeviktor wants to merge 8 commits intopalmiak:masterfrom
szepeviktor:up-up-we-go

Conversation

@szepeviktor
Copy link
Copy Markdown
Contributor

@szepeviktor szepeviktor commented Mar 18, 2023

foreach ( $directories as $dir ) {
// Sanity check whether the directory we're iterating over exists first.
if ( ! file_exists( \locate_template( $dir ) ) ) {
continue;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was return, terminating the function.

@szepeviktor
Copy link
Copy Markdown
Contributor Author

szepeviktor commented Mar 18, 2023

Oops.

"autoload": {
"files": ["timber-acf-wp-blocks.php"]
},

A Composer managed WordPress installation will load Composer's autoloader somewhere in wp-config where add_action not yet available.

@szepeviktor
Copy link
Copy Markdown
Contributor Author

@palmiak Friendly ping 🏓

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.

1 participant