Title: FIGCAPTION empty
Last modified: January 7, 2023

---

# FIGCAPTION empty

 *  Resolved [mkummer](https://wordpress.org/support/users/mkummer/)
 * (@mkummer)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/)
 * Hi guys!
 * I recently noticed that enabling the plugin removes the content between <figcaption
   > and </figcaption>. For example, the source should look like the screenshot,
   but on the live page, I’m getting <figcaption></figcaption>.
 * Screenshot: [https://capture.dropbox.com/51XRXV8Zd3V5qJnl](https://capture.dropbox.com/51XRXV8Zd3V5qJnl)
 * The issue doesn’t occur with all but some videos, so I had to disable the plugin
   again. Have you seen this issue before?
 * ![](https://capture.dropbox.com/51XRXV8Zd3V5qJnl)
    -  This topic was modified 3 years, 5 months ago by [mkummer](https://wordpress.org/support/users/mkummer/).
    -  This topic was modified 3 years, 5 months ago by [mkummer](https://wordpress.org/support/users/mkummer/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffigcaption-empty%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16350942)
 * no, have not seen that before mkummer … is there any logic to it? I see in your
   screenshots there were quotes in the description for example, could that trigger
   the problem?
 *  Thread Starter [mkummer](https://wordpress.org/support/users/mkummer/)
 * (@mkummer)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16351885)
 * Yeah, quotes could be the issue. Can’t the plugin not escape them correctly?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16352246)
 * > Yeah, quotes could be the issue.
 * so if you remove the quotes in the description in the screenshot you shared, 
   it works as expected?
 * > Can’t the plugin not escape them correctly?
 * if the above is indeed confirmed, then the problem is with [my regular expressions that handle youtube blocks](https://github.com/futtta/wp-youtube-lyte/blob/main/wp-youtube-lyte.php#L783-L784)
   which does seem a bit surprising but not impossible (regex can be tough like 
   that).
 *  Thread Starter [mkummer](https://wordpress.org/support/users/mkummer/)
 * (@mkummer)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16352336)
 * I just double-checked, and the caption doesn’t have any quotes. Why Safari’s 
   inspector is showing them, I’m not sure.
 * This is how the raw HTML code looks like:
 *     ```wp-block-code
       <figcaption class="wp-element-caption">Completing two super-intense workouts during a 48-hour fast made me better understand what it feels like to be truly hungry.</figcaption>
       ```
   
 * I just re-enabled the plugin and you can see the issue on [https://michaelkummer.com/health/ice-barrel-review/](https://michaelkummer.com/health/ice-barrel-review/)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16357202)
 * Hey Michael, had a look but guess you already disable Lyte again. I’ll see if
   I can reproduce the problem on my end and will get back to you on the subject.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16357970)
 * OK, problem identified and should be OK on the beta-version now. Can you [download the beta](https://github.com/futtta/wp-youtube-lyte/archive/refs/heads/main.zip)
   and activate that instead of the current version to test if that makes the figcaptions
   re-appear?
 *  Thread Starter [mkummer](https://wordpress.org/support/users/mkummer/)
 * (@mkummer)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16358743)
 * I had to disable the beta immediately because it caused raw HTML output to be
   displayed. See [https://capture.dropbox.com/UrqfyKmjYfb2xyPd](https://capture.dropbox.com/UrqfyKmjYfb2xyPd)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16358783)
 * arghhhhh … that’s debug output I stupidly forgot to remove, sorry about that!
   fixed in beta now, can you re-download the beta and test again?
 *  Thread Starter [mkummer](https://wordpress.org/support/users/mkummer/)
 * (@mkummer)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16358797)
 * Thanks, the updated beta appears to be working!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16358819)
 * ok, thanks for confirming (and sorry for the debug output hiccup). i’ll likely
   push a new official version of LYTE with the figcaption fix out later today/ 
   tomorrow.
 *  [romulan](https://wordpress.org/support/users/romulan/)
 * (@romulan)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16383037)
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/) 
   Can we please have this update pushed out? We have the exact same bug on all 
   the platforms we are running. Thanks.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16383079)
 * thanks for the reminder, I’ll release tomorrow (21h58 here, about to go to bed
   😉 )
 * frank
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16384671)
 * 1.7.22 released! 🙂

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘FIGCAPTION empty’ is closed to new replies.

 * ![](https://ps.w.org/wp-youtube-lyte/assets/icon-128x128.png?rev=1836005)
 * [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-youtube-lyte/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-youtube-lyte/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/figcaption-empty/#post-16384671)
 * Status: resolved