Created
February 13, 2014 12:51
-
-
Save toddlahman/8974532 to your computer and use it in GitHub Desktop.
API Manager api_manager_extra_software_status_data filter hook function usage example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function api_manager_example_get_activation_info( $activation_info ) { | |
return $activation_info; | |
} | |
add_filter( 'api_manager_extra_software_status_data', 'api_manager_example_get_activation_info' ); |
@trueqap No changes are required for the date_to_time().
The error indicates the date string passed to date_to_time() was not properly formatted for the DateTime class.
https://www.php.net/manual/en/datetime.construct.php
https://www.php.net/manual/en/datetime.formats.php
There are methods that use date_to_time() in the API Manager that can serve as an example.
If you'd like to list the security issues here I'd be happy to look at them.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's really hard to reach you, Todd! I found some security issues in the API plugin. Where can I send them that isn't woo support? You're my role model, seriously. It even costs money if someone wants to write to you :D I love it...
Other bugs:
My fix: