Skip to content

Fix broken title when post format icon is present#9

Merged
frankiejarrett merged 1 commit intojoshuadavidnelson:masterfrom
brandbrilliance:patch-1
Dec 14, 2015
Merged

Fix broken title when post format icon is present#9
frankiejarrett merged 1 commit intojoshuadavidnelson:masterfrom
brandbrilliance:patch-1

Conversation

@brandbrilliance
Copy link
Contributor

This fix will ensure that the A tag is replaced with the inactive title, without breaking the post format image link before the title.

Resolved by changing the two remove() and prepend() DOM functions with a single replaceWith() function.

This fix will ensure that the a tag is replaced with the inactive title, without breaking the post format image link before the title.

Resolved by changing the two remove() and prepend() DOM functions with a single replaceWith() function.
@frankiejarrett
Copy link
Collaborator

@brandbrilliance Works great. Thank you!

frankiejarrett added a commit that referenced this pull request Dec 14, 2015
Update archived-post-status.php
@frankiejarrett frankiejarrett merged commit b4855e8 into joshuadavidnelson:master Dec 14, 2015
@frankiejarrett frankiejarrett changed the title Update archived-post-status.php Fix broken title when post format icon is present Dec 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants