Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2182 closed defect (bug) (fixed)

Incorrect semicolon in a PHP code snippet

Reported by: fahidjavid's profile fahidjavid Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:



I have found an unnecessary semicolon in a PHP code snippet while I was using Customizer API to add customizer control in my project.

If you find the following code on this page

  new WP_Customize_Color_Control(
    $wp_customize, // WP_Customize_Manager
    'accent_color', // Setting id
    array( // Args, including any custom ones.
      'label' => __( 'Accent Color' ),
      'section' =>; 'colors',

You can see the unnecessary semicolon next to the 'section' => parameter.

Here is the related screenshot:

Thank you,


Change History (2)

#1 @DrewAPicture
8 years ago

  • Keywords reporter-feedback removed
  • Resolution set to fixed
  • Status changed from new to closed

Hi @fahidjavid, welcome to Meta Trac! The code snippet has been fixed.

#2 @fahidjavid
8 years ago

Hi @DrewAPicture, thank you :)

Note: See TracTickets for help on using tickets.