kernox / Mastodon-Share-for-WordPress

Wordpress plugin for Mastodon
GNU General Public License v3.0
12 stars 1 forks source link

permalink problem when it ends with a number #38

Open 3dn0 opened 5 years ago

3dn0 commented 5 years ago

Hello there !

I don't know if the dev of this plugin is still active, but I think I've found a bug (but don't know how to fix it yet... although I think it should be quite simple for someone who knows about JS)

So, it seems that the permalink is not working (not displayed in the toot preview window and not sent in the toot either), but only when the aforementioned permalink is ending with a number. If you're using the default plain version, it won't work. If you're using the numeric version, it won't work either. And if you're using a custom structure that ends with a number, it won't work too.

Anything else is working properly, but that's still a big problem when you can't use the other options. (actually, it's only 50% functional). Is it possible to fix the code ? Thanks a lot !