Make WordPress Core


Ignore:
Timestamp:
07/06/2016 12:39:01 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core.

Props metodiew.
Fixes #36495.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.wp-scripts.php

    r37543 r37985  
    4444        '<code>admin_enqueue_scripts</code>',
    4545        '<code>login_enqueue_scripts</code>'
    46     ), '3.3' );
     46    ), '3.3.0' );
    4747}
    4848
     
    113113            '<code>&lt;script&gt;</code>',
    114114            '<code>wp_add_inline_script()</code>'
    115         ), '4.5' );
     115        ), '4.5.0' );
    116116        $data = trim( preg_replace( '#<script[^>]*>(.*)</script>#is', '$1', $data ) );
    117117    }
     
    227227            $message = sprintf( __( 'Do not deregister the %1$s script in the administration area. To target the front-end theme, use the %2$s hook.' ),
    228228                "<code>$handle</code>", '<code>wp_enqueue_scripts</code>' );
    229             _doing_it_wrong( __FUNCTION__, $message, '3.6' );
     229            _doing_it_wrong( __FUNCTION__, $message, '3.6.0' );
    230230            return;
    231231        }
Note: See TracChangeset for help on using the changeset viewer.