Title: Found 2 bugs
Last modified: August 24, 2016

---

# Found 2 bugs

 *  [rotunda](https://wordpress.org/support/users/rotunda/)
 * (@rotunda)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/found-2-bugs/)
 * First of all I think this is a great plugin!
 * I found two bugs tough, and no other way to contact you than through this support
   forum. So here they are:
 * **1.** Softlinks does not work when inserting media. This is because the $search
   array on line 120 has errors:
 *     ```
       $search = array(
       	'src=""',
       	'href=""'
       );
       ```
   
 * should be:
 *     ```
       $search = array(
       	'src="',
       	'href="'
       );
       ```
   
 * I worked around the above problem with my own filter, but it would be nice to
   not have to do that 🙂
 * **2.** When the page content is empty, wp softlinks throws a warning.
 * A simple check for empty content on line 141 would fix this. Something like:
 *     ```
       if ( empty($content) ) return $content;
       ```
   
 * If you don’t have time to update the plugin, is there any way I can contribute?
   Through github / bitbucket or similar?

Viewing 1 replies (of 1 total)

 *  [Tony G](https://wordpress.org/support/users/starbuck/)
 * (@starbuck)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/found-2-bugs/#post-6033596)
 * With a new installation of v4.4, and a desire to avoid this common issue, I started
   looking for a solution today and found this plugin. It looks like the author 
   lost interest. If we can post to the SVN repo then perhaps that’s the way to 
   contribute?
 * Or can someone recommend another technique or a plugin like this that works with
   the latest release?

Viewing 1 replies (of 1 total)

The topic ‘Found 2 bugs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-softlinks.svg)
 * [WP SoftLinks](https://wordpress.org/plugins/wp-softlinks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-softlinks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-softlinks/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-softlinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-softlinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-softlinks/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tony G](https://wordpress.org/support/users/starbuck/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/found-2-bugs/#post-6033596)
 * Status: not resolved