WordPress.org

Making WordPress.org

Changeset 5411


Ignore:
Timestamp:
04/25/2017 01:24:19 PM (3 years ago)
Author:
danielbachhuber
Message:

make/cli: Use class variable consistently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-cli/inc/class-markdown-import.php

    r5408 r5411  
    4141        // Fetch all handbook posts for comparison
    4242        $q = new WP_Query( array(
    43             'post_type'      => 'handbook',
     43            'post_type'      => self::$supported_post_types,
    4444            'post_status'    => 'publish',
    4545            'posts_per_page' => self::$posts_per_page,
     
    9191    private static function create_post_from_manifest_doc( $doc, $post_parent = null ) {
    9292        $post_data = array(
    93             'post_type'   => 'handbook',
     93            'post_type'   => self::$supported_post_types,
    9494            'post_status' => 'publish',
    9595            'post_parent' => $post_parent,
     
    110110    public static function action_wporg_cli_markdown_import() {
    111111        $q = new WP_Query( array(
    112             'post_type'      => 'handbook',
     112            'post_type'      => self::$supported_post_types,
    113113            'post_status'    => 'publish',
    114114            'fields'         => 'ids',
Note: See TracChangeset for help on using the changeset viewer.