WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5510 closed enhancement (fixed)

File Level PHPdoc for compat.php

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

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 12 years ago.
adds file level phpdocumentation for compat.php

Download all attachments as: .zip

Change History (5)

@darkdragon
12 years ago

adds file level phpdocumentation for compat.php

#1 @westi
12 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

#2 @westi
12 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

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

#3 @darkdragon
12 years ago

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

#4 @darkdragon
12 years ago

Dude. Awesome!

Note: See TracTickets for help on using tickets.