WordPress.org

Make WordPress Core

Changeset 49108

Timestamp:
10/08/2020 09:13:57 PM (12 months ago)
Author:
SergeyBiryukov
Message:

General: Replace older-style PHP type conversion functions with type casts.

This improves performance, readability, and consistency throughout core.

  • intval()(int)
  • strval()(string)
  • floatval()(float)

Props ayeshrajans.
Fixes #42918.

Location:
trunk
Files:
94 edited

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

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