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 39is 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 39I believe it should be more like it’s in the core:
https://core.trac.ww.wp.xz.cn/browser/tags/4.9.8/src/wp-includes/media.php#L1637
includeshould be used if onlyidsis not set and it IS already a string,implodeis 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.