Making WordPress.org

Changeset 2395


Ignore:
Timestamp:
01/28/2016 12:50:14 AM (10 years ago)
Author:
iandunn
Message:

WordCamp Payments: Rename Payment Requests to Vendor Payments.

Now that we have the Reimbursement Requests post type, this one is only for vendor payments.

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/bootstrap.php

    r2393 r2395  
    33/*
    44* Plugin Name: WordCamp Budgets Dashboard
    5 * Description: Provides an overview of WordCamp budgets, payment requests, and sponsor invoices across the network.
     5* Description: Provides an overview of WordCamp budgets, sponsor invoices, vendor payments, and reimbursement requests across the network.
    66* Version:     0.1
    77* Author:      WordCamp.org
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/payment-requests-dashboard.php

    r2366 r2395  
    185185        $dashboard = add_submenu_page(
    186186            'wordcamp-budgets-dashboard',
    187             'WordCamp Payments Requests',
    188             'Payments Requests',
     187            'WordCamp Vendor Payments',
     188            'Vendor Payments',
    189189            'manage_network',
    190190            'wcp-dashboard',
     
    215215
    216216        <div class="wrap">
    217             <h1>Payment Requests</h1>
     217            <h1>Vendor Payments</h1>
    218218
    219219            <?php settings_errors(); ?>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/bootstrap.php

    r2392 r2395  
    33Plugin Name: WordCamp Budgets
    44Plugin URI:  http://wordcamp.org/
    5 Description: Provides tools for managing WordCamp budgets, sponsor invoices, and payment requests.
     5Description: Provides tools for managing WordCamp budgets, sponsor invoices, vendor payments, and reimbursement requests.
    66Author:      WordCamp.org
    77Author URI:  https://wordcamp.org
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/css/wordcamp-budgets.css

    r2392 r2395  
    6161
    6262/*
    63  * Payment Requests
     63 * Vendor Payments
    6464 */
    6565
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php

    r2373 r2395  
    22
    33/*
    4  * Create the Payment Request post type and associated functionality
     4 * Create the Vendor Payments post type and associated functionality
    55 */
    66class WCP_Payment_Request {
     
    3939    public function register_post_type() {
    4040        $labels = array(
    41             'name'               => _x( 'Payment Requests', 'post type general name', 'wordcamporg' ),
    42             'singular_name'      => _x( 'Payment Request', 'post type singular name', 'wordcamporg' ),
    43             'menu_name'          => _x( 'Payment Requests', 'admin menu', 'wordcamporg' ),
    44             'name_admin_bar'     => _x( 'Payment Request', 'add new on admin bar', 'wordcamporg' ),
    45             'add_new'            => _x( 'Add New', 'payment', 'wordcamporg' ),
    46             'add_new_item'       => __( 'Add New Payment Request', 'wordcamporg' ),
    47             'new_item'           => __( 'New Payment Request', 'wordcamporg' ),
    48             'edit_item'          => __( 'Edit Payment Request', 'wordcamporg' ),
    49             'view_item'          => __( 'View Payment Request', 'wordcamporg' ),
    50             'all_items'          => __( 'Payment Requests', 'wordcamporg' ),
    51             'search_items'       => __( 'Search Payment Requests', 'wordcamporg' ),
    52             'parent_item_colon'  => __( 'Parent Payment Requests:', 'wordcamporg' ),
    53             'not_found'          => __( 'No payment requests found.', 'wordcamporg' ),
    54             'not_found_in_trash' => __( 'No payment requests found in Trash.', 'wordcamporg' )
     41            'name'               => _x( 'Vendor Payments', 'post type general name', 'wordcamporg' ),
     42            'singular_name'      => _x( 'Vendor Payment', 'post type singular name', 'wordcamporg' ),
     43            'menu_name'          => _x( 'Vendor Payments', 'admin menu',             'wordcamporg' ),
     44            'name_admin_bar'     => _x( 'Vendor Payment', 'add new on admin bar',    'wordcamporg' ),
     45            'add_new'            => _x( 'Add New', 'payment',                        'wordcamporg' ),
     46
     47            'add_new_item'       => __( 'Add New Vendor Payment',             'wordcamporg' ),
     48            'new_item'           => __( 'New Vendor Payment',                 'wordcamporg' ),
     49            'edit_item'          => __( 'Edit Vendor Payment',                'wordcamporg' ),
     50            'view_item'          => __( 'View Vendor Paymentt',               'wordcamporg' ),
     51            'all_items'          => __( 'Vendor Payments',                    'wordcamporg' ),
     52            'search_items'       => __( 'Search Vendor Payments',             'wordcamporg' ),
     53            'parent_item_colon'  => __( 'Parent Vendor Payments:',            'wordcamporg' ),
     54            'not_found'          => __( 'No Vendor Payments found.',          'wordcamporg' ),
     55            'not_found_in_trash' => __( 'No Vendor Payments found in Trash.', 'wordcamporg' )
    5556        );
    5657
    5758        $args = array(
    5859            'labels'            => $labels,
    59             'description'       => 'WordCamp Payment Requests',
     60            'description'       => 'WordCamp Vendor Payments',
    6061            'public'            => false,
    6162            'show_ui'           => true,
     
    455456
    456457    /**
    457      * Display the status of a post after its title on the Payment Requests page
     458     * Display the status of a post after its title on the Vendor Payments page
    458459     *
    459460     * @param array $states
     
    507508
    508509    /**
    509      * Determine if the user wants to mark a payment request as incomplete, and if that is valid
     510     * Determine if the user wants to mark a vendor payment as incomplete, and if that is valid
    510511     *
    511512     * @return bool
     
    729730
    730731    /**
    731      * Define columns for the Payment Requests screen.
     732     * Define columns for the Vendor Payments screen.
    732733     *
    733734     * @param array $_columns
     
    761762
    762763    /**
    763      * Render custom columns on the Payment Requests screen.
     764     * Render custom columns on the Vendor Payments screen.
    764765     *
    765766     * @param string $column
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/reimbursement-request.php

    r2392 r2395  
    383383
    384384/**
    385  * Display the status of a post after its title on the Payment Requests page
     385 * Display the status of a post after its title on the Vendor Payments page
    386386 *
    387387 * @todo centralize this, since it's the same in other modules
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/sponsor-invoice.php

    r2357 r2395  
    286286
    287287/**
    288  * Display the status of a post after its title on the Payment Requests page
     288 * Display the status of a post after its title on the Vendor Payments page
    289289 *
    290290 * @param array $states
     
    389389
    390390/**
    391  * Define columns for the Payment Requests screen.
     391 * Define columns for the Vendor Payments screen.
    392392 *
    393393 * @param array $_columns
     
    409409
    410410/**
    411  * Render custom columns on the Payment Requests screen.
     411 * Render custom columns on the Vendor Payments screen.
    412412 *
    413413 * @param string $column
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php

    r2394 r2395  
    411411
    412412    /**
    413      * Attach unattached files to the payment request post
     413     * Attach unattached files to the Vendor Payment post
    414414     *
    415415     * Sometimes users will upload the files manually to the Media Library, instead of using the Add Files button,
Note: See TracChangeset for help on using the changeset viewer.