• I am reviewing the core version check API and I see there are two main elements: offers and translations.

        {
          "offers": [
        	{
        	  "response": "latest",
        	  "download": "https:\/\/downloads.www.remarpro.com\/release\/wordpress.zip",
        	  "locale": "en_US",
        	  "packages": {
        		"full": "https:\/\/downloads.www.remarpro.com\/release\/wordpress.zip",
        		"no_content": "https:\/\/downloads.www.remarpro.com\/release\/wordpress.zip",
        		"new_bundled": "https:\/\/downloads.www.remarpro.com\/release\/wordpress.zip",
        		"partial": false,
        		"rollback": false
        	  },
        	  "current": "6.1",
        	  "version": "6.1",
        	  "php_version": "5.6.20",
        	  "mysql_version": "5.0",
        	  "new_bundled": "5.9",
        	  "partial_version": false
        	}
          ],
          "translations": []
        }

    Offers seems to be returning all available updates for the current version, and multiple updates may be available.

    But what about translations? Is that still used? In what case?

    I am looking for documentation about this structure but don’t find it anywhere.

    • This topic was modified 2 years, 5 months ago by álvaro Franz.
    • This topic was modified 2 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m not totally sure, but since no one has replied in nearly 2 days, I’ll make an educated guess. AFAIK “translations” checks for available language packs. If you don’t have any languages installed, then it is not used.

Viewing 1 replies (of 1 total)
  • The topic ‘What is the core version check “translations” array used for and how?’ is closed to new replies.