[wp-trac] [WordPress Trac] #60782: The method parameter is never used.

WordPress Trac noreply at wordpress.org
Fri Mar 15 11:27:28 UTC 2024


#60782: The method parameter is never used.
-------------------------+------------------------------
 Reporter:  patelmohip   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by kairav):

 Action is defined here: /wp-admin/includes/admin-filters.php #L 71, 72, 73
 for the function: update_home_siteurl which has 2 as a parameter.


 {{{
 add_action( 'update_option_home', 'update_home_siteurl', 10, 2 );
 add_action( 'update_option_siteurl', 'update_home_siteurl', 10, 2 );
 add_action( 'update_option_page_on_front', 'update_home_siteurl', 10, 2 );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60782#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list