Plugin Directory

Changeset 3120633


Ignore:
Timestamp:
07/17/2024 04:28:33 PM (20 months ago)
Author:
whyun
Message:

1.5.2

Location:
wpcom-member
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpcom-member/tags/1.5.2/includes/functions.php

    r3120628 r3120633  
    759759function wpmx_allowed_html(){
    760760    require_once WPCOM_ADMIN_FREE_PATH . 'includes/class-utils.php';
    761     return Plugin\Utils_Free::allowed_html();
     761    $utils_class = class_exists('Plugin\Utils_Free') ? Plugin\Utils_Free::class : \WPCOM_ADMIN_UTILS_FREE::class;
     762    return $utils_class::allowed_html();
    762763}
    763764
  • wpcom-member/trunk/includes/functions.php

    r3120628 r3120633  
    759759function wpmx_allowed_html(){
    760760    require_once WPCOM_ADMIN_FREE_PATH . 'includes/class-utils.php';
    761     return Plugin\Utils_Free::allowed_html();
     761    $utils_class = class_exists('Plugin\Utils_Free') ? Plugin\Utils_Free::class : \WPCOM_ADMIN_UTILS_FREE::class;
     762    return $utils_class::allowed_html();
    762763}
    763764
Note: See TracChangeset for help on using the changeset viewer.