Making WordPress.org

Changeset 1461


Ignore:
Timestamp:
03/28/2015 10:16:43 PM (10 years ago)
Author:
djpaul
Message:

BuddyPress.org: fix PHP warnings in codex functions.

These were only noticed when running the codex.buddypress.org theme in a local dev environment that had no content on the home page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions-codex.php

    r1015 r1461  
    295295
    296296        $items = self::get_h2s( $content );
     297        $matches = array();
     298        $replacements = array();
    297299
    298300        foreach ( $items as $item ) {
     
    314316
    315317        $items = self::get_h3s( $content );
     318        $matches = array();
     319        $replacements = array();
    316320
    317321        foreach ( $items as $item ) {
     
    333337
    334338        $items = self::get_h4s( $content );
     339        $matches = array();
     340        $replacements = array();
    335341
    336342        foreach ( $items as $item ) {
Note: See TracChangeset for help on using the changeset viewer.