Ticket #57069: 57069.6.patch
File 57069.6.patch, 2.7 KB (added by , 2 years ago) |
---|
-
wp-includes/deprecated.php
57 57 * 58 58 * @since 1.0.1 59 59 * @deprecated 1.5.0 60 * 61 * @global WP_Query $wp_query WordPress Query object. 62 * 60 63 */ 61 64 function start_wp() { 62 65 global $wp_query; … … 98 101 * @since 0.71 99 102 * @deprecated 0.71 Use get_the_category_by_ID() 100 103 * @see get_the_category_by_ID() 104 * 105 * @global $currentcat 106 * @global $previouscat 101 107 * 102 108 * @param string $before Optional. Text to display before the category. Default empty. 103 109 * @param string $after Optional. Text to display after the category. Default empty. … … 2216 2222 * @since 2.0.0 2217 2223 * @deprecated 3.0.0 Use delete_user_meta() 2218 2224 * @see delete_user_meta() 2225 * 2226 * @global wpdb $wpdb WordPress database abstraction object. 2219 2227 * 2220 2228 * @param int $user_id User ID. 2221 2229 * @param string $meta_key Metadata key. … … 2263 2271 * @since 2.0.0 2264 2272 * @deprecated 3.0.0 Use get_user_meta() 2265 2273 * @see get_user_meta() 2274 * 2275 * @global wpdb $wpdb WordPress database abstraction object. 2266 2276 * 2267 2277 * @param int $user_id User ID 2268 2278 * @param string $meta_key Optional. Metadata key. Default empty. … … 2315 2325 * @since 2.0.0 2316 2326 * @deprecated 3.0.0 Use update_user_meta() 2317 2327 * @see update_user_meta() 2328 * 2329 * @global wpdb $wpdb WordPress database abstraction object. 2318 2330 * 2319 2331 * @param int $user_id User ID 2320 2332 * @param string $meta_key Metadata key. … … 2752 2764 * 2753 2765 * @since 2.8.0 2754 2766 * @deprecated 3.3.0 2767 * 2768 * @global WP_Post $post Global post object. 2755 2769 * 2756 2770 * @param string $title Optional. Link title format. Default '%title'. 2757 2771 * @return string … … 2855 2869 * @since 0.71 2856 2870 * @deprecated 3.4.0 Use error_log() 2857 2871 * @see error_log() 2872 * 2873 * @global $debug 2858 2874 * 2859 2875 * @link https://www.php.net/manual/en/function.error-log.php 2860 2876 * … … 2892 2908 * @since 1.5.0 2893 2909 * @deprecated 3.4.0 Use wp_get_themes() 2894 2910 * @see wp_get_themes() 2911 * 2912 * @global $wp_themes 2895 2913 * 2896 2914 * @return array Theme list with theme data. 2897 2915 */ … … 3393 3411 * 3394 3412 * @since 2.1.0 3395 3413 * @deprecated 3.9.0 3414 * 3415 * @global $wp_rich_edit_exists 3396 3416 * 3397 3417 * @return bool Whether TinyMCE exists. 3398 3418 */ … … 4060 4080 * @deprecated 5.5.0 Use add_allowed_options() instead. 4061 4081 * Please consider writing more inclusive code. 4062 4082 * 4063 * @global array $allowed_options4064 *4065 4083 * @param array $new_options 4066 4084 * @param string|array $options 4067 4085 * @return array … … 4079 4097 * @deprecated 5.5.0 Use remove_allowed_options() instead. 4080 4098 * Please consider writing more inclusive code. 4081 4099 * 4082 * @global array $allowed_options4083 *4084 4100 * @param array $del_options 4085 4101 * @param string|array $options 4086 4102 * @return array