WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23296


Ignore:
Timestamp:
01/26/13 06:59:27 (2 years ago)
Author:
SergeyBiryukov
Comment:

I've disabled the mbstring extension on my install to force the compat version to run instead, but still could not reproduce the issue.

mb_substr() is called via wp_html_excerpt() for the blog name in Toolbar. If the blog name is empty, the host name is used instead:
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/admin-bar.php#L219

What's the value of $blogname in your case?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23296

    • Property Keywords reporter-feedback added; needs-patch removed
    • Property Component changed from Upgrade/Install to Warnings/Notices
  • Ticket #23296 – Description

    initial v1  
    11'''Error:''' implode(): Invalid arguments passed 
    2 [[BR]][[BR]] 
    3 The implode function have invalid Arguments.[[BR]] 
    4 [[BR]] 
     2 
     3The implode function have invalid Arguments. 
     4 
    55'''URL:''' /wp-admin/edit.php 
    66[[BR]]'''HTTP referrer:''' http://adrean-test.eatserver.nl/wp-admin/update-core.php 
    77 
    8 '''FIX (wp-includes/compat.php - Line 32):'''[[BR]] 
     8'''FIX (wp-includes/compat.php - Line 32):''' 
     9{{{ 
    910return ($chars  ? implode( '', $chars ) : array()); 
    10 [[BR]][[BR]] 
     11}}} 
    1112'''Stacktrace:''' 
    12 [[BR]]in implode called at /www/htdocs-test/wp-includes/compat.php (32) 
    13 [[BR]]in _mb_substr called at /www/htdocs-test/wp-includes/compat.php (18) 
    14 [[BR]]in mb_substr called at /www/htdocs-test/wp-includes/formatting.php (3096) 
    15 [[BR]]in wp_html_excerpt called at /www/htdocs-test/wp-includes/admin-bar.php (230) 
    16 [[BR]]in wp_admin_bar_site_menu called at ? (?) 
    17 [[BR]]in call_user_func_array called at /www/htdocs-test/wp-includes/plugin.php (487) 
    18 [[BR]]in do_action_ref_array called at /www/htdocs-test/wp-includes/admin-bar.php (58) 
    19 [[BR]]in wp_admin_bar_render called at ? (?) 
    20 [[BR]]in call_user_func_array called at /www/htdocs-test/wp-includes/plugin.php (406) 
    21 [[BR]]in do_action called at /www/htdocs-test/wp-admin/admin-header.php (113) 
    22 [[BR]]in require_once called at /www/htdocs-test/wp-admin/edit.php (220) 
     13{{{ 
     14in implode called at /www/htdocs-test/wp-includes/compat.php (32) 
     15in _mb_substr called at /www/htdocs-test/wp-includes/compat.php (18) 
     16in mb_substr called at /www/htdocs-test/wp-includes/formatting.php (3096) 
     17in wp_html_excerpt called at /www/htdocs-test/wp-includes/admin-bar.php (230) 
     18in wp_admin_bar_site_menu called at ? (?) 
     19in call_user_func_array called at /www/htdocs-test/wp-includes/plugin.php (487) 
     20in do_action_ref_array called at /www/htdocs-test/wp-includes/admin-bar.php (58) 
     21in wp_admin_bar_render called at ? (?) 
     22in call_user_func_array called at /www/htdocs-test/wp-includes/plugin.php (406) 
     23in do_action called at /www/htdocs-test/wp-admin/admin-header.php (113) 
     24in require_once called at /www/htdocs-test/wp-admin/edit.php (220) 
     25}}}