Make WordPress Core

Ticket #60021: 60021.11.patch

File 60021.11.patch, 1.0 KB (added by shailu25, 3 years ago)

I have Added Global Documentation in wp-includes/rss.php & wp-includes/widgets.php

  • src/wp-includes/rss.php

    diff --git a/src/wp-includes/rss.php b/src/wp-includes/rss.php
    index 6d8941ab38..4d3f35e5cb 100644
    a b function _response_to_rss ($resp) {  
    631631 * Set up constants with default values, unless user overrides.
    632632 *
    633633 * @since 1.5.0
     634 *
     635 * @global string $wp_version The WordPress version string.
     636 *
    634637 * @package External
    635638 * @subpackage MagpieRSS
    636639 */
  • src/wp-includes/widgets.php

    diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php
    index 1f17a35808..564d5b9d82 100644
    a b function retrieve_widgets( $theme_changed = false ) {  
    13701370 * @since 4.9.0
    13711371 * @since 4.9.2 Always tries to restore widget assignments from previous data, not just if sidebars needed mapping.
    13721372 *
     1373 * @global array $wp_registered_sidebars The registered sidebars.
     1374 *
    13731375 * @param array $existing_sidebars_widgets List of sidebars and their widget instance IDs.
    13741376 * @return array Mapped sidebars widgets.
    13751377 */