Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Fixes: #126, #119, #25, #72 #127

Closed
wants to merge 2 commits into from
Closed

Fixes: #126, #119, #25, #72 #127

wants to merge 2 commits into from

Conversation

pryley
Copy link

@pryley pryley commented Jun 18, 2015

Fixes the following:

You no longer have to set Native WP sizes to 0x0 to prevent them being NATIVELY generated.

Fixes the following:
- Imagick never used as editor #126
- double slash on cache upload path #119
- WPThumb & Media Manager #72
- By default we should stop WordPress generating any of the image sizes on upload #25

You no longer have to set Native WP sizes to 0x0 to prevent them being generated.
@joehoyle
Copy link
Member

Hi @pryley, thanks for the PR - we'd typically have PR for each bug fixed, so we can roll back etc if anything goes wrong. I'm happy to write tests for each Pull Request then if you are not familiar with doing that.

Looks like you are also using the PHP array shorthand [] which isn't supported in PHP 5.3, which we support.

}

add_filter( 'wp_image_editors', 'wpthumb_add_image_editors' );

function wpthumb_create_args_from_size( $args = '' )
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the WordPress PHP Coding Guidelines, { should never be on their own line.

@pryley
Copy link
Author

pryley commented Jun 22, 2015

Sure, I'll separate each fix with its own pull request and remove shorthand arrays.

@pryley pryley closed this Jun 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants