WordPress.org

Make WordPress Core

Changes between Version 6 and Version 7 of Ticket #44383, comment 7


Ignore:
Timestamp:
06/19/2018 11:35:17 AM (14 months ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44383, comment 7

    v6 v7  
    1414}}}
    1515
    16 In {{{/wp-includes/default-filters.php}}} we have the {{{media_buttions()}}} function hooked into {{{media_buttons}}} actions:
     16In {{{/wp-includes/default-filters.php}}} we have the {{{media_buttons()}}} function hooked into {{{media_buttons}}} actions:
    1717
    1818{{{
     
    2424
    2525
    26 The input argument {{{array()}}} will need to be {{{array( '' )}}}, as the previous filter input is {{{''}}}, not null. Also it's necessary, to avoid a PHP notice.
     26The input argument {{{array()}}} will need to be {{{array( '' )}}}, as the previous filter input is {{{''}}}, not {{{null}}}. Also it's necessary, to avoid a PHP notice.
    2727
    2828Then we can consider what would be a suitable {{{$replacement}}} argument.
     
    4646
    4747
    48 PPS: ups my comment got posted before I had finished it, so I had to edit  :)
     48PPS:
     49
     50ups my comment got posted before I had finished it, so I had to edit  :)