Make WordPress Core

Ticket #56301: 2-file.php.patch

File 2-file.php.patch, 686 bytes (added by sajjad67, 2 years ago)

$plugin and $theme variable as params

  • file.php

     
    636636                $theme->cache_delete();
    637637        }
    638638
     639        /**
     640         * Fires after theme-plugin file edited (doc will be added, this is just a testing patch).
     641         *
     642         * @since 6.0.0
     643         *
     644         * @param string $real_file The file full path.
     645         * @param string $content New updated content.
     646         * @param string $previous_content Previous content.
     647         * @param string $plugin Plugin.
     648         * @param string $theme Theme .
     649         */
     650        do_action( 'after_theme_plugin_file_edited', $real_file, $content, $previous_content, $plugin, $theme );
     651
    639652        return true;
    640653}
    641654