Making WordPress.org

Changeset 4580


Ignore:
Timestamp:
12/23/2016 07:03:26 PM (8 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Enable private message notice for class methods.

See #2344.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php

    r4557 r4580  
    13921392        }
    13931393
    1394         // Currently only handling private access messages for functions and hooks.
    1395         if ( ! in_array( get_post_type( $post ), array( 'wp-parser-function', 'wp-parser-hook' ) ) ) {
     1394        // Currently only handling private access messages for functions, hooks, and methods.
     1395        if ( ! in_array( get_post_type( $post ), array( 'wp-parser-function', 'wp-parser-hook', 'wp-parser-method' ) ) ) {
    13961396            return '';
    13971397        }
Note: See TracChangeset for help on using the changeset viewer.