Changeset 10302
- Timestamp:
- 09/29/2020 03:06:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/page.php
r442 r10302 28 28 $post_authors = array( $post->post_author => 1 ); 29 29 foreach( (array)$revisions as $revision ) { 30 $post_authors[$revision->post_author] += 1; 30 if ( isset( $post_authors[ $revision->post_author ] ) ) { 31 $post_authors[ $revision->post_author ]++; 32 } else { 33 $post_authors[ $revision->post_author ] = 1; 34 } 31 35 } 32 36 asort( $post_authors, SORT_NUMERIC );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)