Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#57676 closed enhancement (invalid)

Object property is not in valid snake_case format

Reported by: madhusudan1825's profile madhusudan1825 Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Widgets Keywords: needs-patch
Focuses: coding-standards Cc:

Description

File path :

wp-includes/widgets/class-wp-widget-text.php

For the "nodeName" and "textContent" properties, need to rename for maintaining snake_case format as per the coding standard.

Change History (2)

#1 @audrasjb
8 months ago

  • Severity changed from major to minor

#2 @jrf
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Those properties are properties from the PHP native `DOMElement` class. Changing the case is not possible without first changing it in PHP itself.

In other words: the case of those properties should NOT be touched.

Note: See TracTickets for help on using tickets.