WordPress.WP.DeprecatedFunctions._inject_theme_attribute_in_block_template_contentFound
Deprecated function: _inject_theme_attribute_in_block_template_content
The plugin uses a WordPress API, parameter, class, or value that has been deprecated.
Why It Shows Up
Plugin Check found a deprecated WordPress function, parameter position, class, or parameter value.
Why It Matters
Deprecated APIs may keep working for now, but they can behave differently across WordPress versions and make maintenance harder.
How to Fix
- Look up the replacement API in the WordPress developer reference.
- Update the call signature and test on the plugin's supported WordPress versions.
- Keep compatibility wrappers only when the plugin intentionally supports older WordPress versions.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #1 | GeoDirectory – WP Business Directory Plugin and Classified Listings Directory | 22 | 4,462 | 3,972 | 10k+ | Output is not escaped | ||
| #2 | LearnPress – WordPress LMS Plugin for Create and Sell Online Courses | 22 | 2,361 | 3,384 | 70k+ | Non-prefixed global variable | ||
| #3 | LifterLMS – WP LMS for eLearning, Online Courses, & Quizzes | 24 | 414 | 1,176 | 10k+ | Non-prefixed global variable | ||
| #4 | WP Hotel Booking | 24 | 1,232 | 1,533 | 7k+ | Non-prefixed global variable |