Changeset 2595377
- Timestamp:
- 09/07/2021 11:51:25 PM (5 years ago)
- Location:
- juvo-mail-editor
- Files:
-
- 10 edited
- 1 copied
-
tags/2.0.6 (copied) (copied from juvo-mail-editor/trunk)
-
tags/2.0.6/juvo-mail-editor.php (modified) (1 diff)
-
tags/2.0.6/readme.txt (modified) (1 diff)
-
tags/2.0.6/src/Mails/New_User.php (modified) (1 diff)
-
tags/2.0.6/src/Mails/New_User_Rest.php (modified) (1 diff)
-
tags/2.0.6/src/Mails_PT.php (modified) (1 diff)
-
trunk/juvo-mail-editor.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/Mails/New_User.php (modified) (1 diff)
-
trunk/src/Mails/New_User_Rest.php (modified) (1 diff)
-
trunk/src/Mails_PT.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
juvo-mail-editor/tags/2.0.6/juvo-mail-editor.php
r2594645 r2595377 8 8 * Text Domain: juvo-mail-editor 9 9 * Domain Path: /languages 10 * Version: 2.0. 510 * Version: 2.0.6 11 11 */ 12 12 -
juvo-mail-editor/tags/2.0.6/readme.txt
r2594645 r2595377 4 4 License: GPLv2 or later 5 5 Tested up to: 5.8 6 Stable tag: 2.0. 56 Stable tag: 2.0.6 7 7 8 8 JUVO Mail Editor helps to modify the standard WordPress Mailings and allows adding dynamic mail triggers. -
juvo-mail-editor/tags/2.0.6/src/Mails/New_User.php
r2594645 r2595377 55 55 $message = sprintf( __( 'Username: %s' ), "{{USERNAME}}" ) . "\r\n\r\n"; 56 56 $message .= __( 'To set your password, visit the following address:' ) . "\r\n\r\n"; 57 $message .= "{{ password_reset_link}}" . "\r\n";57 $message .= "{{PASSWORD_RESET_LINK}}" . "\r\n"; 58 58 59 59 $trigger = new Trigger( __( "New User (User)", 'juvo-mail-editor' ), $this->getTrigger() ); -
juvo-mail-editor/tags/2.0.6/src/Mails/New_User_Rest.php
r2578743 r2595377 49 49 $message = sprintf( __( 'Username: %s' ), "{{USERNAME}}" ) . "\r\n\r\n"; 50 50 $message .= __( 'To set your password, visit the following address:' ) . "\r\n\r\n"; 51 $message .= "{{ password_reset_link}}" . "\r\n";51 $message .= "{{PASSWORD_RESET_LINK}}" . "\r\n"; 52 52 53 53 $trigger = new Trigger( __( "New User Rest (User)", 'juvo-mail-editor' ), $this->getTrigger() ); -
juvo-mail-editor/tags/2.0.6/src/Mails_PT.php
r2587510 r2595377 55 55 * @return string[] 56 56 */ 57 public function limitBlocks( $allowed_block_types, WP_Block_Editor_Context $block_editor_context ) : array{57 public function limitBlocks( $allowed_block_types, WP_Block_Editor_Context $block_editor_context ) { 58 58 59 return [ 60 'core/image', 61 'core/paragraph', 62 'core/heading', 63 'core/list', 64 'core/table' 65 ]; 59 if (isset($block_editor_context->post) && $block_editor_context->post->post_type === self::POST_TYPE_NAME) { 60 return [ 61 'core/image', 62 'core/paragraph', 63 'core/heading', 64 'core/list', 65 'core/table' 66 ]; 67 } 66 68 69 return $allowed_block_types; 67 70 } 68 71 -
juvo-mail-editor/trunk/juvo-mail-editor.php
r2594645 r2595377 8 8 * Text Domain: juvo-mail-editor 9 9 * Domain Path: /languages 10 * Version: 2.0. 510 * Version: 2.0.6 11 11 */ 12 12 -
juvo-mail-editor/trunk/readme.txt
r2594645 r2595377 4 4 License: GPLv2 or later 5 5 Tested up to: 5.8 6 Stable tag: 2.0. 56 Stable tag: 2.0.6 7 7 8 8 JUVO Mail Editor helps to modify the standard WordPress Mailings and allows adding dynamic mail triggers. -
juvo-mail-editor/trunk/src/Mails/New_User.php
r2594645 r2595377 55 55 $message = sprintf( __( 'Username: %s' ), "{{USERNAME}}" ) . "\r\n\r\n"; 56 56 $message .= __( 'To set your password, visit the following address:' ) . "\r\n\r\n"; 57 $message .= "{{ password_reset_link}}" . "\r\n";57 $message .= "{{PASSWORD_RESET_LINK}}" . "\r\n"; 58 58 59 59 $trigger = new Trigger( __( "New User (User)", 'juvo-mail-editor' ), $this->getTrigger() ); -
juvo-mail-editor/trunk/src/Mails/New_User_Rest.php
r2578743 r2595377 49 49 $message = sprintf( __( 'Username: %s' ), "{{USERNAME}}" ) . "\r\n\r\n"; 50 50 $message .= __( 'To set your password, visit the following address:' ) . "\r\n\r\n"; 51 $message .= "{{ password_reset_link}}" . "\r\n";51 $message .= "{{PASSWORD_RESET_LINK}}" . "\r\n"; 52 52 53 53 $trigger = new Trigger( __( "New User Rest (User)", 'juvo-mail-editor' ), $this->getTrigger() ); -
juvo-mail-editor/trunk/src/Mails_PT.php
r2587510 r2595377 55 55 * @return string[] 56 56 */ 57 public function limitBlocks( $allowed_block_types, WP_Block_Editor_Context $block_editor_context ) : array{57 public function limitBlocks( $allowed_block_types, WP_Block_Editor_Context $block_editor_context ) { 58 58 59 return [ 60 'core/image', 61 'core/paragraph', 62 'core/heading', 63 'core/list', 64 'core/table' 65 ]; 59 if (isset($block_editor_context->post) && $block_editor_context->post->post_type === self::POST_TYPE_NAME) { 60 return [ 61 'core/image', 62 'core/paragraph', 63 'core/heading', 64 'core/list', 65 'core/table' 66 ]; 67 } 66 68 69 return $allowed_block_types; 67 70 } 68 71
Note: See TracChangeset
for help on using the changeset viewer.