Title: Ratify
Author: secretsource
Published: <strong>2018 年 2 月 19 日</strong>
Last modified: 2020 年 3 月 11 日

---

搜索插件

![](https://ps.w.org/ratify/assets/banner-772x250.jpg?rev=1972464)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/ratify/assets/icon-256x256.jpg?rev=1972464)

# Ratify

 作者：[secretsource](https://profiles.wordpress.org/secretsource/)

[下载](https://downloads.wordpress.org/plugin/ratify.zip)

 * [详情](https://cn.wordpress.org/plugins/ratify/#description)
 * [评价](https://cn.wordpress.org/plugins/ratify/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/ratify/#developers)

 [支持](https://wordpress.org/support/plugin/ratify/)

## 描述

A plugin that helps keep us from publishing sites with basic configuration errors.
It is an automated checklist of common issues in WordPress sites.

Ratify – Your technical seal of approval

This small and unintrusive plugin provides a fast way to spot technical WordPress
configuration issues and fixes some of them without being asked. Examples include:

 * verifying that the home page has a valid Title tag
 * verifying that the site is not blocking robots (Google)
 * verifying that the site and all assets are being delivered over HTTPS
 * verifying that the home page is delivered gzipped (compressed)
 * verifying that images on the home page have ALT attributes
    - that the home page has H1, H2, H3, etc. tags
    - that the HTML on the home page is valid
    - that the HTML on the home page has Open Graph tags
 * much, much more

In most cases the plugin can improve your Google Lighthouse score simply by installing
it.

The story of Ratify

### Why?

When you create more than 1 site per week (as we have at Secret Source Technology)
using a different premium theme on each site, there are dozens or even hundreds 
of issues that can arise.

The Ratify plugin is our latest attempt at formalizing our quality control. It is
our guarantee that a site meets a certain minimum of quality. It greatly reduces
the potential for human error and allows you to see at a glance issues the site 
may be having.

This plugin:

 * Started as a spreadsheet with nearly one hundred line items
 * Turned into a bash script
 * Then a bash script with a graphic web front end
 * Then into Selenium automated test script (for testing forms)
 * Then into a plugin using the Herbert framework
 * Then into a plugin using the WordPress Plugin Boilerplate (current version)

The plugin structure is very basic and tests can be added simply (if you know how
to write object oriented PHP – have a look in the “Models” folder…). In future versions
we hope to include additional tests and speed improvements for your site. We are
very interested in hearing from users of the plugin so please do not hesitate to
contact us with questions / concerns.

Installation

There are no special requirements to install this plugin. Just use the standard 
WordPress plugin installation routine.

Frequently Asked Questions

(waiting for feedback from users… there are no FAQs at this time)

Screenshots

 1. This is a sample report from a site that is not very good

Copyright

The “[approved](https://svgsilh.com/image/1966719.html)” stamp used with permission.

Contributing

We’re following [this gist](https://gist.github.com/kasparsd/3749872) to use github
as the master repository.

If you find an issues with this plugin, please submit tickets using github’s issue
tracking system.
 Be sure to state what the problem is, the steps to reproduce, 
the expected behavior and the actual behavior.

### Helpful Links for Developers

 * https://wordpress.stackexchange.com/questions/63668/autoloading-namespaces-in-
   wordpress-plugins-themes-can-it-work
 * https://wordpress.stackexchange.com/questions/307345/translate-a-constant-while-
   appeasing-wordpress-phpcs

Changelog

1.1.1 – Fixed an issue in which valid headings were failing the headings test
 1.1–
Completely PHPCS valid following all WordPress coding style guidelines. 1.0.4 – 
Fixed file names to be PHPCS compliant. Also fixed other phpcs compliance issues
throughout 1.0.3 – Moved the master repository to [github](https://github.com/SecretSourceWeb/ratify)
1.0.2 – Fixed some readme formatting 1.0.1 – Fixed formatting in readme and made
it pretty and tweaked the test for Google Analytics (in the prior version) 1.0 –
Initial release

## 屏幕截图

[[

## 评价

此插件暂无评价。

## 贡献者及开发者

「Ratify」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ secretsource ](https://profiles.wordpress.org/secretsource/)
 *   [ tedmaster ](https://profiles.wordpress.org/tedmaster/)

[帮助将「Ratify」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ratify)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ratify/)，查看[SVN仓库](https://plugins.svn.wordpress.org/ratify/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/ratify/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ratify/)。

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.8 或更高版本 **
 *  已测试的最高版本为 **5.4.19**
 *  PHP 版本 ** 7.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/ratify/)
 * 标签
 * [accessibility](https://cn.wordpress.org/plugins/tags/accessibility/)[checklist](https://cn.wordpress.org/plugins/tags/checklist/)
   [HTML5](https://cn.wordpress.org/plugins/tags/html5/)[seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/ratify/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/ratify/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ratify/reviews/)

## 贡献者

 *   [ secretsource ](https://profiles.wordpress.org/secretsource/)
 *   [ tedmaster ](https://profiles.wordpress.org/tedmaster/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ratify/)