[wp-trac] [WordPress Trac] #23920: Revisions: clean up wp_ajax_revisions_data()

WordPress Trac noreply at wordpress.org
Wed Apr 3 18:35:44 UTC 2013


#23920: Revisions: clean up wp_ajax_revisions_data()
--------------------------+--------------------
 Reporter:  azaozz        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Revisions     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by SergeyBiryukov):

 While we're at it, could we replace `$linesadded/$linesdeleted` with
 `$lines_added/$lines_deleted` (in `wp_text_diff_with_count()` too), to be
 more readable and in line with the surrounding variable names?

 Same for `$alltherevisions` vs. `$all_the_revisions`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23920#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list