PHP Compatibility Checker

Beschrijving

De WP Engine PHP Compatibility Checker kan gebruikt worden voor iedere WordPress site op iedere webhost om de compatibiliteit van de PHP versie te controleren.

Deze plugin lint thema en plugin code geïnstalleerd op je WordPress site en geeft je een rapport van compatibiliteitsproblemen zoals gerapporteerd door Tide voor je om op te lossen. Compatibiliteitsproblemen worden gecategoriseerd in fouten en waarschuwingen en vermelden het bestand en regelnummer van de overtredende code, evenals informatie over waarom die regel code incompatibel is met de gekozen versie van PHP. De plugin stelt ook updates van thema’s en plugins voor, omdat een nieuwe versie compatibele code kan bieden.

Deze plugin voert de code van je thema en plugin niet uit en kan daarom geen runtime compatibiliteitsproblemen ontdekken.

Houd er rekening mee dat de code niet perfect is. Deze plugin kan geen ongebruikte coderingspaden ontdekken die mogelijk gebruikt worden voor achterwaartse compatibiliteit en derhalve zgn. valse positieven kunnen weergeven. We onderhouden een witboek van plugins die valse positieven kunnen veroorzaken. We werken er constant aan om ervoor te zorgen dat de checker voor de hoogst mogelijk accurate resultaten zorgt.

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 naar PHP 7.4

  • Gebruik deze plugin om je site te controleren op compatibiliteit tot en met PHP 8.0!
  • Volgens July 2022, draait 8.52% van WordPress websites met een PHP versie ouder dan PHP 7.0.
  • Deze versies van PHP zijn verouderd en niet meer ondersteund voor meer dan 2 jaar.
  • Slechts 7.1% van de WordPress sites draaien met PHP 8, de huidige gangbare versie van PHP.

Disclaimer

Hoewel deze plugin is geschreven om zoveel mogelijk problemen zo accuraat mogelijk te ontdekken is 100% betrouwbare ontdekking erg moeilijk te verwezenlijken. Uitvoering van uitgebreide tests wordt aanbevolen alvorens te migreren naar een nieuwe PHP versie.

De plugin is ontwikkeld door WP Engine om de WordPress community te helpen de adoptie van moderne PHP versies uit te breiden. We welcome contributorsverwelkomen bijdragers voor deze plugin, en zijn opgewonden nieuwsgierig te vernemen hoe ontwikkelaars en andere WordPress hosts deze plugin gebruiken.

Om beveiligingsproblemen voor deze plugin te melden, stuur een e-mail naar WordPress@wpengine.com.

Schermafdrukken

  • Algemeen scherm: compatibiliteit checker opties
  • Compatibiliteit resultaten scherm

Installatie

Note: Go to ‘Plugins’ > ‘Add New’ in the WordPress admin and search for “PHP Compatibility Checker” and install it from there.

Voor handmatige installatie:
1. Upload phpcompat naar de /wpengine-wp-content/plugins/ directory
2. Activeer de plugin in het ‘Plugins’ menu in WordPress

Je vindt de plugin opties in WP Beheer Tools => PHP Compatibility menu. Nadat je op run geklikt hebt duurt het een aantal minuten om de test uit te voeren. Voel je vrij om ondertussen een andere taak uit te voeren en de resultaten van de test later te bekijken.

FAQ

1. Werkt dit ook buiten het WP Engine hosting account?

Ja, deze plugin kan gebruikt worden op IEDERE WordPress site op IEDERE host.

2. Zijn er WP-CLI commando’s beschikbaar?

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. Een plugin die ik maakte wordt aangemerkt als niet compatibel, wat moet ik doen?

We onderhouden een witboek van plugins die valse positieven veroorzaken. Indien je plugin als incompatibel wordt aangemerkt en je denkt dat dit niet juist is, open s.v.p. een GitHub issue op het project, of zend een email naar wordpress@wpengine.com met informatie over je plugin en waarom je weet dat deze compatibel is (aan de hand van testen, de fout wordt veroorzaakt door achterwaartse compatibiliteits coderingspaden, etc).

4. Kan ik deze gebruiken om non-WordPress PHP projecten te testen?

Ja! Hoewel je deze WordPress plugin niet kunt gebruiken om je non-WordPress projecten te testen, kan je gebruik maken van de Open Source PHPCompatibility Library waarop deze plugin is gebouwd.

5. Waarom werd mijn plugin/thema overgeslagen?

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. De scan loopt vast, wat kan ik doen?

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. Ik heb een bug gevonden, of een suggestie, kan ik bijdragen?

Ja! WP Engine heeft een openbare GitHub repo waarop je kunt bijdragen aan deze plugin. Open een kwestie op de Plugin GitHub. We ontwikkelen deze plugin actief en we zijn altijd blij om je uitdagende verzoeken te ontvangen.

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.

Beoordelingen

27 oktober 2023
It hangs like many others say. No replies on the forum. You're giving people false hope.Just get it offline and focus on your other plugins (which are working very well, btw); you'll do yourself and many others a favor.
19 mei 2023
ran the plugin on quite a few sites and most timeout after a couple of plugins are tested. Lots of false positives and errors. surely there is a better plugin out there?
9 mei 2023
Useless! Gives a 404 error on plugins that ARE PHP 8 compatible. and then hangs. I've been waiting 30 minutes for it to unhang, and I finally gave up. It sure would be nice if this thing worked as advertised. Here's what I got: MaxButtons Pro 9.5.5 Response status: 404 Message: The audit requested does not exist. Am I supposed to know what that means? How do I fix it? Right now it's completely useless, and it hangs the software -- never goes any farther to get to the rest of my plugins. Not a bit of help as is.
25 april 2023
Rates several themes and plugins as compatible, which definitely are not and have crashed under newer PHP versions (Random Text 0.3.0, WP Bakery 6.0.5, Slideshow 2.3.1 (dereg'd since Apr '22)) -- and has rated several themes and plugins as incompatible which seem to work fine under PHP 7.4 previous versions (Duplicator 1.5.3.1, LayerSlider WP 6.8.2, UpdraftPlus - Backup/Restore 1.23.3, WP Mail SMTP 3.7.0). So to have false evals of plugins and themes, both directions, makes this a useless tool and a waste of time. It's a great idea of course, but with the errors I've seen it means it can't even be relied upon to give some clues in a PHP problem hunt. If I'm missing something will happily change my tune -- because like ChatGPT, it sure gives some attractive, confident-looking answers! And linting ought not be so buggy as all this. Truly quite surprised.
19 april 2023
Obviously the website's current php is working or the website wouldn't render. But you have no way to check future php versions and website compatibility. I wanted to see if my website would be compatible to PHP 8.0. This plugin redirects you to LocalWP .... whatever that is.
7 april 2023
WordPress 6.2.0PHP 8.0 and 8.1PHP CC Plugin 1.6.1 Although plugin page says: "check your site for compatibility up to PHP 7.4!", I found when using the plugin it will automatically use whatever PHP version the site is using--up to PHP v8.0. Tried using 8.0 and then 8.1 but the results showed were still only up to 8.0. No errors, no problems, just results I could use. Based on screenshots shown on the plugin page, the new interface is very nice, make one choice then go. This is a no maintenance plugin - bonus!
Lees alle 130 beoordelingen

Bijdragers & ontwikkelaars

“PHP Compatibility Checker” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“PHP Compatibility Checker” is vertaald in 22 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “PHP Compatibility Checker” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

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.
  • Update afhankelijkheden.

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

  • Toegevoegd ondersteuning voor PHP 7.3 compatibiliteit controles.

1.4.8

  • Update afhankelijkheden.

1.4.7

  • Betere vertalingsondersteuning.

1.4.6

  • Overgeschakeld naar nieuwe PHPCompatibilityWP bibliotheek om valse positieven te voorkomen.

1.4.5

  • Gebruik het plugin versie nummer om scripts en stijlen te enqueuen.

1.4.4

  • PHP 5.2 ondersteuning & PHP 7.1 en 7.2 lints.
  • Verbeterde call om zijbalk afhankelijkheid op het platform te activeren.

1.4.3

  • Opgelost Composer probleem.

1.4.1

  • Verbeterde PHP_CodeSniffer om een veiligheidsaanbeveling op te lossen.
  • Een aantal plugins opgenomen in de toegestane lijst.

1.4.0

  • Verbeterde UX voor het bekijken van PHP fouten voor meer intuitiviteit en en verminderde noodzaak voor scrolling.
  • Toegevoegde links voor niet-technische gebruikers die hulp nodig hebben van ontwikkelaars om PHP fouten op te lossen of hun site in PHP 7 ingeschakelde hosting omgevingen te testen.

1.3.2

  • Toegevoegd: Een “Clean up” button en uninstall.php.
  • Toegevoegd phpcompat_phpversions filter.

1.3.1

  • Een aantal plugins opgenomen in de toegestane lijst.

1.3.0

  • Updated de PHPCompatibility bibliotheek naar de laatste versie. Zou de meeste valse positieven moeten fixen.
  • Gewijzigde taal en toegevoegde help tekst in beheer UI.

1.2.4

  • Opgelost Composer probleem.

1.2.3

  • Updated the PHPCompatibility library to latest version.
  • Whitelisted TablePress.

1.2.2

  • Whitelisted UpdraftPlus and Max Mega Menu.

1.2.1

  • Updated the PHPCompatibility library to latest version.

1.2.0

  • Updated the PHPCompatibility library to latest version.
  • Added support for PHP 5.6

1.1.2

  • Fixed issue with WordPress notices breaking the plugin header.
  • Changed the way we send and parse JSON.
  • You can now restart an in progress scan.
  • Updated download.js to v4.2 for better Safari compatibility.

1.1.1

  • Fixed bug with active job display.
  • Updated progress bar calculation.

1.1.0

  • Test results now persist page reloads.
  • Failed tests will show an overview of the results.
  • The scan timeout is now configurable using a filter. See the FAQ for more details.

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.