WordPress.org

Make WordPress Core

Changeset 49193

Timestamp:
10/18/2020 05:25:10 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Replace alias PHP functions with the canonical names.

Using the canonical function name for PHP functions is strongly recommended, as aliases may be deprecated or removed without (much) warning.

This replaces all uses of the following:

  • join() with implode()
  • sizeof() with count()
  • is_writeable() with is_writable()
  • doubleval() with a (float) cast

In part, this is a follow-up to #47746.

Props jrf.
See #50767.

Location:
trunk
Files:
61 edited

Changeset view not shown, since the total size (7.2 MB) exceeds 4.0 MB

Note: See TracChangeset for help on using the changeset viewer.