-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* register all blocks php auto * move function for scope * ton of fixes to registration and fixes for all phpunit tests * fixes for pa11y and register with manifest * call the method with instantiated class * php lint * revert several changes and improve block registration * load editor scripts through metadata * update phpunit tests for form blocks * update other phpunit tests * missed a few block.json editorScript values * update some jest tests * fix the helper and evert snapshot * major jest updates for tests and helpers * try revering some syntax * enhance heading selector helper for Cypress * fix the lightbox and gist script enqueues for core blocks * ensure services script is specified as a viewScript * ensure inserter is closed * fix service block tests * update block inserter helper * introduce short delay for blocks to render * enhance block inserter helper and hero background controls test * improve helpers and core script enqueue * enhance the things * try more updates * update helpers selector, was too strict * enhance enqueue for core blocks function logic * remove commented out code from jest helpers * fix comments around block manifest
- Loading branch information
1 parent
dbf824b
commit ac4e3b6
Showing
204 changed files
with
2,943 additions
and
2,100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
<?php | ||
|
||
add_action( 'phpmailer_init', function( $phpmailer ) { | ||
// Define that we are sending with SMTP. | ||
$phpmailer->isSMTP(); | ||
add_action( | ||
'phpmailer_init', | ||
function( $phpmailer ) { | ||
// Define that we are sending with SMTP. | ||
$phpmailer->isSMTP(); | ||
|
||
// Set options. | ||
$phpmailer->Host = 'localhost'; | ||
$phpmailer->SMTPAuth = false; | ||
$phpmailer->Port = '1025'; | ||
$phpmailer->From = 'admin@wp.dev'; | ||
$phpmailer->FromName = 'WP DEV'; | ||
}, 10, 1 ); | ||
// Set options. | ||
$phpmailer->Host = 'localhost'; | ||
$phpmailer->SMTPAuth = false; | ||
$phpmailer->Port = '1025'; | ||
$phpmailer->From = 'admin@wp.dev'; | ||
$phpmailer->FromName = 'WP DEV'; | ||
}, | ||
10, | ||
1 | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.