Make WordPress Core

Ticket #50657: 50657.diff

File 50657.diff, 937 bytes (added by stevenlinx, 5 years ago)
  • src/wp-includes/theme.php

    diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php
    index 48ccd29013..36e11afd76 100644
    a b function _remove_theme_support( $feature ) { 
    29042904 *
    29052905 * @global array $_wp_theme_features
    29062906 *
    2907  * @param string $feature The feature being checked.
     2907 * @param string $feature {
     2908 *     The feature being checked.
     2909 *     
     2910 *     @type string $post-formats
     2911 *     @type string $post-thumbnails
     2912 *     @type string $custom-background
     2913 *     @type string $custom-header
     2914 *     @type string $menus
     2915 *     @type string $automatic-feed-links
     2916 *     @type string $html5
     2917 *     @type string $starter-content
     2918 *     @type string $customize-selective-refresh-widgets
     2919 * }
    29082920 * @param mixed  ...$args Optional extra arguments to be checked against certain features.
    29092921 * @return bool True if the current theme supports the feature, false otherwise.
    29102922 */