PluginProbe
Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity / 3.3.9
Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity v3.3.9
3.3.9 3.3.8 trunk 1.0 1.1.0 1.10.0 1.11.0 1.11.1 1.12.0 1.13.0 1.14.0 1.15.0 1.16.0 1.17.0 1.17.1 1.18.0 1.19.0 1.2.0 1.20.0 1.20.1 1.3.0 1.3.1 1.4.0 1.5.0 1.6.0 All 67 releases
← All changes | views/settings.php +14 -1 3.3.8 → 3.3.9 View file →
@@ -51,9 +51,22 @@
51 51 </div>
52 52 </div>
53 53 <?php endif;
54 54
55 - if (logtivity_is_production() == false) : ?>
55 + if (logtivity_url_environment_mismatch()) : ?>
56 + <div class="logtivity-notice logtivity-notice-danger">
57 + <h2>Logtivity is misconfigured and logging has stopped.</h2>
58 + <div>
59 + Your App URL (<?php echo esc_html(logtivity_get_app_url()); ?>)
60 + and API URL (<?php echo esc_html(logtivity_get_api_url()); ?>)
61 + point to different environments. Neither
62 + <code>LOGTIVITY_APP_URL</code> or <code>LOGTIVITY_API_URL</code>
63 + constant should be set, or both must be set to the same
64 + non-production environment. No logs will be sent until this is
65 + corrected.
66 + </div>
67 + </div>
68 + <?php elseif (logtivity_is_production() == false) : ?>
56 69 <div class="logtivity-notice logtivity-notice-warning">
57 70 <h2>This site is not sending logs to the production application.</h2>
58 71 <div>
59 72 See your dashboard at