Make WordPress Core

Changeset 950 in tests


Ignore:
Timestamp:
08/05/2012 10:18:07 PM (14 years ago)
Author:
nbachiyski
Message:

Typo: missed a paren when defining the methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/factory.php

    r949 r950  
    3434        }
    3535
    36         function get_object_by_id $post_id ) {
     36        function get_object_by_id( $post_id ) {
    3737                return get_post( $post_id );
    3838        }
     
    5959        }
    6060
    61         function get_object_by_id $user_id ) {
     61        function get_object_by_id( $user_id ) {
    6262                return get_user( $user_id );
    6363        }
     
    8989        }
    9090
    91         function get_object_by_id $comment_id ) {
     91        function get_object_by_id( $comment_id ) {
    9292                return get_comment( $comment_id );
    9393        }
     
    115115        function update_object( $blog_id, $fields ) {}
    116116
    117         function get_object_by_id $blog_id ) {
     117        function get_object_by_id( $blog_id ) {
    118118                return get_blog_details( $blog_id, false );
    119119        }
     
    154154        }
    155155
    156         function get_object_by_id $term_id ) {
     156        function get_object_by_id( $term_id ) {
    157157                return get_term( $term_id );
    158158        }
     
    203203        }
    204204
    205         abstract function get_object_by_id $object_id );
     205        abstract function get_object_by_id( $object_id );
    206206
    207207        function create_many( $count, $args = array(), $generation_definitions = null ) {
Note: See TracChangeset for help on using the changeset viewer.