Make WordPress Core


Ignore:
Timestamp:
05/19/2014 06:34:01 AM (11 years ago)
Author:
wonderboymusic
Message:

Add missing access modifiers to methods in WP_Meta_Query.

See #27881, #22234.

File:
1 edited

Legend:

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

    r28328 r28522  
    848848     * @param array $meta_query (optional) A meta query
    849849     */
    850     function __construct( $meta_query = false ) {
     850    public function __construct( $meta_query = false ) {
    851851        if ( !$meta_query )
    852852            return;
     
    876876     * @param array $qv The query variables
    877877     */
    878     function parse_query_vars( $qv ) {
     878    public function parse_query_vars( $qv ) {
    879879        $meta_query = array();
    880880
     
    904904     * @return string MySQL type
    905905     */
    906     function get_cast_for_type( $type = '' ) {
     906    public function get_cast_for_type( $type = '' ) {
    907907        if ( empty( $type ) )
    908908            return 'CHAR';
     
    931931     * @return array( 'join' => $join_sql, 'where' => $where_sql )
    932932     */
    933     function get_sql( $type, $primary_table, $primary_id_column, $context = null ) {
     933    public function get_sql( $type, $primary_table, $primary_id_column, $context = null ) {
    934934        global $wpdb;
    935935
Note: See TracChangeset for help on using the changeset viewer.