Skip to content

Commit

Permalink
localy host social icon URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
picocodes committed Jan 3, 2025
1 parent dec10e4 commit e0fef3d
Show file tree
Hide file tree
Showing 31 changed files with 37 additions and 33 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => 'cb6096e9693d53184b8a');
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '2fab91412005bdb1cbf5');
2 changes: 1 addition & 1 deletion build/Automation_Rules/assets/js/automation-rule-editor.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '1bc71736fdedfdf67332');
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '50cd83e185ba05c793cb');
2 changes: 1 addition & 1 deletion build/Automation_Rules/assets/js/automation-rules.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/Emails/Admin/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ public static function enqueue_scripts( $hook ) {
),
get_noptin_email_senders( true )
),
'assets_url' => plugins_url( 'static/images/', __DIR__ ),
),
$script
)
Expand Down
14 changes: 8 additions & 6 deletions build/Emails/Templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,14 @@ public static function add_templates( $settings, $script ) {
}

$local_templates = array();
foreach ( self::get_local_templates() as $template ) {
$local_templates[] = array(
'id' => $template->id,
'slug' => $template->name,
'name' => empty( $template->name ) ? $template->subject : $template->name,
);
if ( apply_filters( 'noptin_show_local_templates', true ) ) {
foreach ( self::get_local_templates() as $template ) {
$local_templates[] = array(
'id' => $template->id,
'slug' => $template->name,
'name' => empty( $template->name ) ? $template->subject : $template->name,
);
}
}

if ( ! empty( $local_templates ) ) {
Expand Down
Loading

0 comments on commit e0fef3d

Please sign in to comment.