Changeset 11918
- Timestamp:
- 06/15/2022 11:53:36 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/tools/class-svn.php
r10207 r11918 445 445 446 446 // Prefix options with `-` or `--` if they're longer than 2 characters. 447 if ( '-' != substr( $key, 0, 1) ) {447 if ( ! str_starts_with( $key, '-' ) ) { 448 448 $key = '-' . ( strlen( $key ) > 2 ? '-' : '' ) . $key; 449 449 }
Note: See TracChangeset
for help on using the changeset viewer.