[wp-trac] [WordPress Trac] #44051: Improve `WP_Privacy_Policy_Content::get_default_content()` readability

WordPress Trac noreply at wordpress.org
Wed Jul 18 00:31:08 UTC 2018


#44051: Improve `WP_Privacy_Policy_Content::get_default_content()` readability
-------------------------------------+-------------------------------
 Reporter:  desrosj                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.9.8
Component:  Privacy                  |     Version:  4.9.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  coding-standards
-------------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 The readability seems fine to me as is.

 I agree with @ovann86 though that `$descr` should be renamed to
 `$include_descriptions` for clarity.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44051#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list