• We recently upgraded to v4.5.3 and we are seeing a problem saving links.

    If we enter several links (say 5) into a single post and then save, only some of them save as links. The rest save as plain text. It is unpredictable exactly how many will be stripped of their link, but almost always at least one is.

    Here’s the scenario:

    1. Create a new post
    2. Insert 5 links into the post body using the new Insert/edit Link dialog box (e.g. “Google” https://www.google.com, “Yahoo” https://www.yahoo.com, “www.remarpro.com” https://www.www.remarpro.com, “CNN” https://www.cnn.com, “Facebook” https://www.facebook.com”
    3. Save Draft.

    –> Some number of the links turn into plain text.

    It doesn’t happen every time, but it does happen from time to time.

    Does anyone have any idea what this could be? Does WordPress somehow process the links after I enter them as part of saving the draft? If it does, could that code have a bug in it? This seems like a core WordPress bug to me.

    I do not have any plugins running and I am using a stock theme.

    Your help is much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mhowitt

    (@mhowitt)

    Just an update to this because I’ve done some more investigation…

    I’m stepping through the code of the edit_post method in includes/post.php after I press Save Draft button. $POST[‘content’] does not have the links. It seems like it must be stripped by JavaScript before the submit to the server even happens. Does this make sense?

    I have wp 4.7.5 and I am now having a problem saving links got ye past week. It is same in any browser but only on one computer, my desktop.
    If i use my laptop all works ok
    I have cleared cache and rebooted but nothing helps
    Any ideas? I am running windows 10 om both computers and this has only been a problem recently.
    There is no error message just that links wont save, I can add a link using html in the text area but not using the link icon (same for images etc.)

    • This reply was modified 7 years, 6 months ago by frammie.
    • This reply was modified 7 years, 6 months ago by frammie.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem saving links in WordPress 4.5.3’ is closed to new replies.