WordPress.org

Make WordPress Core

Ticket #41094: 41094.diff

File 41094.diff, 1.0 KB (added by milindmore22, 3 years ago)
  • src/wp-includes/deprecated.php

    diff --git src/wp-includes/deprecated.php src/wp-includes/deprecated.php
    index 027194a..cfc0bf0 100644
    function is_blog_user( $blog_id = 0 ) { 
    28252825 * @return false Always false.
    28262826 */
    28272827function debug_fopen( $filename, $mode ) {
    2828         _deprecated_function( __FUNCTION__, 'error_log()' );
     2828        _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
    28292829        return false;
    28302830}
    28312831
    function debug_fopen( $filename, $mode ) { 
    28422842 * @param string $string Message to log.
    28432843 */
    28442844function debug_fwrite( $fp, $string ) {
    2845         _deprecated_function( __FUNCTION__, 'error_log()' );
     2845        _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
    28462846        if ( ! empty( $GLOBALS['debug'] ) )
    28472847                error_log( $string );
    28482848}
    function debug_fwrite( $fp, $string ) { 
    28592859 * @param mixed $fp Unused.
    28602860 */
    28612861function debug_fclose( $fp ) {
    2862         _deprecated_function( __FUNCTION__, 'error_log()' );
     2862        _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
    28632863}
    28642864
    28652865/**