Skip to content

Commit a25e1d9

Browse files
committed
Plugin Directory: SVN: $options is not yet set here.
git-svn-id: https://meta.svn.wordpress.org/sites/trunk@14313 74240141-8908-4e6f-9713-ba540dce6ec7
1 parent 3a58632 commit a25e1d9

File tree

1 file changed

+3
-1
lines changed
  • wordpress.org/public_html/wp-content/plugins/plugin-directory/tools

1 file changed

+3
-1
lines changed

wordpress.org/public_html/wp-content/plugins/plugin-directory/tools/class-svn.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ public static function up( $checkout, $options = array() ) {
213213
* }
214214
*/
215215
public static function add( $file ) {
216-
$options[] = 'non-interactive';
216+
$options = [
217+
'non-interactive'
218+
];
217219
$esc_options = self::parse_esc_parameters( $options );
218220

219221
$esc_file = escapeshellarg( $file );

0 commit comments

Comments
 (0)