Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks a ton for looking at this. I just noticed that after the WP 5.2.3 update this doesn’t work like it did before. It reads just fine from the global location using ‘get_site_option’ but writes to the local one so any changes or additions disappear. I can’t get it to save the Shortcoder file to the global location. The ‘update_site_option’ doesn’t seem to write to the same place that ‘get_site_option’ reads from. I’m hoping that perhaps you know more about this and can figure out a way to make this work for a global option.

    Once again thanks for your help.

    Kurt

    It would be really amazing if there was a setting that if checked would use the get_site_option instead of the get_option in the /wp-content/plugins/shortcoder/shortcoder.php file. It would allow a global use of shortcoder shortcodes vs using them by subsite.

    There are only two places this “if” statement based on the proposed boolean setting would need to be:
    1. in the list_all() method
    2. in the on_activate() method
    it would simply (if checked) use get_site_option else use get_option

    Thank you for your work on this plugin.

Viewing 2 replies - 1 through 2 (of 2 total)