描述
This WordPress plugin allows you to use Microsoft Azure Storage Service to host your media and uploads for your WordPress powered website. Microsoft Azure Storage is an effective way to infinitely scale storage of your site and leverage Azure’s global infrastructure.
For more details on Microsoft Azure Storage, please visit the Microsoft Azure website.
For more details on configuring a Microsoft Azure Storage account and on using the plugin with the Block Editor or Classic Editor, please visit the user guide.
Known Issues
Storage Account Versions
Storage accounts can be created via CLI, classic Azure portal, or the new Azure portal,
with varying results.
If a Storage account is created with the new Azure portal, authentication will fail,
resulting in the inability to view/add containers or files. Creating a Storage account
with the Azure CLI should allow the plugin to work with new Storage accounts.
Responsive Images in WordPress 4.4
Images uploaded to the Azure Storage service will not automatically receive responsive versions.
Images added through the WordPress Media Loader should get automatically converted to responsive
images when inserted into a post or page.
We are investigating options for full support of responsive images in the plugin.
安装
- Upload the plugin files to the
/wp-content/plugins/windows-azure-storage
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the Settings->Microsoft Azure screen to configure the plugin.
For multisites or to enforce Azure Blob Storage settings, you can define the following constants in wp-config.php:
- MICROSOFT_AZURE_ACCOUNT_NAME – Account Name
- MICROSOFT_AZURE_ACCOUNT_KEY – Account Primary Access Key
- MICROSOFT_AZURE_CONTAINER – Azure Blob Container
- MICROSOFT_AZURE_CNAME – Domain: must start with http(s)://
- MICROSOFT_AZURE_USE_FOR_DEFAULT_UPLOAD – boolean (default false)
- MICROSOFT_AZURE_OVERRIDE_CONTAINER_PATH – Override Container name in the Image URL , can be just “/”
See Settings->Microsoft Azure for more information.
评价
贡献者及开发者
「Microsoft Azure Storage for WordPress」是开源软件。 以下人员对此插件做出了贡献。
贡献者更新日志
4.5.1 – 2024-07-17
- Fixed: Fix path issue that duplicates the container name in URL paths (props @hugosolar, @cally423, @Besdima, @ms2oo8, @BCornelissen, @dkotter via #246).
4.5.0 – 2024-07-15
- Added: Feature to replace images at the blob storage level (props @hugosolar, @rickalee, @dkotter via #230).
- Added: Constant for
MICROSOFT_AZURE_OVERRIDE_CONTAINER_PATH
(props @rickalee, @engrshakirali, @hugosolar via #240). - Changed: Bump WordPress “tested up to” version 6.6 (props @hugosolar, @jeffpaul via #242).
- Changed: Update WordPress minimum supported version to 6.4 (props @hugosolar, @jeffpaul via #242).
- Removed: Image with special character which isn’t needed anymore (props @hugosolar, @dkotter, @rickalee, @jeffpaul via #234).
- Fixed: Issue with the use of
array_flip
and not ensuring it was an actual array (props @hugosolar, @rickalee, @dkotter via #230). - Fixed:
webp
compatibility when uploading original images (props @hugosolar, @rickalee, @ali-awwad via #231). - Fixed: Issue with unchecking year/month option under Settings > Media causes intermediate images not being uploaded to the container (props @hugosolar, @rickalee, @glowmedia via #232).
- Fixed: Media uploader title “Uploading to Azure…” stuck after image is uploaded (props @hugosolar, @rickalee, @eflorea via #233).
- Fixed: Issue with enqueuing admin script in the footer (props @hugosolar, @rickalee via #238).
4.4.2 – 2024-05-06
Note that this release bumps the minimum WordPress version from 5.7 to 6.3.
- Added: New feature to replace PDF files at the blob storage level (props @hugosolar, @rickalee via #220).
- Changed: Bump WordPress “tested up to” version 6.5 (props @QAharshalkadu, @jeffpaul via #223).
- Changed: Bump WordPress minimum from 5.7 to 6.3 (props @QAharshalkadu, @jeffpaul via #223).
- Changed: Replaced lee-dohm/no-response with actions/stale to help with closing no-response/stale issues (props @jeffpaul via #218).
- Fixed: Issue with the transient generated for displaying progress (props @hugosolar, @rickalee via #220).
- Fixed: Ensure we send the proper content type when creating the Block Blob in the container (props @hugosolar, @rickalee, @MWaser, @okadots, @sarahannnicholson, @nicoladj77 via #224).
4.4.1 – 2024-01-08
- Added: Support for the WordPress.org plugin preview (props @dkotter, @jeffpaul via #212).
- Changed: Bump WordPress version “tested up to” 6.4 (props @QAharshalkadu, @jeffpaul via #208, #209).
- Changed: Align our PHP minimum version checks to use new helper method (props @radeno, @ravinderk via #202).
- Fixed: Remove urlencode from srcset calculation function (props @hugosolar, @rickalee, @Sidsector9 via #211).
4.4.0 – 2023-10-17
Note that this release bumps the minimum PHP version from 7.4 to 8.0
- Added: Check for minimum required PHP version before loading the plugin (props @bmarshall511, @iamdharmesh via #200).
- Changed: Update to the
2020-04-08
version of the Azure Blob Storage API (props @thrijith, @colegeissinger via #136). - Changed: Bump minimum PHP version from 7.4 to 8.0 (props @thrijith, @colegeissinger via #136).
- Changed: Bump WordPress version “tested up to” 6.3 (props @QAharshalkadu, @jeffpaul, @peterwilsoncc via #192, #198).
- Changed: Bump
cypress
from 10.11.0 to 13.1.0,@10up/cypress-wp-utils
from 0.1.0 to 0.2.0 and@wordpress/env
from 5.13.0 to 8.7.0, to ensure E2E tests work on the latest version of WordPress (props @iamdharmesh, @Sidsector9 via #199).