Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 7 months ago

#5634 closed enhancement (fixed)

Inline Documentation for category-template.php

Reported by: darkdragon's profile darkdragon Owned by: jacobsantos's profile jacobsantos
Milestone: 2.7 Priority: low
Severity: trivial Version:
Component: General Keywords: phpdoc has-patch commit has-unit-tests
Focuses: Cc:

Description

PHPdoc effort for wp-includes/category-template.php seeks to complete phpdoc style inline documentation.

Needed to complete:

  1. Short and Long Descriptions.
  2. @since version info
  3. parameter type and description.
  4. return type and description.

Attachments (4)

category-template.phpdoc.r6597.diff (8.4 KB) - added by darkdragon 16 years ago.
Incomplete documentation for category-template.php based off of r6597
5634.r8786.diff (10.7 KB) - added by jacobsantos 16 years ago.
Updated patch for r8786.
5634.r8947.diff (10.7 KB) - added by jacobsantos 16 years ago.
category-template.php skeleton inline documentation based off of r8947
5634.r8970.diff (19.1 KB) - added by jacobsantos 16 years ago.
Complete inline documentation for category-template.php based off of r8970

Download all attachments as: .zip

Change History (14)

@darkdragon
16 years ago

Incomplete documentation for category-template.php based off of r6597

#1 @santosj
16 years ago

  • Milestone changed from 2.9 to 2.7
  • Owner changed from anonymous to jacobsantos

I have a patch for this, which starts and completes a lot of the documentation. I should have this completed before 2.7 is released.

@jacobsantos
16 years ago

Updated patch for r8786.

#2 @jacobsantos
16 years ago

  • Priority changed from normal to low
  • Severity changed from normal to trivial

#3 @jacobsantos
16 years ago

  • Summary changed from PHPdoc effort for category-template.php to Inline Documentation for category-template.php

@jacobsantos
16 years ago

category-template.php skeleton inline documentation based off of r8947

#4 @jacobsantos
16 years ago

Skeleton inline documentation for category-template.php. The patch is based off of r8947.

@jacobsantos
16 years ago

Complete inline documentation for category-template.php based off of r8970

#5 @jacobsantos
16 years ago

  • Keywords commit added

Has complete inline documentation.

#6 @azaozz
16 years ago

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

(In [8975]) Complete inline documentation for category-template.php, props jacobsantos, fixes #5634

This ticket was mentioned in PR #5650 on WordPress/wordpress-develop by @flixos90.


7 months ago
#7

  • Keywords has-unit-tests added

The check for whether a theme shouldn't be covered in the old test_switch_theme() method may be inaccurate because:

  • The block-templates theme support for block themes is added dynamically via wp_enable_block_templates(), so checking for that isn't reliable.
  • The conditions used in wp_enable_block_templates() should be used instead.

Related to #5634.

Trac ticket:

@flixos90 commented on PR #5650:


7 months ago
#8

@mukeshpanchal27 So just to confirm, this PR fixes the PHPUnit test failures you got from TT4?

@mukesh27 commented on PR #5650:


7 months ago
#9

@mukeshpanchal27 So just to confirm, this PR fixes the PHPUnit test failures you got from TT4?

@felixarntz yes it will fixed the unit tests issue.

Note: See TracTickets for help on using tickets.