Skip to content

#54275 Need to remove some empty html element (span)#1766

Closed
sayedulsayem wants to merge 1 commit intoWordPress:masterfrom
sayedulsayem:sayem-54275
Closed

#54275 Need to remove some empty html element (span)#1766
sayedulsayem wants to merge 1 commit intoWordPress:masterfrom
sayedulsayem:sayem-54275

Conversation

@sayedulsayem
Copy link

@sayedulsayem sayedulsayem commented Oct 17, 2021

In credits.php file, during show core contributors there are some empty span element which is not necessary to generate.
During showing core contribution it's accessing $person_data[3] without any checking. Not every contributor has a title so in some cases, $person_data[3] returns an empty string. In that case, It's not necessary to print empty strings into the span element.
See the screenshot below to understand it properly.

Trac ticket: https://core.trac.wordpress.org/ticket/54275

@hellofromtonya
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants