-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rework the WordPress info block then internationalize #45
Comments
When the
It would appear that WordPress 5.8's code never sets this variable. WorkaroundReplace the Possible solutionWrap the output from the shortcode function when it's being invoked from a block and call |
Note: The current solution doesn't display any output when none of the toggles are on. Ditto for the |
The current solution does not support |
I ran
I have no idea what the Skipping message means. |
The packages-update command changed the @wordpress/scripts version from 15.0.1 to 22.0.1. I can't find any documentation that helps me understand how I'm supposed to make use of the fact that the Questions?
The answer to the last question may be here... WordPress/gutenberg#25188 I think I should investigate these questions by attempting to update my https://github.com/bobbingwide/sb-starting-block plugin. |
I updated sb-starting-block to deliver each block individually. Then I made the same changes as for sb-starting-block in #42.
This is yet to be developed. In the mean time, see the referenced issues. Delivered in v2.2.1. Closing therefore. |
The WordPress info block (
oik-bbw/wp
) was originally developed as a couple of shortcodes[wp]
and[guts]
.[wp]
was implemented in oik-bob-bing-wide,[guts]
was first implemented in oik-block.The current version of the block has 4 attributes which are strings:
The server side implementation doesn't handle all combinations.
If the
g
attribute is specified then we run[guts]
to display the WordPress and Gutenberg version.Otherwise we run the original WordPress shortcode.
Requirement
Improve the block and server side rendering to implement a better UI.
Proposed solution
Consider deprecating the bw_wp() function, implementing the new solution using
oik_block_guts()
or a new version of it.The text was updated successfully, but these errors were encountered: