Currently, class Puc_v4p9_Metadata raises a PHP notice when the response from the update server doesn't contain what the client library expects, such as the name and version entries. This notice can be superfluous, as in many cases there's already an error handling system in place to deal with this condition.
The notice is automatically hidden when the WP_DEBUG constant is not defined, but many live sites keep that notice on, causing the notice to appear in log files or to be shown to visitors. Adding a filter to allow 3rd parties to explicitly suppress the notice will allow to hide that notice as needed.
Currently, class
Puc_v4p9_Metadataraises a PHP notice when the response from the update server doesn't contain what the client library expects, such as thenameandversionentries. This notice can be superfluous, as in many cases there's already an error handling system in place to deal with this condition.The notice is automatically hidden when the
WP_DEBUGconstant is not defined, but many live sites keep that notice on, causing the notice to appear in log files or to be shown to visitors. Adding a filter to allow 3rd parties to explicitly suppress the notice will allow to hide that notice as needed.