Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37134, comment 9


Ignore:
Timestamp:
10/05/2016 05:43:07 PM (7 years ago)
Author:
swissspidy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37134, comment 9

    initial v1  
    11[attachment:37134.2.diff] would need inline docs as per the [https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/#4-hooks-actions-and-filters PHP Documentation Standards].
     2
     3Edit: Also, the original `$value` should probably be passed to the filter as the second argument. Otherwise it seems a bit pointless.