Changeset 3506
- Timestamp:
- 06/20/2016 02:41:39 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
r3477 r3506 50 50 add_filter( 'wp_ajax_add-committer', array( __NAMESPACE__ . '\Metabox\Committers', 'add_committer' ) ); 51 51 add_filter( 'wp_ajax_delete-committer', array( __NAMESPACE__ . '\Metabox\Committers', 'remove_committer' ) ); 52 add_action( 'wp_ajax_plugin-author-lookup', array( __NAMESPACE__ . '\Metabox\Author', 'lookup_author' ) ); 52 53 53 54 // Page access within wp-admin. … … 400 401 */ 401 402 public function register_admin_metaboxes( $post_type, $post ) { 402 if ( 'plugin' != $post_type ) {403 if ( 'plugin' !== $post_type ) { 403 404 return; 404 405 } … … 427 428 ); 428 429 } 430 431 add_meta_box( 432 'authordiv', 433 __( 'Author', 'wporg-plugins' ), 434 array( __NAMESPACE__ . '\Metabox\Author', 'display' ), 435 'plugin', 'normal' 436 ); 437 429 438 430 439 add_meta_box( -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r3502 r3506 90 90 ), 91 91 'description' => __( 'A Repo Plugin', 'wporg-plugins' ), 92 'supports' => array( 'comments' ),92 'supports' => array( 'comments', 'author' ), 93 93 'public' => true, 94 94 'show_ui' => true,
Note: See TracChangeset
for help on using the changeset viewer.