Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#57676 closed enhancement (invalid)

Object property is not in valid snake_case format

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

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
4 years ago

  • Severity majorminor

#2 @jrf
4 years ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

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.