PluginProbe
WP Ultimate Post Grid / 3.0.0
WP Ultimate Post Grid v3.0.0
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
← All changes | includes/admin/class-wpupg-manage-modal.php +0 -28 3.7.03.0.0 View file →
@@ -49,37 +49,13 @@
49 49 echo '<div class="wrap"><div id="wpupg-admin-manage">Loading...</div></div>';
50 50 }
51 51
52 52 /**
53 - * Check compatibility with other plugins.
54 - *
55 - * @since 3.0.0
56 - */
57 - public static function do_not_load_here() {
58 - $screen = get_current_screen();
59 - if ( 'toplevel_page_et_bloom_options' === $screen->id
60 - || 'et_theme_builder' === substr( $screen->id, -16 )
61 - || 'bulletproof-security' === substr( $screen->id, 0, 20 )
62 - || 'hustle' === $screen->parent_base
63 - || 'admin_page_newsletter' === substr( $screen->id, 0, 21 )
64 - || 'bookly-menu' === $screen->parent_base
65 - || 'WishListMember' === $screen->parent_base ) {
66 - return true;
67 - }
68 -
69 - return false;
70 - }
71 -
72 - /**
73 53 * Add modal template to edit screen.
74 54 *
75 55 * @since 3.0.0
76 56 */
77 57 public static function add_modal_content() {
78 - if ( self::do_not_load_here() ) {
79 - return;
80 - }
81 -
82 58 echo '<div id="wpupg-admin-modal"></div>';
83 59 echo '<div id="wpupg-admin-modal-tinymce-placeholder" style="display: none">';
84 60 wp_editor( '', 'wpupg-admin-modal-tinymce' );
85 61 echo '</div>';
@@ -90,12 +66,8 @@
90 66 *
91 67 * @since 3.0.0
92 68 */
93 69 public static function enqueue() {
94 - if ( self::do_not_load_here() ) {
95 - return;
96 - }
97 -
98 70 // Enqueue public assets as well for preview.
99 71 WPUPG_Assets::enqueue();
100 72 WPUPG_Assets::load();
101 73