Making WordPress.org

Changeset 14341


Ignore:
Timestamp:
01/07/2025 04:16:14 PM (15 months ago)
Author:
aidvu
Message:

meta: slack - fix calling non-static function statically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/slack/trac/resource.php

    r1121 r14341  
    2323    }
    2424
    25     function get( Trac $trac, $id ) {
     25    static function get( Trac $trac, $id ) {
    2626        $key = $trac->get_slug() . ':' . static::get_resource_type() . ':' . $id;
    2727        if ( isset( static::$instances[ $key ] ) ) {
Note: See TracChangeset for help on using the changeset viewer.