Skip to content

Commit

Permalink
added not found warnings
Browse files Browse the repository at this point in the history
git-svn-id: http://plugins.svn.wordpress.org/optimus/trunk@1713596 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information
keycdn committed Aug 15, 2017
1 parent 56778dd commit d28e5b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
}

#optimus-bulk-optimizer #media-items .bar.err {
background-color: #d4352e;
background-color: #bbb;
}

#optimus-bulk-optimizer .media-item {
Expand Down
4 changes: 2 additions & 2 deletions inc/optimus_request.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Optimus_Request
* Image optimization post process (ajax)
*
* @since 1.3.8
* @change 1.4.2
* @change 1.4.10
*
* @return json $metadata Update metadata information
*/
Expand Down Expand Up @@ -71,7 +71,7 @@ public static function optimize_image() {

/* check if optimus array empty */
if ( empty($optimus_metadata['optimus']) ) {
echo json_encode(array('error' => __("Internal error", "optimus")));
echo json_encode(array('error' => __("Not found", "optimus")));
exit;
}

Expand Down

0 comments on commit d28e5b8

Please sign in to comment.