Closed bobbingwide closed 2 years ago
IMO: The function wp__help()
can be deleted from libs\oik-sc-help.php
without the need for any deprecation.
For wp__example()
wp__example()
from libs\oik-sc-help.php
, We also need to change code that uses deprecated files in oik, updating to shared libraries. This will mean that oik-bob-bing-wide will be dependent upon oik v3.2.3
In other cases, to avoid deprecated messages, we need to require the .php
version of the file rather than the .inc
version.
This’ll have to remain open since the new blocks are not properly localizable. I’ve not tried implementing the necessary logic to enable blocks to be translated.
Blocks have been translatable since they were built with wp-scripts. See #42 Closing now that they've been updated again with new logic developed in v2.2.1
As part of making oik 100% translatable and localizable it's time to extract the shortcode help, syntax and example logic from oik for the shortcodes which were originally in oik but are now implemented in oik-bob-bing-wide. Most of this code is in oik-sc-help. This will reduce the number of strings that need to be translated for oik.
Note: for translated help text oik-bob-bing-wide need not be dependent upon oik v3.2 for this to be implemented. We just need to implement a filter function for
_sc__help
. i.e. It should work with oik v3.1.nSee also https://github.com/bobbingwide/oik/issues/9