PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.90
WindPress – Tailwind CSS integration for WordPress v3.2.90
3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 All 144 releases
windpress / vendor / masterminds / html5 / UPGRADING.md

UPGRADING.md in WindPress – Tailwind CSS integration for WordPress 3.2.90, at vendor/masterminds/html5/UPGRADING.md

22 lines 496 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 From 1.x to 2.x
2 =================
3
4 - All classes uses `Masterminds` namespace.
5 - All public static methods has been removed from `HTML5` class and the general API to access the HTML5 functionalities has changed.
6
7 Before:
8
9 $dom = \HTML5::loadHTML('<html>....');
10 \HTML5::saveHTML($dom);
11
12 After:
13
14 use Masterminds\HTML5;
15
16 $html5 = new HTML5();
17
18 $dom = $html5->loadHTML('<html>....');
19 echo $html5->saveHTML($dom);
20
21
22