Make WordPress Core

Changeset 57452

Timestamp:
01/30/2024 06:03:42 PM (6 months ago)
Author:
jorbin
Message:

General: Backport polyfills for str_ends_with() and str_starts_with().

Uses src/wp-includes/functions.php becouse commiting to src/wp-includes/compat.php fails due to the presence of autoload.

Merges [52040], [56016], and [56015] to 4.7 branch.

Props ocean90, SergeyBiryukov, desrosj, joemcgill, jorbin, mukesh27.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-includes/functions.php

    r54566 r57452  
    55 * @package WordPress
    66 */
     7
     8
     9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
    758
    859require( ABSPATH . WPINC . '/option.php' );
Note: See TracChangeset for help on using the changeset viewer.