Title: Manly Fix
Author: DimitriAus
Published: <strong>19 Tháng 5, 2026</strong>
Last modified: 23 Tháng 5, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/manly-fix/assets/icon-256x256.png?rev=3538036)

# Manly Fix

 Bởi [DimitriAus](https://profiles.wordpress.org/dimitriaus/)

[Tải về](https://downloads.wordpress.org/plugin/manly-fix.1.5.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/manly-fix/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/manly-fix/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/manly-fix/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/manly-fix/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/manly-fix/)

## Mô tả

Applies configurable HTML fixes to WordPress and WooCommerce page output. Each fix
can be individually enabled or disabled via **Settings  Manly Fix**.

### WordPress & HTML Fixes

 * **Remove trailing slashes** – Removes XHTML-style trailing slashes (`/>`) from
   void elements (`<meta>`, `<link>`, `<img>`, `<input>`, etc.) for clean HTML5 
   output.
    _Validator: “Info: Trailing slash on void elements has no effect and
   interacts badly with unquoted attribute values.”_
 * **Remove intrinsic size CSS** – Removes the `contain-intrinsic-size` CSS rule
   injected by WordPress for auto-sized images.
    _Validator: “CSS: contain-intrinsic-
   size: Property contain-intrinsic-size doesn’t exist.”_
 * **Remove redundant aria-hidden** – Removes `aria-hidden="true"` from elements
   that already carry the `hidden` attribute.
    _Validator: “Attribute aria-hidden
   is unnecessary for elements that have attribute hidden.”_
 * **Move router style to `<head>`** – Moves the WordPress Interactivity Router 
   animations inline `<style>` tag from `<body>` to `<head>`.
    _Validator: “Element
   style not allowed as child of element body in this context. (Suppressing further
   errors from this subtree.)”_
 * **Remove invalid `as` from prefetch links** – Removes the invalid `as` attribute
   from `<link rel="prefetch">` elements emitted by WooCommerce.
    _Validator: “A`
   link` element with an `as` attribute must have a `rel` attribute that contains
   the value `preload` or the value `modulepreload`.”_

### WooCommerce Fixes

These fixes are only shown when WooCommerce is active.

 * **Mini-cart role=”dialog”** – Adds missing `role="dialog"` to the WooCommerce
   mini-cart drawer div.
    _Validator: “Element div is missing one or more of the
   following attributes: role.”_
 * **Add placeholder src to Interactivity API images** – Adds a transparent placeholder`
   src` and an empty `alt=""` to `<img>` elements that use the WordPress Interactivity
   API but have no static attributes. Real values are set by JavaScript at runtime.
   
   _Validator: “Element `img` is missing one or more of the following attributes:`
   src`, `srcset`.” / “An `img` element must have an `alt` attribute.”_

### Support

For issues, feature requests, or contributions, please contact Manly Electronics.

## Cài đặt

 1. Upload the plugin folder to `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to **Settings  Manly Fix** to enable or disable individual fixes

## Hỏi đáp

### Does this plugin affect page performance?

No. The plugin uses output buffering at the `template_redirect` hook, processing
the entire page once before output. On typical sites, the performance impact is 
negligible.

### Can I choose which fixes are applied?

Yes. Go to **Settings  Manly Fix** and toggle each fix on or off.

### Are the WooCommerce fixes applied if WooCommerce is not installed?

No. The WooCommerce fixes section only appears in settings and only runs when WooCommerce
is active.

### Is this compatible with all WordPress versions?

Yes, the plugin uses standard WordPress hooks and PHP functions compatible with 
WordPress 4.0+.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Manly Fix” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ DimitriAus ](https://profiles.wordpress.org/dimitriaus/)

[Dịch “Manly Fix” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/manly-fix)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/manly-fix/), check out [SVN repository](https://plugins.svn.wordpress.org/manly-fix/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/manly-fix/)
qua [RSS](https://plugins.trac.wordpress.org/log/manly-fix/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.5.1

 * Updated: Requires PHP bumped to 7.4 (WordPress 7.0 minimum); Tested up to 7.0.

#### 1.5

 * Merged all Manly Woo Fix functionality into this plugin
 * Added WooCommerce fixes: mini-cart role=”dialog”, Interactivity API image placeholder
   src/alt
 * Added WordPress fixes: redundant aria-hidden, router style to head, prefetch 
   as= attribute
 * WooCommerce fixes section is only shown/applied when WooCommerce is active

#### 1.4

 * Added “Remove intrinsic size CSS” fix (absorbs remove-contain-intrinsic-size 
   plugin)

#### 1.3

 * Added Settings page (Settings  Manly Fix) with toggles for each fix

#### 1.2

 * Added direct file access protection
 * Improved code documentation

#### 1.1

 * Initial public release
 * Support for 18 HTML5 void elements
 * Output buffering implementation

## Meta

 *  Phiên bản **1.5.1**
 *  Cập nhật lần cuối **21 giờ trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 4.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/manly-fix/)
 * Thẻ
 * [HTML5](https://vi.wordpress.org/plugins/tags/html5/)[markup](https://vi.wordpress.org/plugins/tags/markup/)
   [trailing slash](https://vi.wordpress.org/plugins/tags/trailing-slash/)[validation](https://vi.wordpress.org/plugins/tags/validation/)
   [woocommerce](https://vi.wordpress.org/plugins/tags/woocommerce/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/manly-fix/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/manly-fix/reviews/)

## Những người đóng góp

 *   [ DimitriAus ](https://profiles.wordpress.org/dimitriaus/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/manly-fix/)