Skip to content

Commit

Permalink
Add mu-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
shashwatahalder01 committed Dec 12, 2024
1 parent 9e22203 commit e80fcb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pw/.wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"mappings": {
".htaccess": ".htaccess",
"wp-data": "./wp-data",
"wp-content/debug.log": "./wp-data/debug.log"
"wp-content/debug.log": "./wp-data/debug.log",
"wp-content/mu-plugins": "./mu-plugins"
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions tests/pw/mu-plugins/disable-doing-it-wrong.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
add_filter( 'doing_it_wrong_trigger_error', '__return_false' );

0 comments on commit e80fcb9

Please sign in to comment.