Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 3 years ago

#5634 closed enhancement (fixed)

Inline Documentation for category-template.php

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

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 19 years ago.
Incomplete documentation for category-template.php based off of r6597
5634.r8786.diff​ (10.7 KB ) - added by jacobsantos 18 years ago.
Updated patch for r8786.
5634.r8947.diff​ (10.7 KB ) - added by jacobsantos 18 years ago.
category-template.php skeleton inline documentation based off of r8947
5634.r8970.diff​ (19.1 KB ) - added by jacobsantos 18 years ago.
Complete inline documentation for category-template.php based off of r8970

Download all attachments as: .zip

Change History (14)

@darkdragon
19 years ago

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

#1 @anonymized_218323
18 years ago

  • Milestone 2.9 → 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
18 years ago

Updated patch for r8786.

#2 @jacobsantos
18 years ago

  • Priority normal → low
  • Severity normal → trivial

#3 @jacobsantos
18 years ago

  • Summary PHPdoc effort for category-template.php → Inline Documentation for category-template.php

@jacobsantos
18 years ago

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

#4 @jacobsantos
18 years ago

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

@jacobsantos
18 years ago

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

#5 @jacobsantos
18 years ago

  • Keywords commit added

Has complete inline documentation.

#6 @azaozz
18 years ago

  • Resolution → fixed
  • Status new → 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.


3 years 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:


3 years ago
#8

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

​@mukesh27 commented on ​PR #5650:


3 years 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.