mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
General: Fix various instances of incorrect filter docs and incorrect filter and action parameters.
Props keesiemeijer for identifying the issues See #38462 git-svn-id: https://develop.svn.wordpress.org/trunk@41219 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2749,7 +2749,7 @@ function check_theme_switched() {
|
||||
do_action( 'after_switch_theme', $old_theme->get( 'Name' ), $old_theme );
|
||||
} else {
|
||||
/** This action is documented in wp-includes/theme.php */
|
||||
do_action( 'after_switch_theme', $stylesheet );
|
||||
do_action( 'after_switch_theme', $stylesheet, $old_theme );
|
||||
}
|
||||
flush_rewrite_rules();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user