Title: WP_Dependencies-&gt;add_data() deprecated
Last modified: October 23, 2025

---

# WP_Dependencies->add_data() deprecated

 *  [Ricardo Martins (PagBank Integrações)](https://wordpress.org/support/users/martins56/)
 * (@martins56)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/wp_dependencies-add_data-deprecated/)
 * PHP Deprecated: A função WP_Dependencies->add_data() foi chamada com um argumento
   que está **obsoleto** desde a versão 6.9.0! IE conditional comments are ignored
   by all supported browsers. in /var/www/html/wp-includes/functions.php on line
   6131
 * Called in
 * <span style=”color: #88c0d0;”>wp_script_add_data</span><span style=”color: #eceff4;”
   >(</span><span style=”color: #88c0d0;”> </span><span style=”color: #eceff4;”>'
   </span><span style=”color: #a3be8c;”>astra-flexibility</span><span style=”color:#
   eceff4;”>'</span><span style=”color: #eceff4;”>,</span><span style=”color: #88c0d0;”
   > </span><span style=”color: #eceff4;”>'</span><span style=”color: #a3be8c;”>
   conditional</span><span style=”color: #eceff4;”>'</span><span style=”color: #
   eceff4;”>,</span><span style=”color: #88c0d0;”> </span><span style=”color: #eceff4;”
   >'</span><span style=”color: #a3be8c;”>IE</span><span style=”color: #eceff4;”
   >'</span><span style=”color: #88c0d0;”> </span><span style=”color: #eceff4;”>)
   </span><span style=”color: #81a1c1;”>;</span>

Viewing 1 replies (of 1 total)

 *  [Aradhy Singh](https://wordpress.org/support/users/bsfaradhy/)
 * (@bsfaradhy)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/wp_dependencies-add_data-deprecated/#post-18697930)
 * Hi [@martins56](https://wordpress.org/support/users/martins56/),
 * The notice you’re seeing means WordPress 6.9 has deprecated the “IE conditional”
   argument that was previously used to load scripts specifically for Internet Explorer.
 * We’d like to confirm where this is coming from. Could you please switch to a 
   default theme (like Twenty Twenty-Five) and check if the same notice still appears?
   If it disappears, that’ll help us confirm it’s related to Astra, and we can pass
   it to our dev team for review.
 * Let me know what you find.
 * Kind regards,
    Aradhy 🙂

Viewing 1 replies (of 1 total)

The topic ‘WP_Dependencies->add_data() deprecated’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/astra/4.13.4/screenshot.jpg)
 * Astra
 * [Support Threads](https://wordpress.org/support/theme/astra/)
 * [Active Topics](https://wordpress.org/support/theme/astra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/astra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/astra/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Aradhy Singh](https://wordpress.org/support/users/bsfaradhy/)
 * Last activity: [7 months, 2 weeks ago](https://wordpress.org/support/topic/wp_dependencies-add_data-deprecated/#post-18697930)
 * Status: not resolved