WordPress.org

Plugin Directory

Changeset 635121


Ignore:
Timestamp:
12/06/12 21:56:53 (17 months ago)
Author:
scribu
Message:

deploy from git

File:
1 edited

Legend:

Unmodified
Added
Removed
  • posts-to-posts/trunk/core/type.php

    r629142 r635121  
    9999 
    100100    private function expand_labels( $additional_labels, $key ) { 
    101         $additional_labels['create'] = __( 'Create connections', P2P_TEXTDOMAIN ); 
    102  
    103101        $labels = clone $this->side[ $key ]->get_labels(); 
    104  
    105         foreach ( $additional_labels as $key => $var ) 
     102        $labels->create = __( 'Create connections', P2P_TEXTDOMAIN ); 
     103 
     104        foreach ( $additional_labels[ $key ] as $key => $var ) 
    106105            $labels->$key = $var; 
    107106 
Note: See TracChangeset for help on using the changeset viewer.