Making WordPress.org


Ignore:
Timestamp:
12/19/2017 04:22:37 PM (7 years ago)
Author:
obenland
Message:

PLugins: Clean up formatting with phpcbf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-committers.php

    r2994 r6287  
    11<?php
    22namespace WordPressdotorg\Plugin_Directory\Admin\Metabox;
     3
    34use WordPressdotorg\Plugin_Directory\Admin\List_Table;
    45use WordPressdotorg\Plugin_Directory\Tools;
     
    3637     */
    3738    public static function add_committer() {
    38         $login    = isset( $_POST['add_committer'] ) ? sanitize_user( $_POST['add_committer'] ) : '';
    39         $post_id  = isset( $_POST['post_id'] ) ? (int) $_POST['post_id'] : 0;
     39        $login   = isset( $_POST['add_committer'] ) ? sanitize_user( $_POST['add_committer'] ) : '';
     40        $post_id = isset( $_POST['post_id'] ) ? (int) $_POST['post_id'] : 0;
    4041
    4142        check_ajax_referer( 'add-committer' );
     
    8586     */
    8687    public static function remove_committer() {
    87         $id      = isset( $_POST['id'] )      ? (int) $_POST['id']      : 0;
     88        $id      = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0;
    8889        $post_id = isset( $_POST['post_id'] ) ? (int) $_POST['post_id'] : 0;
    8990
Note: See TracChangeset for help on using the changeset viewer.