Making WordPress.org

Changeset 14568


Ignore:
Timestamp:
10/24/2025 06:52:54 AM (5 months ago)
Author:
dd32
Message:

Plugin Directory: Enable the Cron Job log view for all reviewers.

The contents of the logs are not sensitive, and are useful for diagnosing import issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php

    r14264 r14568  
    747747        );
    748748
     749        add_meta_box(
     750            'cron-logs',
     751            'Cron Job Logs',
     752            array( __NAMESPACE__ . '\Metabox\Cron_Logs', 'display' ),
     753            'plugin', 'normal', 'low'
     754        );
     755
    749756        if ( 'new' !== $post->post_status && 'pending' != $post->post_status ) {
    750757            add_meta_box(
     
    774781                array( __NAMESPACE__ . '\Metabox\Author_Notice', 'display' ),
    775782                'plugin', 'normal', 'high'
    776             );
    777         }
    778 
    779         // For highly trusted users, add a cron-jobs metabox for debugging plugin imports.
    780         if ( is_super_admin() || 'production' !== wp_get_environment_type() ) {
    781             add_meta_box(
    782                 'cron-logs',
    783                 'Cron Job Logs',
    784                 array( __NAMESPACE__ . '\Metabox\Cron_Logs', 'display' ),
    785                 'plugin', 'normal', 'low'
    786783            );
    787784        }
Note: See TracChangeset for help on using the changeset viewer.