WordPress.org

Make WordPress Core

#24363 closed defect (bug) (fixed)

Twenty Thirteen: Phpdoc param descriptions in back-compat.php

Reported by: DrewAPicture Owned by: lancewillett
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description (last modified by DrewAPicture)

Patch adds param descriptions for twentythirteen_switch_theme() in /inc/back-compat.php

Attachments (2)

24363.patch (741 bytes) - added by DrewAPicture 11 months ago.
24363.2.patch (564 bytes) - added by DrewAPicture 11 months ago.
phpdoc

Download all attachments as: .zip

Change History (6)

DrewAPicture11 months ago

comment:1 DrewAPicture11 months ago

  • Description modified (diff)
  • Summary changed from Twenty Thirteen: Phpdoc param descriptions in back-compat.php to Twenty Thirteen: Remove unused param in twentythirteen_switch_theme()

comment:2 SergeyBiryukov11 months ago

theme_name cannot be removed. after_switch_theme action passes the old theme object as the second argument: tags/3.5.1/wp-includes/theme.php#L1612.

comment:3 DrewAPicture11 months ago

  • Description modified (diff)
  • Summary changed from Twenty Thirteen: Remove unused param in twentythirteen_switch_theme() to Twenty Thirteen: Phpdoc param descriptions in back-compat.php

Yeah, oops on the number of args passed to the filter. Changing back to original title/desc.

DrewAPicture11 months ago

phpdoc

comment:4 lancewillett11 months ago

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

In 24307:

Twenty Thirteen: PHPDoc improvements for back-compat file, props DrewAPicture. Fixes #24363.

Note: See TracTickets for help on using tickets.