[wp-meta] [Making WordPress.org] #1376: Number of the link to "Show %d more used by" is wrong,
Making WordPress.org
noreply at wordpress.org
Wed Nov 4 17:07:08 UTC 2015
#1376: Number of the link to "Show %d more used by" is wrong,
--------------------------+-------------------------------------
Reporter: pedroghandi | Owner:
Type: defect | Status: new
Priority: normal | Component: developer.wordpress.org
Resolution: | Keywords: has-patch
--------------------------+-------------------------------------
Description changed by SergeyBiryukov:
Old description:
> Hi, on the Code reference, the sections "Used by" and "Uses" have links
> to show and hide more functions.
>
> For example, here:
> https://developer.wordpress.org/reference/classes/wp_press_this/save_post/
>
> it shows 5 by default and has a link to show 16 more uses, but in
> reality, it only shows more 11. The total references is 16.
>
> It should be
> {{{#!php
> $used_by->post_count - 5
> }}}
> ( see lines 145 and 164 )
> in https://meta.svn.wordpress.org/sites/trunk/wordpress.org/public_html
> /wp-content/themes/pub/wporg-developer/content-reference.php )
>
> or change the wording "Show all used by". If the latter, then "hide more
> used by" should also be changed to something like "show fewer used by"
>
> Same for "Show %d more uses".
>
> do you need a patch or this is trivial to change?
New description:
Hi, on the Code reference, the sections "Used by" and "Uses" have links to
show and hide more functions.
For example, here:
https://developer.wordpress.org/reference/classes/wp_press_this/save_post/
it shows 5 by default and has a link to show 16 more uses, but in reality,
it only shows more 11. The total references is 16.
It should be
{{{#!php
$used_by->post_count - 5
}}}
( see lines 145 and 164 in
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/themes/pub/wporg-developer/content-
reference.php?marks=145,164#L136 )
or change the wording "Show all used by". If the latter, then "hide more
used by" should also be changed to something like "show fewer used by"
Same for "Show %d more uses".
do you need a patch or this is trivial to change?
--
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1376#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list