strings must not begin or end with white spaces, reported by phpcs

Created on 16 June 2023, almost 2 years ago
🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇮🇳India sonam_sharma

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sonam_sharma
  • 🇮🇳India sonam_sharma

    hii,
    Translatable strings must not begin or end with white spaces, use placeholders with t() for variables

  • Issue was unassigned.
  • Status changed to Closed: works as designed almost 2 years ago
  • 🇮🇳India ashutosh ahirwal India

    @sonam_sharma Have you checked the theme and do you know the functionality?
    In title the increment variable is used to create a title with id for different slides.
    This is a requirements not a bug.
    If we don't add space after title then it will concatenate the $i value with slider text and without that it will look bad user experience.

Production build 0.71.5 2024