Add missing access modifiers to methods in `WP_Meta_Query`.

See #27881, #22234.

Built from https://develop.svn.wordpress.org/trunk@28522


git-svn-id: http://core.svn.wordpress.org/trunk@28348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-19 06:35:14 +00:00
parent 821246b4ae
commit b539c1cd76
1 changed files with 4 additions and 4 deletions

View File

@ -847,7 +847,7 @@ class WP_Meta_Query {
*
* @param array $meta_query (optional) A meta query
*/
function __construct( $meta_query = false ) {
public function __construct( $meta_query = false ) {
if ( !$meta_query )
return;
@ -875,7 +875,7 @@ class WP_Meta_Query {
*
* @param array $qv The query variables
*/
function parse_query_vars( $qv ) {
public function parse_query_vars( $qv ) {
$meta_query = array();
// Simple query needs to be first for orderby=meta_value to work correctly
@ -903,7 +903,7 @@ class WP_Meta_Query {
* @param string $type MySQL type to cast meta_value
* @return string MySQL type
*/
function get_cast_for_type( $type = '' ) {
public function get_cast_for_type( $type = '' ) {
if ( empty( $type ) )
return 'CHAR';
@ -930,7 +930,7 @@ class WP_Meta_Query {
* @param object $context (optional) The main query object
* @return array( 'join' => $join_sql, 'where' => $where_sql )
*/
function get_sql( $type, $primary_table, $primary_id_column, $context = null ) {
public function get_sql( $type, $primary_table, $primary_id_column, $context = null ) {
global $wpdb;
if ( ! $meta_table = _get_meta_table( $type ) )