We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e38ee6 commit f32ffe6Copy full SHA for f32ffe6
features/bootstrap/FeatureContext.php
@@ -784,10 +784,10 @@ public function download_wp( $subdir = '' ) {
784
785
// Disable emailing.
786
mkdir( $dest_dir . '/wp-content/mu-plugins' );
787
- copy( __DIR__ . '/../extra/no-mail.php', $dest_dir . '/wp-content/mu-plugins/no-mail.php' );
+ copy( dirname( __DIR__ ) . '/extra/no-mail.php', $dest_dir . '/wp-content/mu-plugins/no-mail.php' );
788
789
// Add polyfills.
790
- copy( __DIR__ . '/../extra/polyfills.php', $dest_dir . '/wp-content/mu-plugins/polyfills.php' );
+ copy( dirname( __DIR__ ) . '/extra/polyfills.php', $dest_dir . '/wp-content/mu-plugins/polyfills.php' );
791
}
792
793
public function create_config( $subdir = '', $extra_php = false ) {
0 commit comments