1 ) {
$remove_defines_msg = _x( 'You\'ve defined your access keys in your wp-config.php. To select a different option here, simply comment out or remove the \'%1$s\' defines in your wp-config.php.', 'Access Keys defined in multiple defines.', 'amazon-s3-and-cloudfront' );
} else {
$remove_defines_msg = _x( 'You\'ve defined your access keys in your wp-config.php. To select a different option here, simply comment out or remove the \'%1$s\' define in your wp-config.php.', 'Access Keys defined in single define.', 'amazon-s3-and-cloudfront' );
}
$multiple_defined_keys_glue = _x( ' & ', 'joins multiple define keys in notice', 'amazon-s3-and-cloudfront' );
$defined_constants_str = join( $multiple_defined_keys_glue, $defined_constants );
printf( $remove_defines_msg, $defined_constants_str );
echo ' ' . $this->more_info_link( '/wp-offload-media/doc/' . $provider_service_quick_start_slug . '/#save-access-keys' );
if ( $provider_selected && ! $provider->are_access_keys_set() ) {
?>
near the top of your wp-config.php and replace the stars with the keys.', 'amazon-s3-and-cloudfront' );
echo ' ' . $this->more_info_link( '/wp-offload-media/doc/' . $provider_service_quick_start_slug . '/#save-access-keys' );
?>
>
>
more_info_link( '/wp-offload-media/doc/' . $provider_service_quick_start_slug . '/#save-access-keys' );
} else {
_e( 'If you host your WordPress site on an Amazon EC2 instance you should make use of IAM Roles. To tell WP Offload Media you\'re using IAM Roles, copy the following snippet near the top of your wp-config.php.', 'amazon-s3-and-cloudfront' );
echo ' ' . $this->more_info_link( '/wp-offload-media/doc/' . $provider_service_quick_start_slug . '/#save-access-keys' );
?>