Make WordPress Core

Changeset 33758


Ignore:
Timestamp:
08/26/2015 08:00:35 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Add inline-docblocks for the require_once() calls that now bring in the WP_Widget and WP_Widget_Factory classes, as well as general core widgets functionality, as of [33746].

See [33746]. See #33413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets.php

    r33746 r33758  
    22/**
    33 * API for creating dynamic sidebar without hardcoding functionality into
    4  * themes. Includes both internal WordPress routines and theme use routines.
     4 * themes
     5 *
     6 * Includes both internal WordPress routines and theme use routines.
    57 *
    68 * This functionality was found in a plugin before WordPress 2.2 release which
     
    1416 */
    1517
    16 /* Global Variables */
     18//
     19// Global Variables
     20//
    1721
    1822/** @ignore */
     
    8488);
    8589
     90/** WP_Widget class */
    8691require_once( ABSPATH . WPINC . '/class-wp-widget.php' );
     92
     93/** WP_Widget_Factory class */
    8794require_once( ABSPATH . WPINC . '/class-wp-widget-factory.php' );
     95
     96/** Core widgets functionality */
    8897require_once( ABSPATH . WPINC . '/widget-functions.php' );
Note: See TracChangeset for help on using the changeset viewer.