[wp-trac] [WordPress Trac] #20361: Deal with FALSE value of wp_get_theme() in ~/wp-admin/includes/dashboard.php to avoid making sad owls.

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 29 00:31:29 UTC 2012


#20361: Deal with FALSE value of wp_get_theme() in ~/wp-
admin/includes/dashboard.php to avoid making sad owls.
-----------------------------+-----------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  3.4
Component:  Themes           |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-----------------------
Changes (by emiluzelac):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:11 jkudish]:
 > Replying to [comment:10 emiluzelac]:
 > > No, not the same message, but the Theme notices such as:
 > >
 > > - Notice: add_custom_background is deprecated since version 3.4! Use
 add_theme_support( 'custom-background', $args ) instead. in /wp-
 includes/functions.php on line 2705
 > >
 > > - Notice: add_custom_image_header is deprecated since version 3.4! Use
 add_theme_support( 'custom-header', $args ) instead. in /wp-
 includes/functions.php on line 2705
 > >
 > > will display upon Upload > Theme Activation in (3.4-beta3-20634).
 > >
 > > Just to be clear, that's the only thing visible on the page, notices
 and white page nothing else.
 > >
 > > Emil
 >
 > Neither of those 2 errors have anything to do with this ticket. Your
 theme is simply using two (now) deprecated functions.

 Not sure if I can agree with you and here's why:

 Deprecated functions do not break the WordPress! I am well aware of them
 and they're produced by Twenty Eleven Theme and/or any other Theme with
 the same setup.

 The "error" comes up all the time with debug true and do not break
 anything other than interface a little, when Theme is uploaded and
 activated in right away than deprecated functions will break everything.

 Reopening till this is confirmed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20361#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list