• Hi,

    Core function “wp_get_sites” by default returns only up to 100 sites. I suggest you update file “ga_dash_settings.php” to overcome this problem.

    Line:
    foreach (wp_get_sites() as $blog) {

    Change to:
    foreach (wp_get_sites(array( 'limit' => 200 )) as $blog) {

    Our organization has ‘just’ 120 sub sites now and I used value of 200, but you set it to whatever value you think will be best for your plugin.

    I already modified that file in your plugin for us, so please note in change log for future updates if you include it, so I know should I go back and redo change if your update doesn’t includes.

    Thanks mate!

    Boris

    https://wordpress.org/plugins/google-analytics-dashboard-for-wp/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Fix for WP core caused problem’ is closed to new replies.