mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12537 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -246,6 +246,9 @@ function the_excerpt() {
|
||||
* @return string
|
||||
*/
|
||||
function get_the_excerpt($deprecated = '') {
|
||||
if ( !empty( $deprecated ) )
|
||||
_deprecated_argument(__FUNCTION__, 'deprecated', '2.3');
|
||||
|
||||
global $post;
|
||||
$output = $post->post_excerpt;
|
||||
if ( post_password_required($post) ) {
|
||||
|
||||
Reference in New Issue
Block a user