allan23 / validated Goto Github PK
View Code? Open in Web Editor NEWWordPress plugin that checks your pages/posts against the W3C Validator.
WordPress plugin that checks your pages/posts against the W3C Validator.
There needs to be more information for users experiencing this error.
Currently the plugin only allows for pages/posts to be checked one by one. It has been requested to allow bulk validation checks for all pages and posts.
The caveat is that it cannot hinder performance.
Those correcting validation errors within a post's content want to see immediate results. A meta box on the editing screen can alleviate this.
Right now, there is no way to sort the posts based upon validation results.
When a page/post is updated, the validation results can become invalid (e.g. a post that is valid may no longer be valid after the content is updated) and so those previous validation results should be removed.
Developers on a non-public environment cannot use the validator as is.
Per martinburchell:
Sometime validation fails with these 2 errors. Validating again seems to work OK.
Line Notice: Undefined property: stdClass::$lastLine in /path/to/wordpress/wp-content/plugins/validated/views/report.php on line 14
Call Stack: 0.0068 143452
1. {main}() /path/to/wordpress/wp-admin/admin-ajax.php:0 2.2265 18023340
2. do_action() /path/to/wordpress/wp-admin/admin-ajax.php:89 2.2266 18024224
3. call_user_func_array:{/path/to/wordpress/wp-includes/plugin.php:525}() /path/to/wordpress/wp-includes/plugin.php:525 2.2266 18024280
4. Validated->generate_report() /path/to/wordpress/wp-includes/plugin.php:525 2.2557 18054976
5. include('/path/to/wordpress/wp-content/plugins/validated/views/report.php') /path/to/wordpress/wp-content/plugins/validated/lib/class-validated.php:124 : End of file seen without seeing a doctype first. Expected e.g. “<!DOCTYPE html>”.
Notice: Undefined property: stdClass::$extract in /path/to/wordpress/wp-content/plugins/validated/views/report.php on line 17
Call Stack: 0.0068 143452
1. {main}() /path/to/wordpress/wp-admin/admin-ajax.php:0 2.2265 18023340
2. do_action() /path/to/wordpress/wp-admin/admin-ajax.php:89 2.2266 18024224
3. call_user_func_array:{/path/to/wordpress/wp-includes/plugin.php:525}() /path/to/wordpress/wp-includes/plugin.php:525 2.2266 18024280
4. Validated->generate_report() /path/to/wordpress/wp-includes/plugin.php:525 2.2557 18054976
5. include('/path/to/wordpress/wp-content/plugins/validated/views/report.php') /path/to/wordpress/wp-content/plugins/validated/lib/class-validated.php:124
Line Notice: Undefined property: stdClass::$lastLine in /path/to/wordpress/wp-content/plugins/validated/views/report.php on line 14
Call Stack: 0.0068 143452
1. {main}() /path/to/wordpress/wp-admin/admin-ajax.php:0 2.2265 18023340
2. do_action() /path/to/wordpress/wp-admin/admin-ajax.php:89 2.2266 18024224
3. call_user_func_array:{/path/to/wordpress/wp-includes/plugin.php:525}() /path/to/wordpress/wp-includes/plugin.php:525 2.2266 18024280
4. Validated->generate_report() /path/to/wordpress/wp-includes/plugin.php:525 2.2557 18054976
5. include('/path/to/wordpress/wp-content/plugins/validated/views/report.php') /path/to/wordpress/wp-content/plugins/validated/lib/class-validated.php:124 : Element “head” is missing a required instance of child element “title”.
Notice: Undefined property: stdClass::$extract in /path/to/wordpress/wp-content/plugins/validated/views/report.php on line 17
Call Stack: 0.0068 143452
1. {main}() /path/to/wordpress/wp-admin/admin-ajax.php:0 2.2265 18023340
2. do_action() /path/to/wordpress/wp-admin/admin-ajax.php:89 2.2266 18024224
3. call_user_func_array:{/path/to/wordpress/wp-includes/plugin.php:525}() /path/to/wordpress/wp-includes/plugin.php:525 2.2266 18024280
4. Validated->generate_report() /path/to/wordpress/wp-includes/plugin.php:525 2.2557 18054976
5. include('/path/to/wordpress/wp-content/plugins/validated/views/report.php') /path/to/wordpress/wp-content/plugins/validated/lib/class-validated.php:124
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.