PluginProbe
Meow Gallery / 4.2.2
Meow Gallery v4.2.2
5.5.5 5.5.4 5.5.3 5.5.2 5.5.1 5.5.0 5.4.9 5.4.8 5.4.7 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 All 157 releases
← All changes | classes/core.php +1 -6 4.2.3 → 4.2.2 View file →
@@ -115,12 +115,9 @@
115 115
116 116 // Start the process of building the gallery
117 117 $this->gallery_process = true;
118 118 $this->gallery_layout = $layout;
119 -
120 - // This should be probably removed.
121 - // wp_enqueue_style( 'mgl-css' );
122 -
119 + wp_enqueue_style( 'mgl-css' );
123 120 $infinite = get_option( 'mgl_infinite', false ) && class_exists( 'MeowPro_MGL_Core' );
124 121 $gen = new $layoutClass( $atts, !$isPreview && $infinite, $isPreview );
125 122 $result = $gen->build( $images );
126 123 $this->gallery_process = false;
@@ -125,10 +122,8 @@
125 122 $result = $gen->build( $images );
126 123 $this->gallery_process = false;
127 124 do_action( 'mgl_' . $layout . '_gallery_created', $layout );
128 125 //$result = apply_filters( 'post_gallery', $result, $atts, null );
129 -
130 - do_action( 'mgl_gallery_created' );
131 126
132 127 return $result;
133 128 }
134 129 }