• Hi,

    in Debugmode (WPDebug: true) the Plugin generates deprecated messages.
    https://screencast.com/t/xAurpdWb

    ( ! ) Deprecated: Function split() is deprecated in /Users/staude/Projekte/wpdev/wp-content/plugins/wp-native-dashboard/wp-native-dashboard.php on line 90
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0026	803112	{main}( )	../options-general.php:0
    2	0.0037	919384	require_once( '/Users/staude/Projekte/wpdev/wp-admin/admin.php' )	../options-general.php:10
    3	1.1082	48418848	do_action( )	../admin.php:217
    4	1.1083	48420424	call_user_func_array ( )	../plugin.php:429
    5	1.1083	48420504	wp_native_dashboard->on_show_page( )	../plugin.php:429
    6	1.1102	48420680	do_meta_boxes( )	../wp-native-dashboard.php:611
    7	1.1131	48422712	call_user_func ( )	../template.php:924
    8	1.1131	48422792	wp_native_dashboard->on_print_metabox_installed_i18n( )	../template.php:924
    9	1.1137	48423520	wp_native_dashboard_is_rtl_language( )

    https://www.ads-software.com/plugins/wp-native-dashboard/

Viewing 1 replies (of 1 total)
  • migf1

    (@migf1)

    I just d/led the plugin and noticed the same problem (I’m on wp 3.7.1).

    Replacing the depreciated function split(...) with the function explode(...) in the files: wp-native-dashboard.php and automattic.php inside the plugin’s folder seems to fix the problem.

    It should also run a bit faster since explode() does not use regular expressions (neither does the plugin for those particular tasks, so split() was an overkill anyway, or so I think).

    Hope it helps. Btw, kudos to the author of the plugin, it seems really-really useful.

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated: Function split()’ is closed to new replies.