Error messages when debugging
-
Hello,
your plugin outputs error messages when debugging is enabled (WP_DEBUG set to true)These are in croatian, but I believe you will understand: `Notice: register_rest_route je neispravno pozvan. Definiciji REST API rute za userway/v1/debug nedostaje neophodni argument permission_callback. Za REST API rute koje su namijenjene javnosti, koristite __return_true kao povratni poziv. Pro?itajte Debugging in WordPress za vi?e informacija. (Ova poruka je dodana u ina?ici 5.5.0.) in C:\Wamp.NET\sites\etnografski\wp-includes\functions.php on line 5663
Notice: register_rest_route je neispravno pozvan. Definiciji REST API rute za userway/v1/fix nedostaje neophodni argument permission_callback. Za REST API rute koje su namijenjene javnosti, koristite __return_true kao povratni poziv. Pro?itajte Debugging in WordPress za vi?e informacija. (Ova poruka je dodana u ina?ici 5.5.0.) in C:\Wamp.NET\sites\etnografski\wp-includes\functions.php on line 5663`
Generally, register_rest_route call was a little changed and now it requires permission_callback among array arguments. You should return __return_true if this is a public api.
- The topic ‘Error messages when debugging’ is closed to new replies.