Releases: ZeekInteractive/wp-utils
Releases · ZeekInteractive/wp-utils
Add table check function
v2.5.2 Add table checking function
2.5.0
- Add generate_unique_username() function
- Fix wpdb_prepare arguments
Add wpdb helper functions
Adds wrapper functions for the respective $wpdb
methods, which adds the following functionality:
- Does not output SQL errors to the page, even when
WP_DEBUG
is enabled. (Normally SQL errors are always output to the page when WP_DEBUG is enabled, which may be undesirable even during development.) - Throws an exception when an SQL error occurs. This allows for easier/better error handling.
- Allows for a simpler syntax for calling
$wpdb
methods without having to import the$wpdb
global variable into application functions.
Throw exception on failure to find safe email
v2.2.1 Update safe-mail.php
Safe Mail
Add a wp_mail wrapper that allows us to limit what emails are sent on non-production environments.
Prevent accidental sends to real users on staging/dev/local environments.
Inline SVG should accept a full path
2.1.7 Update misc.php
get_iso_date_time
Added a function to return ISO time with local time offset. Split date functions into their own file.
Use var
2.1.5 Update Sentry.php
sentry support
Merge pull request #4 from ZeekInteractive/develop Add sentry support
Sentry support
2.1.3 Update package.php