Make WordPress Core

Ticket #40047: 40047.diff

File 40047.diff, 375 bytes (added by barryceelen, 8 years ago)
  • wp-includes/class-wp-term.php

    diff --git wp-includes/class-wp-term.php wp-includes/class-wp-term.php
    index 8eb87ef..ab80c5c 100644
    final class WP_Term { 
    250250                                }
    251251
    252252                                return sanitize_term( $data, $data->taxonomy, 'raw' );
     253                                break;
     254                        default :
     255                                return get_term_meta( $this->term_id, $key, true );
    253256                }
    254257        }
    255258}