Make WordPress Core


Ignore:
Timestamp:
02/25/2018 04:35:58 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix code indent in unescape_invalid_shortcodes().

Props joelcj91, GaryJ.
Fixes #43346.

File:
1 edited

Legend:

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

    r42343 r42738  
    459459 */
    460460function unescape_invalid_shortcodes( $content ) {
    461                 // Clean up entire string, avoids re-parsing HTML.
    462                 $trans   = array(
    463                         '[' => '[',
    464                         ']' => ']',
    465                 );
    466                 $content = strtr( $content, $trans );
    467 
    468                 return $content;
     461        // Clean up entire string, avoids re-parsing HTML.
     462        $trans = array(
     463                '[' => '[',
     464                ']' => ']',
     465        );
     466
     467        $content = strtr( $content, $trans );
     468
     469        return $content;
    469470}
    470471
Note: See TracChangeset for help on using the changeset viewer.