• Resolved lechon

    (@lechon)


    Using classic editor, if you use WordPress menu to create a hyperlink on a post, it will inject the hyperlink twice on a post.

    This is happening on the Pro version as well as the Free Version.

    Deactivating All in One SEO solves the problem.

    Screen shot enclosed:

    View post on imgur.com

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Steve M

    (@wpsmort)

    @lechon We are aware of this and have opened an issue to fix this.

    Thread Starter lechon

    (@lechon)

    Thanks for the quick reply.

    Cheers!

    @lechon We are aware of this and have opened an issue to fix this.

    Mind sharing the github issue tracker so we can help?

    Plugin Support Steve M

    (@wpsmort)

    @thejazzpiper The issue is in a private Github repo.

    Thanks @wpsmort – any temporary work around until it has been pushed out?

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @thejazzpiper You can temporarily disable the script by adding this snippet to your theme’s function.php file.

    add_action('wp_print_scripts', 'aioseop_deregister_scripts');
    
    function aioseop_deregister_scripts() {
    	wp_deregister_script( 'aioseop-link-attributes-classic-editor' );
    }

    You’ll then lose the ability to add the “nofollow”, “sponsored” and “title” attributes though.

    – Arnaud

    Thanks @arnaudbroes – unfortunately it doesnt seems to work, tried it default WP twentytwenty theme too. nofollow”, “sponsored” still show up and still inserting double text. It is still loading the .js – Would removing the JS content help for now?

    Appreciate the help

    • This reply was modified 4 years, 11 months ago by thejazzpiper.
    Plugin Author arnaudbroes

    (@arnaudbroes)

    @thejazzpiper in that case it’s probably the easiest to simply comment/remove line 453 in class-aioseop-core.php. You should find that file in the root folder of our plugin.

    Thx @arnaudbroes that works, looking forward for the patch!

    Plugin Author arnaudbroes

    (@arnaudbroes)

    To anyone who is reading this that is experiencing the same issue:

    We don’t have an ETA for our next release yet but in the meanwhile you should be able to disable our script by adding this code snippet at the bottom of your theme’s functions.php file –

    add_action( 'wp_enqueue_editor', 'aioseop_dequeue_script', 9999999, 0 );
    
    function aioseop_dequeue_script() {
    	wp_dequeue_script( 'aioseop-link-attributes-classic-editor' );
    }

    You can also simply comment line 453 in class-aioseop-core.php as mentioned above.

    The script will be renamed in the next release of AIOSEO. This means that the snippet will effectively become useless when the fix for this is released so that you can continue to benefit from our added link options.

    – Arnaud

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘After Update All in One SEO Creates Double Hyperlink’ is closed to new replies.