Skip to content

Commit 2bbe7c3

Browse files
pereirinhaMarco Pereirinha
authored andcommitted
Merge pull request #205 from cloudinary/hotfix/storage-link
Update link to storage setting
1 parent b01ab67 commit 2bbe7c3

File tree

1 file changed

+4
-1
lines changed
  • cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/sync

1 file changed

+4
-1
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/sync/class-storage.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ public function maybe_disable_connect( $field, $slug ) {
103103
$field['description'] = sprintf(
104104
// translators: Placeholders are <a> tags.
105105
__( 'You can’t currently change your environment variable as your storage setting is set to "Cloudinary only". Update your %1$s storage settings %2$s and sync your assets to WordPress storage to enable this setting.', 'cloudinary' ),
106-
'<a href="https://support.cloudinary.com/hc/en-us/requests/new" target="_blank">',
106+
sprintf(
107+
'<a href="%s">',
108+
add_query_arg( 'page', 'cld_sync_media', admin_url( 'admin.php' ) )
109+
),
107110
'</a>'
108111
);
109112
$field['disabled'] = true;

0 commit comments

Comments
 (0)