Skip to content

Commit

Permalink
- Evitamos que la web se quede en blanco si hay un css mal formado
Browse files Browse the repository at this point in the history
- Se añade el plugin wordpress-seo ( de yoast ) de serie
  • Loading branch information
Manuel Canga committed Dec 17, 2016
1 parent b349028 commit 19b9a96
Show file tree
Hide file tree
Showing 563 changed files with 60,090 additions and 2 deletions.
6 changes: 4 additions & 2 deletions includes/dependencies/less/lessc.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3529,9 +3529,11 @@ public function throwError($msg = "parse error", $count = null) {

// TODO this depends on $this->count
if ($this->peek("(.*?)(\n|$)", $m, $count)) {
throw new exception("$msg: failed at `$m[1]` $loc");
error_log("$msg: failed at `$m[1]` $loc");
// throw new exception("$msg: failed at `$m[1]` $loc");
} else {
throw new exception("$msg: $loc");
error_log("$msg: $loc");
//throw new exception("$msg: $loc");
}
}

Expand Down
3 changes: 3 additions & 0 deletions wp-content/plugins/wordpress-seo/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["transform-react-jsx"]
}
2 changes: 2 additions & 0 deletions wp-content/plugins/wordpress-seo/.csslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--exclude-exts=.min.css
--ignore=adjoining-classes,box-model,ids,order-alphabetical,unqualified-attributes
1 change: 1 addition & 0 deletions wp-content/plugins/wordpress-seo/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/*{.,-}min.js
9 changes: 9 additions & 0 deletions wp-content/plugins/wordpress-seo/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
extends: yoast

rules:
complexity: [1, 6]
react/prop-types: 1
camelcase: 1
brace-style: 1
max-len: 1
max-statements: 1
Loading

0 comments on commit 19b9a96

Please sign in to comment.