Make WordPress Core

Ticket #27294: 27294.diff

File 27294.diff, 929 bytes (added by DrewAPicture, 12 years ago)
  • src/wp-includes/class-wp-customize-control.php

     
    179179                if ( ! $this->check_capabilities() )
    180180                        return;
    181181
     182                /**
     183                 * Fires just before the Customizer control is rendered.
     184                 *
     185                 * @since 3.4.0
     186                 *
     187                 * @param WP_Customize_Control $this WP_Customize_Control instance.
     188                 */
    182189                do_action( 'customize_render_control', $this );
     190
     191                /**
     192                 * Fires just before a specific Customizer control is rendered.
     193                 *
     194                 * The dynamic portion of the hook name, $this->id, refers to
     195                 * the ID of the control.
     196                 *
     197                 * @since 3.4.0
     198                 *
     199                 * @param WP_Customize_Control $this WP_Customize_Control instance.
     200                 */
    183201                do_action( 'customize_render_control_' . $this->id, $this );
    184202
    185203                $this->render();