Changeset 10047
- Timestamp:
- 07/10/2020 12:57:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/class-base.php
r9702 r10047 54 54 */ 55 55 function validate_plugin_slug_callback( $value ) { 56 return (bool)Plugin_Directory::get_plugin_post( $value );56 return is_string( $value ) && $value && Plugin_Directory::get_plugin_post( $value ); 57 57 } 58 58
Note: See TracChangeset
for help on using the changeset viewer.