xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WP-CLI: Store system $USER in author_meta

westonruter opened this issue · comments

While many sites use shared SSH logins, if you're doing it right each user has a separate shell account. When WP-CLI does some action, we should grab the system user who is actually invoking the command, and store it for display.

cf. wp-cli/wp-cli#1158

Wow you're fast.

I was just coming in here to let you know about that php function. Caveat is that it only works for POSIX shells therefore won't work on Windows. In either case, better than nothing.