[wp-meta] [Making WordPress.org] #1868: Forums should have a way to view a particular user's posts
Making WordPress.org
noreply at wordpress.org
Thu Aug 18 07:49:22 UTC 2016
#1868: Forums should have a way to view a particular user's posts
----------------------------------+------------------
Reporter: SergeyBiryukov | Owner:
Type: enhancement | Status: new
Priority: high | Milestone:
Component: International Forums | Resolution:
Keywords: |
----------------------------------+------------------
Comment (by netweb):
Replying to [comment:20 ocean90]:
> Not sure why this happens but that's what I've found out:
>
> * The settings page still shows 'users'
> * `wp --url=ja.wordpress.org/support/ option get _bbp_user_favs_slug`
returns an empty value
> * `wp --url=ja.wordpress.org/support/ eval 'echo bbp_get_user_slug();'`
returns 'user' because the default value of `bbp_get_user_slug()` is
'user', see
https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=621#L615
> * There is a `bbp_get_default_options()` function which uses 'users',
see
https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=82#L82
Great catch on the `user`/`users` slug, thanks, will investigate further
and write some tests and fix bbPress side
It looks like maybe none of bbPress options are in the `wp_options` table
for the Dutch and Japanese sites
I expect the correct option values will be there for the Russian site, but
empty for Dutch and Japanese:
* Returns empty: `wp --url=ja.wordpress.org/support/ option get
_bbp_user_favs_slug`
* Returns empty: `wp --url=nl.wordpress.org/support/ option get
_bbp_user_favs_slug`
* Returns `favorites`: `wp --url=ru.wordpress.org/support/ option get
_bbp_user_favs_slug`
Similar for `_bbp_user_slug`, though Dutch and Japanese will pickup that
default `user` value
* Returns `user`: `wp --url=ja.wordpress.org/support/ option get
_bbp_user_slug`
* Returns `user`: `wp --url=nl.wordpress.org/support/ option get
_bbp_user_slug`
* Returns `users`: `wp --url=ru.wordpress.org/support/ option get
_bbp_user_slug`
Are there ''any'' bbPress options at all in `wp_options` for Dutch and
Japanese forum sites? (bbPress uses `_bbp` prefix)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1868#comment:21>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list