Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Advanced translator copy post button doesn't copy the post full name #195

@luisarn

Description

@luisarn

Hi,

The Advanced Translator copy post button doesn't copy the post full name if the post title is too long.
Wordpress automatically shortens the generated post name, putting dots in the middle if the title is longer than a certain number of characters.

Changing the admin.js / admin.min.js line 55, from:

postSlug = $( '#editable-post-name' ).html();

to:

postSlug = $( '#editable-post-name-full' ).html();

should solve this issue.

Best regards,
Luis

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions