PluginProbe
Passster – Password Protect Pages and Content / 4.3.17
Passster – Password Protect Pages and Content v4.3.17
4.3.17 4.3.16 4.3.15 4.3.14 4.3.12 4.3.13 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 trunk 3.5.4 3.5.5.2 3.5.5.8 3.5.5.9 4.0 4.1.4 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 All 49 releases
← All changes | inc/freemius/includes/managers/class-fs-admin-notice-manager.php +7 -1 4.2.13 → 4.3.17 View file →
@@ -193,10 +193,16 @@
193 193 * @author Vova Feldman (@svovaf)
194 194 * @since 1.0.7
195 195 */
196 196 static function _add_sticky_dismiss_javascript() {
197 + $sticky_admin_notice_js_template_name = 'sticky-admin-notice-js.php';
198 +
199 + if ( ! file_exists( fs_get_template_path( $sticky_admin_notice_js_template_name ) ) ) {
200 + return;
201 + }
202 +
197 203 $params = array();
198 - fs_require_once_template( 'sticky-admin-notice-js.php', $params );
204 + fs_require_once_template( $sticky_admin_notice_js_template_name, $params );
199 205 }
200 206
201 207 private static $_added_sticky_javascript = false;
202 208