You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2019. It is now read-only.
Expected behaviour and actual behaviour
Using the_title() in share links, expecting to get only title. Link code:
<a href='https://twitter.com/intent/tweet?source=<?php the_permalink(); ?>&text=<?php the_title(); ?>:%20<?php the_permalink(); ?>' target='_blank' title='Tweet'>Tweet</a>
However when logged in to WP the_title() returns the page title plus
<br class="fee-title" />
https://monosnap.com/file/mWVkaiGdsydGu18I6TnyfzVpYqHdyA
Specifications
The text was updated successfully, but these errors were encountered: