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.

medium weight

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.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1GeoDirectory – WP Business Directory Plugin and Classified Listings Directory224,4623,97210k+Output is not escaped
#2LearnPress – WordPress LMS Plugin for Create and Sell Online Courses222,3613,38470k+Non-prefixed global variable
#3LifterLMS – WP LMS for eLearning, Online Courses, & Quizzes244141,17610k+Non-prefixed global variable
#4WP Hotel Booking241,2321,5337k+Non-prefixed global variable