Make WordPress Core


Ignore:
Timestamp:
07/30/2017 03:30:34 PM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Document use of the $wpdb and $wp_customize globals in _wp_customize_publish_changeset().

Props sagarladani for the initial patch.
Fixes #41479.

File:
1 edited

Legend:

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

    r41174 r41192  
    28242824 * Publish a snapshot's changes.
    28252825 *
     2826 * @global wpdb                 $wpdb         WordPress database abstraction object.
     2827 * @global WP_Customize_Manager $wp_customize Customizer instance.
     2828 *
    28262829 * @param string  $new_status     New post status.
    28272830 * @param string  $old_status     Old post status.
Note: See TracChangeset for help on using the changeset viewer.