Front End Post Title glitch

This topic contains 3 replies, has 3 voices, and was last updated by  Colin Whiteside 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #6466

    Colin Whiteside
    Full Member
    Post count: 46

    Everything is looking really good with the latest updates – thank you all for the great work on uwp!

    One glitch is on front end post. The title is showing up with dashes in-between-each-word and no capitols. It seems like it is creating a slug and saving the slug as the title. On the backend, I can see that the slug and the title are exactly the same.

    If I edit the title on the front end, it keeps doing the same thing, but if I edit the title on the back-end as admin it works correctly.

    Using the latest version of uwp version 1.2.0.12, uwp front end post version 1.2.0, on wp 5.2.5

    Thank you,
    Colin

    #6470

    Guust
    Moderator
    Post count: 29970

    That looks indeed like a bug.
    I will get the developers to have a look.
    Thanks

    #6472

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Thanks for noticing and informing the issue. We have checked and fixed the issue. If you want to apply the changes then you can provide FTP details in private reply or here is the change you can do if you want. Go to UsersWP – Frontend Post add on’s uwp-frontend-post/includes/admin/class-uwp-frontend-post-admin-ajax.php file at line no. 170 replace from

    'post_title' => sanitize_title( wp_strip_all_tags($_POST['uwp_fp_post_title']) ),

    to

    'post_title' => sanitize_text_field( wp_strip_all_tags($_POST['uwp_fp_post_title']) ),

    We will make this change in the next update release.

    Regards,
    Patrik

    #6485

    Colin Whiteside
    Full Member
    Post count: 46

    Thank you once again Patrik!

    Colin

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket