Support » Plugin: Manual Image Crop » division by zero bug

  • Hi,

    Its almost a perfect plugin.. except that when an image is defined without a specified height (e.g. add_image_size( ‘content_half’, 390, 0, true); ) the crop editor throws a load of error because of the division by zero.

    Lines 131, 136, 140, and 152 of ManualImageCropEditorWindow.php give ‘Warning: Division by zero’

    Any chance of a patch for this? Specifying a height or width as zero is standard wordpress default functionality as spec’d in the codex.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘division by zero bug’ is closed to new replies.