| @@ -233,10 +233,8 @@ | ||
| 233 | 233 | * @return void |
| 234 | 234 | */ |
| 235 | 235 | protected function error( $key, $new_key ) { |
| 236 | 236 | if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { |
| 237 | - // Developer-only deprecation notice; gated by WP_DEBUG so production never reaches it. | |
| 238 | - // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error | |
| 239 | 237 | trigger_error( |
| 240 | 238 | sprintf( |
| 241 | 239 | '"<strong>%1$s</strong>" attribute used in a %4$s called "%2$s" is no longer supported and will be removed in a future version. Instead, you should use the attribute <strong>%3$s</strong>.', |
| 242 | 240 | esc_textarea( $key ), //to escape anything into strings |