A bug found
-
Hi,
I found a bug when a user of my plugin Enhanced Media Library asked for help with our plugins compatibility:
\meow-gallery\mgl_run.php line 39
is now$images = implode( $atts['include'], ',' );
It causes issues – empty gallery – when
[gallery include='1,2,3']
used. Actually, the errorWarning: implode(): Invalid arguments passed in /public_html/wp-content/plugins/meow-gallery/mgl_run.php on line 39
I believe it should be more like it’s in the core:
https://core.trac.www.ads-software.com/browser/tags/4.9.8/src/wp-includes/media.php#L1637
include
should be used if onlyids
is not set and it IS already a string,implode
is redundant.Best,
-Nadia
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘A bug found’ is closed to new replies.