Changeset 56804
- Timestamp:
- 10/09/2023 02:47:57 PM (10 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r56635 r56804 127 127 $userpass = base64_decode( $token ); 128 128 129 list( $user, $pass ) = explode( ':', $userpass ); 129 // There must be at least one colon in the string. 130 if ( ! str_contains( $userpass, ':' ) ) { 131 return; 132 } 133 134 list( $user, $pass ) = explode( ':', $userpass, 2 ); 130 135 131 136 // Now shove them in the proper keys where we're expecting later on. -
trunk/tests/phpunit/tests/auth.php
r56454 r56804 845 845 ); 846 846 } 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 847 889 }
Note: See TracChangeset
for help on using the changeset viewer.