WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #43985, comment 38


Ignore:
Timestamp:
08/03/2018 10:58:35 PM (17 months ago)
Author:
earnjam
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43985, comment 38

    v1 v2  
    22
    33{{{
    4 #!php
     4#!php
     5<?php
    56public function switch_to_locale( $locale ) {
    67        $current_locale = is_admin() ? get_user_locale() : get_locale();