Make WordPress Core

Ticket #57069: 57069.6.patch

File 57069.6.patch, 2.7 KB (added by upadalavipul, 17 months ago)
  • wp-includes/deprecated.php

     
    5757 *
    5858 * @since 1.0.1
    5959 * @deprecated 1.5.0
     60 *
     61 * @global WP_Query $wp_query WordPress Query object.
     62 *
    6063 */
    6164function start_wp() {
    6265        global $wp_query;
     
    98101 * @since 0.71
    99102 * @deprecated 0.71 Use get_the_category_by_ID()
    100103 * @see get_the_category_by_ID()
     104 *
     105 * @global $currentcat
     106 * @global $previouscat
    101107 *
    102108 * @param string $before Optional. Text to display before the category. Default empty.
    103109 * @param string $after  Optional. Text to display after the category. Default empty.
     
    22162222 * @since 2.0.0
    22172223 * @deprecated 3.0.0 Use delete_user_meta()
    22182224 * @see delete_user_meta()
     2225 *
     2226 * @global wpdb $wpdb WordPress database abstraction object.
    22192227 *
    22202228 * @param int $user_id User ID.
    22212229 * @param string $meta_key Metadata key.
     
    22632271 * @since 2.0.0
    22642272 * @deprecated 3.0.0 Use get_user_meta()
    22652273 * @see get_user_meta()
     2274 *
     2275 * @global wpdb $wpdb WordPress database abstraction object.
    22662276 *
    22672277 * @param int $user_id User ID
    22682278 * @param string $meta_key Optional. Metadata key. Default empty.
     
    23152325 * @since 2.0.0
    23162326 * @deprecated 3.0.0 Use update_user_meta()
    23172327 * @see update_user_meta()
     2328 *
     2329 * @global wpdb $wpdb WordPress database abstraction object.
    23182330 *
    23192331 * @param int $user_id User ID
    23202332 * @param string $meta_key Metadata key.
     
    27522764 *
    27532765 * @since 2.8.0
    27542766 * @deprecated 3.3.0
     2767 *
     2768 * @global WP_Post $post Global post object.
    27552769 *
    27562770 * @param string $title Optional. Link title format. Default '%title'.
    27572771 * @return string
     
    28552869 * @since 0.71
    28562870 * @deprecated 3.4.0 Use error_log()
    28572871 * @see error_log()
     2872 *
     2873 * @global $debug
    28582874 *
    28592875 * @link https://www.php.net/manual/en/function.error-log.php
    28602876 *
     
    28922908 * @since 1.5.0
    28932909 * @deprecated 3.4.0 Use wp_get_themes()
    28942910 * @see wp_get_themes()
     2911 *
     2912 * @global $wp_themes
    28952913 *
    28962914 * @return array Theme list with theme data.
    28972915 */
     
    33933411 *
    33943412 * @since 2.1.0
    33953413 * @deprecated 3.9.0
     3414 *
     3415 * @global $wp_rich_edit_exists
    33963416 *
    33973417 * @return bool Whether TinyMCE exists.
    33983418 */
     
    40604080 * @deprecated 5.5.0 Use add_allowed_options() instead.
    40614081 *                   Please consider writing more inclusive code.
    40624082 *
    4063  * @global array $allowed_options
    4064  *
    40654083 * @param array        $new_options
    40664084 * @param string|array $options
    40674085 * @return array
     
    40794097 * @deprecated 5.5.0 Use remove_allowed_options() instead.
    40804098 *                   Please consider writing more inclusive code.
    40814099 *
    4082  * @global array $allowed_options
    4083  *
    40844100 * @param array        $del_options
    40854101 * @param string|array $options
    40864102 * @return array