Changeset 10301
- Timestamp:
- 09/29/2020 03:02:54 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/page.php
r442 r10301 27 27 $post_authors = array( $post->post_author => 1 ); 28 28 foreach( (array)$revisions as $revision ) { 29 $post_authors[$revision->post_author] += 1; 29 if ( isset( $post_authors[ $revision->post_author ] ) ) { 30 $post_authors[ $revision->post_author ]++; 31 } else { 32 $post_authors[ $revision->post_author ] = 1; 33 } 30 34 } 31 35 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)