wp/wp-admin/includes/ms-deprecated.php
changeset 21 48c4eec2b7e6
parent 16 a86126ab1dd4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
   106  * Deprecated functionality for determining whether a file is deprecated.
   106  * Deprecated functionality for determining whether a file is deprecated.
   107  *
   107  *
   108  * @deprecated 3.5.0
   108  * @deprecated 3.5.0
   109  */
   109  */
   110 function ms_deprecated_blogs_file() {}
   110 function ms_deprecated_blogs_file() {}
       
   111 
       
   112 if ( ! function_exists( 'install_global_terms' ) ) :
       
   113 	/**
       
   114 	 * Install global terms.
       
   115 	 *
       
   116 	 * @since 3.0.0
       
   117 	 * @since 6.1.0 This function no longer does anything.
       
   118 	 * @deprecated 6.1.0
       
   119 	 */
       
   120 	function install_global_terms() {
       
   121 		_deprecated_function( __FUNCTION__, '6.1.0' );
       
   122 	}
       
   123 endif;
       
   124 
       
   125 /**
       
   126  * Synchronizes category and post tag slugs when global terms are enabled.
       
   127  *
       
   128  * @since 3.0.0
       
   129  * @since 6.1.0 This function no longer does anything.
       
   130  * @deprecated 6.1.0
       
   131  *
       
   132  * @param WP_Term|array $term     The term.
       
   133  * @param string        $taxonomy The taxonomy for `$term`.
       
   134  * @return WP_Term|array Always returns `$term`.
       
   135  */
       
   136 function sync_category_tag_slugs( $term, $taxonomy ) {
       
   137 	_deprecated_function( __FUNCTION__, '6.1.0' );
       
   138 
       
   139 	return $term;
       
   140 }