PluginProbe
Tagembed: Social Media Feeds and Customer Reviews Widget / 7.8
Tagembed: Social Media Feeds and Customer Reviews Widget v7.8
7.8 7.5 7.6 7.7 7.4 trunk 3.10 3.9 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5 5.6 All 43 releases
← All changes | views/socialAccount/socialAccountView.php +8 -5 4.87.8 View file →
@@ -1,8 +1,11 @@
1 1 <?php
2 -include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/headView.php";
3 -include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/headerView.php";
4 -$__tagembed__social_account_id = __tagembed__get_user_social_account_id();
2 +if (!defined('ABSPATH')) :
3 + exit;
4 +endif;
5 +include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/headView.php';
6 +include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/headerView.php';
7 +$__tagembed__social_account_id = ___tagembed__get_user_social_account_id();
5 8 ?>
6 9 <!--Start-- Get And Manage Social Accounts -->
7 -<iframe allow="clipboard-write" name="<?php echo TAGEMBED_PLUGIN_CALL_BACK_URL; ?>" src="<?php echo TAGEMBED_PLUGIN_SERVER_URL; ?>socialaccounts/index/<?php echo $__tagembed__social_account_id; ?>" class="__tagembed__analytics" width="100%" height="100%"></iframe>
8 -<?php include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/footerView.php"; ?>
10 +<iframe allow="clipboard-write" name="<?php echo esc_attr(TAGEMBED_PLUGIN_CALL_BACK_URL); ?>" src="<?php echo esc_url(TAGEMBED_PLUGIN_SERVER_URL . 'socialaccounts/index/' . $__tagembed__social_account_id); ?>" class="__tagembed__analytics" width="100%" height="100%" title="Tagembed Social Accounts"></iframe>
11 +<?php include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/footerView.php'; ?>