WordPress.org

Plugin Directory

Changeset 1376203


Ignore:
Timestamp:
03/22/16 11:24:27 (22 months ago)
Author:
duncanjbrown
Message:

Deploy from Git

Location:
1pass/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 1pass/trunk/1pass.php

    r1370847 r1376203  
    22/* 
    33Plugin Name: 1Pass 
    4 Version: 1.1.2 
     4Version: 1.1.3 
    55Description: 1Pass for WordPress 
    66Author: 1Pass 
     
    88*/ 
    99 
    10 define( 'ONEPASS_PLUGIN_VERSION', "1.1.2" ); 
     10define( 'ONEPASS_PLUGIN_VERSION', "1.1.3" ); 
    1111 
    1212define( 'ONEPASS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 
  • 1pass/trunk/lib/atom/atom.php

    r1369088 r1376203  
    2828            } 
    2929            $query->set( 'orderby', 'modified' ); 
     30            $query->set( 'post_type', apply_filters( 'onepass_post_types', get_post_types() ) ); 
    3031        } 
    3132    }); 
  • 1pass/trunk/readme.txt

    r1370847 r1376203  
    44Requires at least: 4.0 
    55Tested up to: 4.4.2 
    6 Stable tag: 1.1.2 
     6Stable tag: 1.1.3 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    4242== Changelog == 
    4343 
     44= 1.1.3 = 
     45 
     46Custom Post Types were not appearing in the Atom feed. They do now. 
     47 
    4448= 1.1.2 = 
    4549 
  • 1pass/trunk/tests/test-atom-feed.php

    r1290665 r1376203  
    2121        $this->assertEquals( 0, count( $feed->getItems() ) ); 
    2222    } 
     23 
     24    function testFeedContainsAll1PassPostsIrrespectiveOfPostType() { 
     25        register_post_type( 'cpt', 
     26            array( 
     27                'labels' => array( 
     28                    'name' => 'CPs', 
     29                    'singular_name' => 'CP' 
     30                ), 
     31                'public' => true, 
     32                'capability_type' => 'post', 
     33            ) 
     34        ); 
     35        $post = $this->factory->post->create( ['post_type' => 'cpt'] ); 
     36        $this->markForOnepass( $post ); 
     37 
     38        $feed = $this->load_feed(); 
     39 
     40        $this->assertEquals( 1, count( $feed->getItems() ) ); 
     41    } 
    2342 
    2443    function testFeedComesInOrderOfRecency() { 
  • 1pass/trunk/vendor/autoload.php

    r1370847 r1376203  
    55require_once __DIR__ . '/composer' . '/autoload_real.php'; 
    66 
    7 return ComposerAutoloaderInit8f861460b4aff5b58806295d033b4990::getLoader(); 
     7return ComposerAutoloaderInit03cbe7188cb9c69516c5f246add2e7c7::getLoader(); 
  • 1pass/trunk/vendor/composer/autoload_real.php

    r1370847 r1376203  
    33// autoload_real.php @generated by Composer 
    44 
    5 class ComposerAutoloaderInit8f861460b4aff5b58806295d033b4990 
     5class ComposerAutoloaderInit03cbe7188cb9c69516c5f246add2e7c7 
    66{ 
    77    private static $loader; 
     
    2020        } 
    2121 
    22         spl_autoload_register(array('ComposerAutoloaderInit8f861460b4aff5b58806295d033b4990', 'loadClassLoader'), true, true); 
     22        spl_autoload_register(array('ComposerAutoloaderInit03cbe7188cb9c69516c5f246add2e7c7', 'loadClassLoader'), true, true); 
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 
    24         spl_autoload_unregister(array('ComposerAutoloaderInit8f861460b4aff5b58806295d033b4990', 'loadClassLoader')); 
     24        spl_autoload_unregister(array('ComposerAutoloaderInit03cbe7188cb9c69516c5f246add2e7c7', 'loadClassLoader')); 
    2525 
    2626        $map = require __DIR__ . '/autoload_namespaces.php'; 
Note: See TracChangeset for help on using the changeset viewer.