Ticket #5510 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

File Level PHPdoc for compat.php

Reported by: darkdragon Owned by: westi
Priority: low Milestone: 2.5
Component: Optimization Version:
Severity: minor Keywords: phpdoc documentation has-patch
Cc:

Description

The PHP compat functions aren't technically part of the WordPress package and only provides working implementations for PHP installations that are lacking upgraded versions.

The patch adds file level documentation that points out that the file is for providing support for used PHP functions going back down to PHP 4.2. The patch also packages the functions in another namespace and makes the functions private.

None of the functions are documented since documentation can be found at php.net.

Attachments

compat.phpdoc.r6473.diff Download (427 bytes) - added by darkdragon 4 years ago.
adds file level phpdocumentation for compat.php

Change History

adds file level phpdocumentation for compat.php

  • Owner changed from anonymous to westi
  • Status changed from new to assigned
  • Status changed from assigned to closed
  • Resolution set to fixed

(In [6485]) Add file level documentation for compat.php. Fixes #5510 props darkdragon.

  • Summary changed from File Level PHPdoc for compat.phpp to File Level PHPdoc for compat.php
  • Milestone changed from 2.5 to 2.4

Dude. Awesome!

Note: See TracTickets for help on using tickets.