]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-filesystem-ssh2.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-filesystem-ssh2.php
index 42eab59c7953d3eea076a1e41dbc7bdb14aad09c..70f81d056f67e85a37782f2bd65a7e16b99cde1a 100644 (file)
@@ -62,7 +62,14 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
                        return;
                }
                if ( !function_exists('stream_get_contents') ) {
                        return;
                }
                if ( !function_exists('stream_get_contents') ) {
-                       $this->errors->add('ssh2_php_requirement', __('The ssh2 PHP extension is available, however, we require the PHP5 function <code>stream_get_contents()</code>'));
+                       $this->errors->add(
+                               'ssh2_php_requirement',
+                               sprintf(
+                                       /* translators: %s: stream_get_contents() */
+                                       __( 'The ssh2 PHP extension is available, however, we require the PHP5 function %s' ),
+                                       '<code>stream_get_contents()</code>'
+                               )
+                       );
                        return;
                }
 
                        return;
                }