title: Code error numeric issue
body: <p>I have an avatar upload plugin for my website and am seeing this code error on the front end page...</p>
  
  <blockquote>
    <p>Warning: A non-numeric value encountered in /xxx/xxx/xxx/media.php on
    line 647</p>
  </blockquote>
  
  <p><strong>the code on the line 647 throwing the error is:</strong></p>
  
  <pre><code>$matched = ( abs( $constrained_size[0] - $expected_size[0] ) &lt;= 1 &amp;&amp; abs( $constrained_size[1] - $expected_size[1] ) &lt;= 1 );
  </code></pre>
  
  <p><strong>the full code above and below is:</strong></p>
  
  <pre><code>// If the image dimensions are within 1px of the expected size, we consider it a match.
  $matched = ( abs( $constrained_size[0] - $expected_size[0] ) &lt;= 1 &amp;&amp; abs( $constrained_size[1] - $expected_size[1] ) &lt;= 1 );
  </code></pre>
  
  <p>any help would be appreciated thanks!</p>