Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37813, comment 7


Ignore:
Timestamp:
08/26/2016 03:55:41 PM (8 years ago)
Author:
mrahmadawais
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37813, comment 7

    initial v1  
    55I am using SVN diff at the moment. Will check that later.
    66
    7 `@since 4.7.0 Add fourth paramater `$wp_error` to allow  return of WP_Error on failure.`
     7{{{#!php
     8@since 4.7.0 Add fourth paramater `$wp_error` to allow  return of WP_Error on failure.
     9}}}
     10
    811
    912@since is used to depict when was this function introduced. It's not a changelog. So, the line above should not be there. Take a look at my patch https://core.trac.wordpress.org/attachment/ticket/37813/37813.diff and see if there is anything wrong with it. You can use Grunt WP patch https://github.com/aaronjorbin/grunt-patch-wordpress to apply the patch.