Title: Code Fixes Provided
Last modified: August 31, 2016

---

# Code Fixes Provided

 *  [dqjauthentrics](https://wordpress.org/support/users/dqjauthentrics/)
 * (@dqjauthentrics)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/code-fixes-proviced/)
 * To fix it, you can replace the Yahoo call processing with this:
 *     ```
       $content = str_replace("'", "", strip_tags($content));
       			$yql_query = "SELECT * FROM contentanalysis.analyze WHERE text='$content'";
       			$data = file_get_contents('http://query.yahooapis.com/v1/public/yql?unique=1&q=' . urlencode($yql_query).'&format=json');
       			$data = json_decode($data);
       			if (!empty($data->query->results->entities)) {
       				$entities = $data->query->results->entities;
       				foreach ($entities as $entity) {
       					foreach ($entity as $whatever) {
       						$ret[] .= $whatever->text->content;
       					}
       				}
       			}
       ```
   
 * in the auto_tag_yahoo function. Also, add:
 *     ```
       'numberposts' => 999999,
       ```
   
 * to the $args array in the tools_handler() function. If anyone makes further fixes,
   please send them to me at [dqj@authentrics.com](https://wordpress.org/support/topic/code-fixes-proviced/dqj@authentrics.com?output_format=md).
 * [https://wordpress.org/plugins/auto-tag/](https://wordpress.org/plugins/auto-tag/)

The topic ‘Code Fixes Provided’ is closed to new replies.

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

## Tags

 * [bug fix](https://wordpress.org/support/topic-tag/bug-fix/)

 * 0 replies
 * 1 participant
 * Last reply from: [dqjauthentrics](https://wordpress.org/support/users/dqjauthentrics/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/code-fixes-proviced/)
 * Status: not resolved