WordPress.org

Make WordPress Core

Changeset 26046


Ignore:
Timestamp:
11/08/2013 02:19:22 AM (7 years ago)
Author:
dd32
Message:

Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468. Fixes #25874

File:
1 edited

Legend:

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

    r25934 r26046  
    136136    $key = md5( serialize( $r ) );
    137137    if ( $cache = wp_cache_get( 'get_bookmarks', 'bookmark' ) ) {
    138         if ( is_array($cache) && isset( $cache[ $key ] ) )
     138        if ( is_array($cache) && isset( $cache[ $key ] ) ) {
    139139            $bookmarks = $cache[ $key ];
    140140            /**
     
    154154             */
    155155            return apply_filters( 'get_bookmarks', $bookmarks, $r );
     156        }
    156157    }
    157158
Note: See TracChangeset for help on using the changeset viewer.