Changeset 5335 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
- Timestamp:
- 04/14/2017 09:34:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
r5318 r5335 110 110 case 'post.php': 111 111 wp_enqueue_style( 'plugin-admin-post-css', plugins_url( 'css/edit-form.css', Plugin_Directory\PLUGIN_FILE ), array( 'edit' ), 4 ); 112 wp_enqueue_script( 'plugin-admin-post-js', plugins_url( 'js/edit-form.js', Plugin_Directory\PLUGIN_FILE ), array( 'wp-util', 'wp-lists' ), 2);112 wp_enqueue_script( 'plugin-admin-post-js', plugins_url( 'js/edit-form.js', Plugin_Directory\PLUGIN_FILE ), array( 'wp-util', 'wp-lists' ), 3 ); 113 113 wp_localize_script( 'plugin-admin-post-js', 'pluginDirectory', array( 114 114 'removeCommitterAYS' => __( 'Are you sure you want to remove this committer?', 'wporg-plugins' ), … … 509 509 $comment_auto_approved = true; 510 510 } 511 } 512 } 513 514 // Inherit comment type from parent comment. 515 if ( ! $comment_data['comment_type'] ) { 516 $parent = get_comment( $comment_parent ); 517 if ( $parent && $parent->comment_post_ID == $comment_post_ID ) { 518 $comment_data['comment_type'] = $parent->comment_type; 511 519 } 512 520 }
Note: See TracChangeset
for help on using the changeset viewer.