Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5510 closed enhancement (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (5)

adds file level phpdocumentation for compat.php

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

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

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

Dude. Awesome!

Note: See TracTickets for help on using tickets.