WordPress.org

Plugin Directory

Changeset 629249


Ignore:
Timestamp:
11/24/12 01:43:42 (17 months ago)
Author:
scribu
Message:

deploy from git

Location:
posts-to-posts/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • posts-to-posts/trunk/command.php

    r629142 r629249  
    3131        if ( isset( $assoc_args['items'] ) ) { 
    3232            foreach ( _p2p_extract_post_types( $ctype->side ) as $ptype ) { 
    33                 $command = array( 'wp', 'generate', 'posts' ); 
    34                 $assoc_args = array( 'type' => $ptype ); 
     33                $command = array( 'wp', 'post', 'generate' ); 
     34                $assoc_args = array( 'post_type' => $ptype ); 
    3535 
    3636                WP_CLI::launch( WP_CLI::compose_args( $command, $assoc_args ) ); 
  • posts-to-posts/trunk/core/directed-type.php

    r629142 r629249  
    233233    protected function get_default( $args, $p2p_id ) { 
    234234        if ( isset( $args['default_cb'] ) ) 
    235             return call_user_func( $args['default_cb'], p2p_get_connection( $p2p_id ) ); 
     235            return call_user_func( $args['default_cb'], p2p_get_connection( $p2p_id ), $this->direction ); 
    236236 
    237237        if ( !isset( $args['default'] ) ) 
  • posts-to-posts/trunk/posts-to-posts.php

    r598601 r629249  
    33Plugin Name: Posts 2 Posts 
    44Description: Create many-to-many relationships between all types of posts. 
    5 Version: 1.4.3-alpha 
     5Version: 1.4.3 
    66Author: scribu 
    77Author URI: http://scribu.net/ 
     
    1111*/ 
    1212 
    13 define( 'P2P_PLUGIN_VERSION', '1.4' ); 
     13define( 'P2P_PLUGIN_VERSION', '1.4.3' ); 
    1414 
    1515define( 'P2P_TEXTDOMAIN', 'posts-to-posts' ); 
  • posts-to-posts/trunk/readme.txt

    r596913 r629249  
    33Tags: connections, custom post types, relationships, many-to-many, users 
    44Requires at least: 3.4 
    5 Tested up to: 3.4 
    6 Stable tag: 1.4.2 
     5Tested up to: 3.5 
     6Stable tag: 1.4.3 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    3232 
    3333After activating it, refer to the [Basic usage](https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage) tutorial. 
    34  
     34  
    3535Additional info can be found on the [wiki](http://github.com/scribu/wp-posts-to-posts/wiki). 
    3636 
     
    5353 
    5454== Changelog == 
     55 
     56= 1.4.3 = 
     57* various bug fixes 
     58* added 'inline' mode for shortcodes 
     59* replaced 'trash' icon with 'minus' icon 
     60* pass direction to 'default_cb' 
    5561 
    5662= 1.4.2 = 
Note: See TracChangeset for help on using the changeset viewer.