Make WordPress Core

Changeset 40922


Ignore:
Timestamp:
06/22/2017 05:47:47 PM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions:

  • post_form_autocomplete_off()
  • _rotate_image_resource()
  • _flip_image_resource()
  • wp_get_sites()
  • deactivate_sitewide_plugin()

Props jrf.
See #41121.

Location:
trunk/src
Files:
4 edited

Legend:

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

    r40607 r40922  
    14651465 *
    14661466 * @since 4.0.0
    1467  * $deprecated 4.6.0
     1467 * @deprecated 4.6.0
     1468 *
     1469 * @link https://core.trac.wordpress.org/ticket/35852
    14681470 *
    14691471 * @global bool $is_safari
  • trunk/src/wp-admin/includes/image-edit.php

    r39314 r40922  
    381381 *
    382382 * @since 2.9.0
     383 * @deprecated 3.5.0 Use WP_Image_Editor::rotate()
     384 * @see WP_Image_Editor::rotate()
    383385 *
    384386 * @ignore
     
    403405 *
    404406 * @since 2.9.0
     407 * @deprecated 3.5.0 Use WP_Image_Editor::flip()
     408 * @see WP_Image_Editor::flip()
    405409 *
    406410 * @ignore
  • trunk/src/wp-admin/includes/ms-deprecated.php

    r37985 r40922  
    5858 * Deprecated functionality for deactivating a network-only plugin.
    5959 *
    60  * @deprecated 3.0.0 Use deactivate_sitewide_plugin()
    61  * @see deactivate_sitewide_plugin()
     60 * @deprecated 3.0.0 Use deactivate_plugin()
     61 * @see deactivate_plugin()
    6262 */
    6363function deactivate_sitewide_plugin( $plugin = false ) {
  • trunk/src/wp-includes/ms-deprecated.php

    r40372 r40922  
    445445 *
    446446 * @since 3.7.0
    447  * @deprecated 4.6.0
     447 * @deprecated 4.6.0 Use get_sites()
    448448 * @see get_sites()
    449449 *
Note: See TracChangeset for help on using the changeset viewer.