Make WordPress Core

Ticket #26196: 26196.3.diff

File 26196.3.diff, 945 bytes (added by kpdesign, 11 years ago)

Minor tweaks

  • src/wp-includes/class-wp-customize-section.php

     
    6666                if ( ! $this->check_capabilities() )
    6767                        return;
    6868
     69                /**
     70                 * Fires before rendering the supported Customizer sections.
     71                 *
     72                 * @since 3.4.0
     73                 *
     74                 * @param WP_Customize_Section $this The WP_Customize_Section object.
     75                 */
    6976                do_action( 'customize_render_section', $this );
    70                 do_action( 'customize_render_section_' . $this->id );
     77                /**
     78                 * Fires before rendering each supported Customizer section.
     79                 *
     80                 * The dynamic portion of the hook name, $this->id, refers to the ID
     81                 * of the supported Customizer section to be rendered.
     82                 *
     83                 * @since 3.4.0
     84                 */
     85                do_action( "customize_render_section_{$this->id}" );
    7186
    7287                $this->render();
    7388        }