Make WordPress Core


Ignore:
Timestamp:
07/14/2014 12:35:43 AM (10 years ago)
Author:
DrewAPicture
Message:

Inline documentation cleanup for 4.0 audit.

phpDoc tweaks for methods added in [28861]:

  • WP_Customize_Manager::panels() method
  • WP_Customize_Manager::add_panel() method
  • WP_Customize_Manager::get_panel() method
  • WP_Customize_Manager::remove_panel() method

Added in [28970]:

  • WP_Customize_Manager::customize_preview_override_404_status() method

See #27406 and #28885.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r29103 r29157  
    320320     *
    321321     * @since 4.0.0
    322      *
    323      * @return array
     322     * @access public
     323     *
     324     * @return array Panels.
    324325     */
    325326    public function panels() {
     
    434435     *
    435436     * @since 4.0.0
     437     * @access public
    436438     */
    437439    public function customize_preview_override_404_status() {
     
    681683     *
    682684     * @since 4.0.0
     685     * @access public
    683686     *
    684687     * @param WP_Customize_Panel|string $id   Customize Panel object, or Panel ID.
    685      * @param array                     $args Panel arguments.
     688     * @param array                     $args Optional. Panel arguments. Default empty array.
    686689     */
    687690    public function add_panel( $id, $args = array() ) {
     
    700703     *
    701704     * @since 4.0.0
    702      *
    703      * @param string $id Panel ID.
    704      * @return WP_Customize_Panel
     705     * @access public
     706     *
     707     * @param string $id Panel ID to get.
     708     * @return WP_Customize_Panel Requested panel instance.
    705709     */
    706710    public function get_panel( $id ) {
     
    714718     *
    715719     * @since 4.0.0
    716      *
    717      * @param string $id Panel ID.
     720     * @access public
     721     *
     722     * @param string $id Panel ID to remove.
    718723     */
    719724    public function remove_panel( $id ) {
Note: See TracChangeset for help on using the changeset viewer.