Skip to content

Document building custom WordPress bundle #27

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

Merged
merged 3 commits into from
Oct 5, 2022

Conversation

eliot-akira
Copy link
Collaborator

@eliot-akira eliot-akira commented Oct 3, 2022

As per #23 (and part of #12), here's a first draft of documenting how to build a custom WordPress bundle with pre-installed plugins.

For now, the example just demonstrates installing a single plugin.

@eliot-akira eliot-akira changed the title Doc custom wp build Document building custom WordPress bundle Oct 3, 2022
Copy link
Collaborator

@adamziel adamziel left a comment

Choose a reason for hiding this comment

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

That's a great start, fantastic work @eliot-akira !

@adamziel adamziel merged commit 75337c4 into WordPress:trunk Oct 5, 2022
brandonpayton pushed a commit that referenced this pull request Mar 7, 2025
The original implementation of the DNS polyfill didn't register `DNS_*`
constants which are [expected to exist in
PHP](https://www.php.net/manual/en/network.constants.php#constant.dns-any).
To fix this this PR registered the required DNS constants.

The constants were already defined in the polyfill and now we register
them as PH constants using `REGISTER_LONG_CONSTANT`.

I didn't want to add more code to the `php_wasm.c` file that wasn't
directly related to PHP-wasm, so I moved the DNS polyfill code to an
extension.

- CI
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