WordPress bug fix
Bug Fix: No Self Ping Plugin Additional URLs Feature Broken
The No Self Ping Additional URLs setting can look ignored when WordPress saves the option as a string but the plugin checks for an array. The fix is a narrow data-type correction, not a setup change.

When a plugin setting looks ignored, check the data type before blaming the setup.
The No Self Ping Additional URLs feature can fail even when the setting is filled in correctly, because the plugin checks for an array where WordPress returns a string.
That makes the feature look like a configuration problem, but the real issue is a narrow logic bug in how the saved setting is tested before it is processed.
The practical question
- Are additional URLs still receiving pingbacks?
- Does the plugin read the saved setting as a string?
- Should you patch temporarily or wait for the upstream release?
How to read the bug
A small type assumption is enough to make a useful WordPress setting do nothing.
Symptom
URLs added to the Additional URLs setting still receive pingbacks, so the setting appears to be ignored.
Root cause
The saved option is sanitized as a string, but the code only processes it when it is an array.
Safe action
Change the condition only if you are comfortable editing plugin files, and remember that a plugin update can overwrite the local patch.
A one-line fix is still a production change
The code change is small, but it lives in a plugin file. That means the normal WordPress update flow can replace it later.
This is why the safer long-term answer is an upstream fix, even when a temporary local patch is easy to apply.
Before editing plugin files
- Confirm the exact plugin file and line.
- Take a backup or use version control if available.
- Change only the condition that blocks processing.
- Test that the Additional URLs setting now works.
- Watch for the official plugin update so the local patch does not drift.
The bug in plain language
The plugin asks the wrong question about the saved setting.
- Broken check: The code checks whether the saved extra URLs value is an array.
- Actual value: The sanitized WordPress option is a string, so the array check fails.
- Result: The additional URLs are never split into separate entries and never excluded from pinging.
- Better check: Check whether the string is not empty before processing it.
- Expected result: The plugin reads the entered URLs and can exclude them from self-ping behavior.
The fix is small because the diagnosis is specific.
Why this matters for WordPress maintenance
Small plugin bugs can waste time because the user keeps rechecking settings that were never the real problem.
What users see
- They enter additional URLs in the plugin settings.
- Those URLs still receive pingbacks.
- The problem looks like user error or a missed setting.
What the code does
- It loads the saved option as a string.
- It checks whether that value is an array.
- It skips the processing branch every time.
How to decide what to do
The right next step depends on how comfortable you are with temporary plugin edits.
- Confirm that the Additional URLs feature is the failing part.
- Inspect the condition around the saved option.
- Apply the one-line condition change only if you can safely edit plugin files.
- Test pingback behavior after the change.
- Replace the temporary patch with the upstream update when it arrives.
- The bug was reported through the WordPress.org support forum.
A narrow fix is useful, but it should not become an unmanaged local fork.
Frequently asked questions
Why does the Additional URLs setting fail?
The saved setting is handled as a string, but the plugin checks whether it is an array before processing it. That condition never passes.
What is the one-line fix?
The condition should check whether the saved string is not empty before splitting and processing it.
Should every user edit the plugin file manually?
No. Manual edits are temporary and can be overwritten by updates. Use the patch only if you understand that risk, or wait for an official release.
A good fix explains the symptom, the cause, and the update risk.
The useful part is not just knowing which line to change. It is knowing why the setting failed and how to avoid turning a quick fix into long-term maintenance debt.
- Confirm the setting is affected.
- Apply the narrow condition change if needed.
- Test the result.
- Move back to the official plugin update when available.
Have you seen another WordPress plugin setting fail because the stored value type was handled incorrectly?