[wp-trac] [WordPress Trac] #28872: Remove unused $check_urls and $description variables from wp-admin/includes/dashboard.php

WordPress Trac noreply at wordpress.org
Fri Jul 25 00:03:00 UTC 2014


#28872: Remove unused $check_urls and $description variables from wp-
admin/includes/dashboard.php
----------------------------+------------------
 Reporter:  michalzuber     |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  low             |   Milestone:  4.0
Component:  Administration  |     Version:  3.9
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by wonderboymusic):

 {{{
 $func = function ( $one, $two, $three = array() ) {
     $three = 3;
     print_r( func_get_args() );
 };

 $func( 1, 2 );
 }}}

 Results in:

 {{{
 Array
 (
     [0] => 1
     [1] => 2
 )
 }}}

 This never worked - that dashboard code is beyond bizarre

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


More information about the wp-trac mailing list