We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce // wp-config.php define('WP_STATELESS_MEDIA_ROOT_DIR', "/uploads"); define('WP_STATELESS_MEDIA_CUSTOM_DOMAIN', "https://example.com");
Result This results in the following HTML block displaying the PDF preview (WP code)
<div data-wp-interactive="core/file" class="wp-block-file" > <object data-wp-bind--hidden="!state.hasPdfPreview" class="wp-block-file__embed" data="https://storage.googleapis.com/redacted-project/uploads/72629795-pdf-test.pdf" type="application/pdf" style="width:100%;height:580px"> </object> ..... </div>
Expected
Additional information By looking at the source code it looks like only src and href are replaced data remains untouched.
src
href
https://github.com/udx/wp-stateless/blob/latest/lib/classes/class-bootstrap.php#L1064
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
// wp-config.php
define('WP_STATELESS_MEDIA_ROOT_DIR', "/uploads");
define('WP_STATELESS_MEDIA_CUSTOM_DOMAIN', "https://example.com");
Result
This results in the following HTML block displaying the PDF preview (WP code)
Expected
Additional information
By looking at the source code it looks like only
src
andhref
are replaced data remains untouched.https://github.com/udx/wp-stateless/blob/latest/lib/classes/class-bootstrap.php#L1064
The text was updated successfully, but these errors were encountered: