Make WordPress Core


Ignore:
Timestamp:
07/20/2017 01:46:14 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @global entry for $wp_filesystem in wp_ajax_install_theme(), wp_ajax_update_theme(), wp_ajax_delete_theme(), wp_ajax_install_plugin(), wp_ajax_update_plugin(), and wp_ajax_delete_plugin().

Props ronakganatra.
Fixes #41382.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r40790 r41110  
    33593359 *
    33603360 * @see Theme_Upgrader
     3361 *
     3362 * @global WP_Filesystem_Base $wp_filesystem Subclass
    33613363 */
    33623364function wp_ajax_install_theme() {
     
    34663468 *
    34673469 * @see Theme_Upgrader
     3470 *
     3471 * @global WP_Filesystem_Base $wp_filesystem Subclass
    34683472 */
    34693473function wp_ajax_update_theme() {
     
    35513555 *
    35523556 * @see delete_theme()
     3557 *
     3558 * @global WP_Filesystem_Base $wp_filesystem Subclass
    35533559 */
    35543560function wp_ajax_delete_theme() {
     
    36193625 *
    36203626 * @see Plugin_Upgrader
     3627 *
     3628 * @global WP_Filesystem_Base $wp_filesystem Subclass
    36213629 */
    36223630function wp_ajax_install_plugin() {
     
    37183726 *
    37193727 * @see Plugin_Upgrader
     3728 *
     3729 * @global WP_Filesystem_Base $wp_filesystem Subclass
    37203730 */
    37213731function wp_ajax_update_plugin() {
     
    38213831 *
    38223832 * @see delete_plugins()
     3833 *
     3834 * @global WP_Filesystem_Base $wp_filesystem Subclass
    38233835 */
    38243836function wp_ajax_delete_plugin() {
Note: See TracChangeset for help on using the changeset viewer.