Opis
The WP Engine PHP Compatibility Checker can be used by any WordPress website on any web host to check PHP version compatibility.
This plugin will lint theme and plugin code installed on your WordPress site and give you back a report of compatibility issues as reported by Tide for you to fix. Compatibility issues are categorized into errors and warnings and will list the file and line number of the offending code, as well as the info about why that line of code is incompatible with the chosen version of PHP. The plugin will also suggest updates to themes and plugins, as a new version may offer compatible code.
This plugin does not execute your theme and plugin code, as such this plugin cannot detect runtime compatibility issues.
Imajte na umu da vezivanje koda nije savršeno. Ovaj dodatak ne može otkriti neiskorištene kodne putove koji bi se mogli upotrijebiti za povratnu kompatibilnost i na taj način mogu pokazati lažne pozitivne rezultate. Mi održavamobijelu listu dodatakašto može izazvati lažne pozitivne rezultate. Neprekidno radimo na tome da štriher pruži najtočnije moguće rezultate.
This plugin relies on Tide that constantly scans updated versions of plugins and themes in the background. Your scan results should be near real-time, but if not that just means Tide has not yet scanned your specific plugin or theme version. Please be patient as this may take up to 10 minutes for results to be returned from Tide. Please see the FAQ for more information.
Update to PHP 7.4
- Use this plugin to check your site for compatibility up to PHP 8.0!
- As of July 2022, 8.52% of WordPress websites run a PHP version older than PHP 7.0.
- Ove verzije PHP-a su zastarijele i ne podržane preko 2 godine.
- Only 7.1% of WordPress websites run PHP 8, the current main version of PHP.
Disclaimer
While this plugin is written to detect as many problems as accurately as possible, 100% reliable detection is very difficult to ensure. It is best practice to run comprehensive tests before you migrate to a new PHP version.
The plugin was created by WP Engine to help the WordPress community increase adoption of modern PHP versions. We welcome contributors to this plugin, and are excited to see how developers and other WordPress hosts use this plugin.
To disclose security issues for this plugin please email WordPress@wpengine.com.
Slike ekrana
Instalacija
Note: Go to ‘Plugins’ > ‘Add New’ in the WordPress admin and search for “PHP Compatibility Checker” and install it from there.
To manually install:
1. Upload phpcompat
to the /wpengine-wp-content/plugins/
directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
You will find the plugin options in the WP Admin Tools => PHP Compatibility
menu. Once you click run
it will take a few minutes to conduct the test. Feel free to navigate away from the page and check back later.
ČPP
-
1. Will this work outside of the WP Engine hosting account?
-
Yes, this plugin can be used any ANY WordPress website on ANY host.
-
2. Are there WP-CLI commands available?
-
As of the 1.6.0 release this plugin no longer includes the
phpcompat
WP-CLI command. If you still require use of that command, then please run version 1.5.2 or older of this plugin as those versions extend WP-CLI and provide commands. -
3. A plugin I created is listed as not compatible, what should I do?
-
Mi održavamo bijelu listu dodatakakoje uzrokuju lažne pozitivne rezultate. Ako se vaš dodatak pokaže kao nekompatibilan, ali mislite da nije u redu, otvorite aGitHub pitanje na projektu ili pošaljite e-pismo na wordpress@wpengine.com s informacijama o vašem dodatku i zašto znate da je kompatibilan (imate automatizirane testove, neuspjeh je na povratnim putovima koda kompatibilnosti itd.).
-
4. Can I use this to test non-WordPress PHP Projects?
-
Yes! While you cannot use this WordPress plugin to test your non-WordPress projects, you can use the Open Source PHPCompatibility Library that this plugin is built on.
-
5. Why was my plugin/theme skipped?
-
If your plugin or theme is not available on WordPress.org, then Tide will not be able to scan or return results of that plugin or theme.
If your plugin or theme is available on WordPress.org, but Tide is not immediately returning results than it likely means Tide has not yet audited that plugin or theme and within a few minutes results should be available once Tide completes its audit.
-
6. The scan is stuck, what can I do?
-
As of version 1.6.0 of this plugin, there should no longer be issues of the scan getting stuck as it no longer runs on your WordPress host server. If you are seeing significantly slow or unresponsive results from a plugin or theme that is available on WordPress.org, then please open an issue with those details for the Tide team to investigate why that specific plugin or theme version is not appearing in the Tide results.
-
7. I found a bug, or have a suggestion, can I contribute back?
-
Yes! WP Engine has a public GitHub repo where you can contribute back to this plugin. Please open an issue on the Plugin GitHub. We actively develop this plugin, and are always happy to receive pull requests.
The plugin was created by WP Engine to help the WordPress community increase adoption of modern PHP versions. We welcome contributors to this plugin, and are excited to see how developers and other WordPress hosts use this plugin. To disclose security issues for this plugin please email WordPress@wpengine.com.
Recenzije
Saradnici i programeri
“Provjera kompatibilnosti PHP-a” is open source software. The following people have contributed to this plugin.
Doprinositelji“Provjera kompatibilnosti PHP-a” je prijeveden na 24 dijalekta. Zahvala prevodiocima za njihov doprinos.
Prevedi “Provjera kompatibilnosti PHP-a” na vaš jezik.
Zainteresirani za razvoj?
Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.
Zapis promijena
1.6.3
Fix issue where Buffer was not available to the scans.
1.6.2
- Update packages.
1.6.1
- Fix issue on update where old files were included.
1.6.0
- Changed from running PHP Compatibility scans on your WordPress server to using scan data from Tide.
- Removed
phpcompat
WP-CLI command. - Ažurirajte zavisnosti.
1.5.2
- Removed PHP 5.2 checks
- Fixed PHP 8 issue where plugin cannot cannot be uninstalled.
1.5.1
- Added Smart Plugin Manager to whitelisted plugins.
1.5.0
- Added support for PHP 7.3 compatibility checks.
1.4.8
- Ažurirajte zavisnosti.
1.4.7
- Bolja podrška za prevod.
1.4.6
- Prebačeno na novu PHPCompatibilityWP biblioteku da biste spriječili lažne pozitivne rezultate.
1.4.5
- Upotrijebite broj verzije dodatka za postavljanje skripti i stilova.
1.4.4
- PHP 5.2 Podrška & PHP 7.1 i 7.2. djelići
- Ažurirani bočni panel za poziv na djelo, ovisno o platformi.
1.4.3
- Popravili probleme sa Kompozitorom.
1.4.1
- Ažuriran PHP_CodeSniffer da popravi sigurnosno savijetovanje.
- Na bijeloj listi je dodatan određeni broj dodataka.
1.4.0
- Ažurirano UX za gledanje PHP grešaka je intuitivnije i zahtijeva manje prelistavanje.
- Dodani su linkovi za ne-tehničke korisnike kojima je potrebna pomoć programera da isprave PHP greške ili da testiraju svoju web lokaciju u okruženjima koja omogućavaju PHP 7.
1.3.2
- Dodano je dugme „Počisti“ i deinstall.php.
- Dodan je phpcompat_phpversions filter.
1.3.1
- Na bijeloj listi je dodatan određeni broj dodataka.
1.3.0
- Ažurirali biblioteku PHPCompatibility na najnoviju verziju. Treba popraviti mnoge lažne pozitivne rezultate.
- Promijenjen je jezik i dodan tekst za pomoć na korisničkom interfejsu upravitelja stranice.
1.2.4
- Popravili probleme sa Kompozitorom.
1.2.3
- Ažurirali biblioteku PHPCompatibility na najnoviju verziju.
- Dodali TablePress bijeloj listi.
1.2.2
- Dopunjena bijela lista sa UpdraftPlus i Max Mega Menu.
1.2.1
- Ažurirali biblioteku PHPCompatibility na najnoviju verziju.
1.2.0
- Ažurirali biblioteku PHPCompatibility na najnoviju verziju.
- Dodana podrška za PHP 5.6
1.1.2
- Riješen je problem s napomenama WordPress-a koji pravi prekid u zaglavlju dodatka.
- Promenjen način na koji šaljemo i raščlanjujemo JSON.
- Sada možete ponovo pokrenuti skeniranje u toku.
- Ažurirano download.js na v4.2 za bolju kompatibilnost sa Safarijem.
1.1.1
- Ispravljena greška s aktivnim prikazom posla.
- Ažurirano izračunavanje trake napretka.
1.1.0
- Rezultati testa sada su istrajni usprkos ponovnom čitanju stranice.
- Neuspjeli testovi prikazat će pregled rezultata.
- Istek vremena skeniranja sada je podesivo pomoću filtera. Pogledajte FAQ za više detalja.
1.0.3
- Fixed a bug in the WP-CLI command.
- Added a handful of PHP 7 compatible plugins to the whitelist.
1.0.2
- Added additional role protections.
- Changed the UI colors to better understand output at a glance.
- Exclude checking node_modules and tmp directories.
- Added support for child theme's parent theme.
1.0.1
- Updated compatibility library with a few bugfixes.
- Added skip logic to prevent checker from hanging.
1.0.0
- Major update to add PHP 7 checking support.
- Improved the UX of the progress bar.
- Fixed bug with the way the plugin menu was registered.
0.1.0
- Initial version.
- PHP 5.5, 5.4, and 5.3 Support.
- Basic WP-CLI Commands.