GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Thomas Kräftner (kraftner@mastodon.social)'s status on Tuesday, 05-Mar-2024 18:34:54 JSTThomas KräftnerThomas Kräftner
    in reply to
    • Matthias Pfefferle

    @pfefferle Whatever you do: Do not (only) rely on hooks that only trigger when using the standard, internal updating mechanism like https://developer.wordpress.org/reference/hooks/upgrader_process_complete/
    There are way too many sites out there that update differently (manual, FTP, composer etc.)
    Generally I'd say have an autoloaded option that stores the current version you compare with the current version. On mismatch start migration.
    Also be careful to handle downgrades or other broken states and not solely rely on version info in the option

    In conversationabout a year ago from mastodon.socialpermalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: developer.wordpress.org
      upgrader_process_complete
      from Andrew Nacin
      Fires when the upgrader process is complete.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.