Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7634347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:08:57+00:00 2026-05-31T07:08:57+00:00

I have a client that has just moved a very larger, well established wordpress

  • 0

I have a client that has just moved a very larger, well established wordpress site to a new host. He has a series of JSON api’s delivered via a plugin that have stopped validating (killing a mobile app).

I’ve identified the problem as that after the tags <a or <img are used in the WP admin, a mysterious line break is added. Its not present in the WP html wyswig — but the html src for the page also has the line break.

I’ve tried the following:

  • replace: \n, \r, \r\n, char(10) (in various orders) — No change
  • replace: different char(#) — No change
  • using BBEdit to Zap Gremlins — No change
  • opening in VI to make sure that the line breaks are part of the file (they are – $ everywhere)

I’m open to suggestions on a method either identifying and removing these annoyances.

UPDATE: After typing this all out, I realized I should check using a HexEditor. The character is 0A.

EDIT: Edited because part of my question was poorly formatted. The character is being added previous to the JSON output.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:08:58+00:00Added an answer on May 31, 2026 at 7:08 am

    After much testing I outlined every known fact:

    • It was not legacy,
    • Deactivating all plugins did not resolve,
    • It was not a rewrite rule,
    • It was not garbage in – garbage out…
    • It was repeating the issues on a child blog on the same wp build,
    • a document at the root did not exhibit this behavior,
    • it appeared to happen before rendering but after json_encode,
    • it only happened for specific HTML tags (img, a, div, span (actually tags that have attributes like href or class))

    After all that we decided that it had to be a plug-in and went through another round of checks.

    It turned out to be the plugin wp-minify combined poor testing during the deactivation check. The response was being cached and I assumed that there was no change.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client apllication that run in very restricted area - it has
We have a client that has Oracle Standard , and a project that would
I have a client that has a requirement to display PDFs directly within a
I have a client that has a PostgreSQL database and he cannot remember the
We have a Japanese client that has source code in COBOL on an mainframe.
I have a .NET web-service client that has been autogenerated from a wsdl-file using
I have a jar file that has a file named client.ts in (when viewing
We have a very lengthy newsletter that has been designed and developed to look
We have a client who has just recently acquired their first SharePoint 2010 system.
I have a client with a database that has several sizeable and interrelational models.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.