Skip to content

Commit

Permalink
fixed some straggling phpcs comment violators
Browse files Browse the repository at this point in the history
  • Loading branch information
nosilver4u committed Oct 17, 2017
1 parent 693d1c8 commit e34a05d
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 168 deletions.
10 changes: 5 additions & 5 deletions bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,11 @@ function ewww_image_optimizer_media_scan( $hook = '' ) {
$reset_images = array();
$queued_ids = array();
$field_formats = array(
'%s', // path
'%s', // gallery
'%d', // orig_size
'%d', // attachment_id
'%s', // resize
'%s', // path.
'%s', // gallery.
'%d', // orig_size.
'%d', // attachment_id.
'%s', // resize.
'%d', // pending.
);
ewwwio_debug_message( 'scanning for media attachments' );
Expand Down
26 changes: 13 additions & 13 deletions common.php
Original file line number Diff line number Diff line change
Expand Up @@ -2099,11 +2099,11 @@ function ewww_image_optimizer_network_admin_menu() {
// Add options page to the settings menu.
$permissions = apply_filters( 'ewww_image_optimizer_superadmin_permissions', '' );
$ewww_network_options_page = add_submenu_page(
'settings.php', // Slug of parent
'EWWW Image Optimizer', // Page Title
'EWWW Image Optimizer', // Menu title
$permissions, // Capability
EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE, // Slug
'settings.php', // Slug of parent.
'EWWW Image Optimizer', // Page Title.
'EWWW Image Optimizer', // Menu title.
$permissions, // Capability.
EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE, // Slug.
'ewww_image_optimizer_network_options' // Function to call.
);
}
Expand Down Expand Up @@ -2142,19 +2142,19 @@ function ewww_image_optimizer_admin_menu() {
if ( ! is_plugin_active_for_network( EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE_REL ) ) {
// Add options page to the settings menu.
$ewww_options_page = add_options_page(
'EWWW Image Optimizer', // Page title
'EWWW Image Optimizer', // Menu title
apply_filters( 'ewww_image_optimizer_admin_permissions', 'manage_options' ), // Capability
EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE, // Slug
'EWWW Image Optimizer', // Page title.
'EWWW Image Optimizer', // Menu title.
apply_filters( 'ewww_image_optimizer_admin_permissions', 'manage_options' ), // Capability.
EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE, // Slug.
'ewww_image_optimizer_options' // Function to call.
);
} else {
// Add options page to the single-site settings menu.
$ewww_options_page = add_options_page(
'EWWW Image Optimizer', // Page title
'EWWW Image Optimizer', // Menu title
apply_filters( 'ewww_image_optimizer_admin_permissions', 'manage_options' ), // Capability
EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE, // Slug
'EWWW Image Optimizer', // Page title.
'EWWW Image Optimizer', // Menu title.
apply_filters( 'ewww_image_optimizer_admin_permissions', 'manage_options' ), // Capability.
EWWW_IMAGE_OPTIMIZER_PLUGIN_FILE, // Slug.
'ewww_image_optimizer_network_singlesite_options' // Function to call.
);
}
Expand Down
Loading

0 comments on commit e34a05d

Please sign in to comment.