Changeset 429221
- Timestamp:
- 08/26/2011 08:23:25 PM (15 years ago)
- Location:
- threaded-comments-management
- Files:
-
- 3 edited
- 20 copied
-
tags/1.0.1 (copied) (copied from threaded-comments-management/trunk)
-
tags/1.0.1/class-wp-tc-comments-list-table.php (copied) (copied from threaded-comments-management/trunk/class-wp-tc-comments-list-table.php)
-
tags/1.0.1/class-wp-tc-comments-list-table.php~ (copied) (copied from threaded-comments-management/trunk/class-wp-tc-comments-list-table.php~)
-
tags/1.0.1/class-wp-tc-xmlrpc-server.php (copied) (copied from threaded-comments-management/trunk/class-wp-tc-xmlrpc-server.php)
-
tags/1.0.1/class-wp-tc-xmlrpc-server.php~ (copied) (copied from threaded-comments-management/trunk/class-wp-tc-xmlrpc-server.php~)
-
tags/1.0.1/grab-bg.png (copied) (copied from threaded-comments-management/trunk/grab-bg.png)
-
tags/1.0.1/js (copied) (copied from threaded-comments-management/trunk/js)
-
tags/1.0.1/readme.txt (copied) (copied from threaded-comments-management/trunk/readme.txt) (2 diffs)
-
tags/1.0.1/screenshot-1.png (copied) (copied from threaded-comments-management/trunk/screenshot-1.png)
-
tags/1.0.1/screenshot-2.png (copied) (copied from threaded-comments-management/trunk/screenshot-2.png)
-
tags/1.0.1/tc.css (copied) (copied from threaded-comments-management/trunk/tc.css)
-
tags/1.0.1/tc.dev.css (copied) (copied from threaded-comments-management/trunk/tc.dev.css)
-
tags/1.0.1/translations (copied) (copied from threaded-comments-management/trunk/translations)
-
tags/1.0.1/wp-tc-ajax.php (copied) (copied from threaded-comments-management/trunk/wp-tc-ajax.php)
-
tags/1.0.1/wp-tc-edit-comments.php (copied) (copied from threaded-comments-management/trunk/wp-tc-edit-comments.php)
-
tags/1.0.1/wp-tc-edit-comments.php~ (copied) (copied from threaded-comments-management/trunk/wp-tc-edit-comments.php~)
-
tags/1.0.1/wp-tc-functions.php (copied) (copied from threaded-comments-management/trunk/wp-tc-functions.php)
-
tags/1.0.1/wp-tc-functions.php~ (copied) (copied from threaded-comments-management/trunk/wp-tc-functions.php~)
-
tags/1.0.1/wp-threaded-comments.php (copied) (copied from threaded-comments-management/trunk/wp-threaded-comments.php) (1 diff)
-
tags/1.0.1/wp-threaded-comments.php~ (copied) (copied from threaded-comments-management/trunk/wp-threaded-comments.php~) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-threaded-comments.php (modified) (1 diff)
-
trunk/wp-threaded-comments.php~ (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
threaded-comments-management/tags/1.0.1/readme.txt
r424887 r429221 4 4 Requires at least: 3.0.0 5 5 Tested up to: 3.1.2 6 Stable tag: 1.0 6 Stable tag: 1.0.1 7 7 8 8 Manage threads of comments and move them around as you wish. … … 39 39 == Changelog == 40 40 41 = 1.0.1 = 42 * Changed a name of the plugin's folder to the correct one during creation of the links. 43 (Wrong name made plugin unusable) 44 41 45 = 1.0 = 42 46 * Initial release -
threaded-comments-management/tags/1.0.1/wp-threaded-comments.php
r424887 r429221 26 26 27 27 $wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php"; 28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/t runk/wp-tc-edit-comments.php";28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/threaded-comments-management/wp-tc-edit-comments.php"; 29 29 $wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php"; 30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/t runk/class-wp-tc-comments-list-table.php";30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/threaded-comments-management/class-wp-tc-comments-list-table.php"; 31 31 $wp_tc_clt = true; 32 32 $wp_tc_ec = true; -
threaded-comments-management/tags/1.0.1/wp-threaded-comments.php~
r424887 r429221 1 1 <?php 2 2 /* 3 Plugin Name: Threaded Comments 3 Plugin Name: Threaded Comments Management 4 4 Version: 1.0 5 5 Author: azram19 6 6 Plugin URI: http://gsoc2011.wordpress.com/threaded-comments 7 7 Description: Plugin improves threaded comments management. 8 Author URI: 8 Text Domain: wptc 9 9 License: GPL2 10 10 … … 25 25 */ 26 26 27 require_once("wp-tc-functions.php"); 28 require_once("class-wp-tc-xmlrpc-server.php"); 27 $wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php"; 28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/trunk/wp-tc-edit-comments.php"; 29 $wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php"; 30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/trunk/class-wp-tc-comments-list-table.php"; 31 $wp_tc_clt = true; 32 $wp_tc_ec = true; 33 require_once( "wp-tc-functions.php" ); 34 require_once( "class-wp-tc-xmlrpc-server.php" ); 29 35 30 remove_all_filters('wp_update_comment'); 31 add_filter('wp_update_comment', 'tc_update_comment', 1, 1); 32 add_filter('admin_init', 'tc_init', 1, 1); 33 add_filter('admin_print_styles', 'tc_styles'); 36 tc_check_symlinks(); 34 37 35 add_filter('wp_xmlrpc_server_class', array('wp_tc_xmlrpc_server', 'get_name')); 38 /* 39 * Overwrite update_comment with a function that supports modification of 40 * `comment_post_ID' and `comment_parent`. 41 */ 42 remove_all_filters( 'wp_update_comment' ); 43 add_filter( 'wp_update_comment', 'tc_update_comment', 1, 1 ); 44 45 add_filter( 'init', 'tc_init', 1, 1 ); 46 47 //Load javascript files and css 48 add_filter( 'admin_init', 'tc_js', 1, 1 ); 49 add_filter( 'admin_print_styles', 'tc_styles' ); 50 51 //Extend XML-RPC 52 add_filter( 'wp_xmlrpc_server_class', array( 'wp_tc_xmlrpc_server', 'get_name' ) ); 36 53 37 54 //Ajax actions 38 add_action( 'wp_ajax_search-post-by-title', 'tc_ajax_post_search');39 add_action( 'wp_ajax_move-by-title', 'tc_ajax_move_by_title');40 add_action( 'wp_ajax_reparent-comment', 'tc_ajax_reparent_comment');41 add_action( 'wp_ajax_move-comment', 'tc_ajax_move_comment');42 add_action( 'wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread');55 add_action( 'wp_ajax_search-post-by-title', 'tc_ajax_post_search' ); 56 add_action( 'wp_ajax_move-by-title', 'tc_ajax_move_by_title' ); 57 add_action( 'wp_ajax_move-comment', 'tc_ajax_move_comment' ); 58 add_action( 'wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread' ); 59 add_action( 'wp_ajax_save_settings-wptc', 'tc_ajax_save_settings' ); 43 60 44 add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable'); 61 //Disable sortable column in comments page 62 add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable' ); 45 63 46 add_action('admin_head-edit-comments.php', 'tc_redirect_to_threaded_view'); 47 add_action( 'trunk/wp-threaded-comments.php', 'tc_install');64 //Redirect eidt-comments.php to a custom page 65 add_action( 'admin_head-edit-comments.php', 'tc_redirect_to_threaded_view' ); 48 66 49 /*register_deactivation_hook(__FILE__, 'tc_uninstall'); 67 //Activate/Deactivate 68 register_deactivation_hook( __FILE__, 'tc_uninstall' ); 50 69 register_activation_hook( __FILE__, 'tc_install' ); 51 */ 70 71 //On-screen options 72 add_filter( 'screen_settings', 'tc_screen_settings', 10, 2 ); 73 add_filter( 'contextual_help', 'tc_contextual_help', 10, 3 ); 74 add_action( 'admin_notices', 'tc_admin_notices' ); 52 75 53 76 ?> -
threaded-comments-management/trunk/readme.txt
r424887 r429221 4 4 Requires at least: 3.0.0 5 5 Tested up to: 3.1.2 6 Stable tag: 1.0 6 Stable tag: 1.0.1 7 7 8 8 Manage threads of comments and move them around as you wish. … … 39 39 == Changelog == 40 40 41 = 1.0.1 = 42 * Changed a name of the plugin's folder to the correct one during creation of the links. 43 (Wrong name made plugin unusable) 44 41 45 = 1.0 = 42 46 * Initial release -
threaded-comments-management/trunk/wp-threaded-comments.php
r424887 r429221 26 26 27 27 $wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php"; 28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/t runk/wp-tc-edit-comments.php";28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/threaded-comments-management/wp-tc-edit-comments.php"; 29 29 $wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php"; 30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/t runk/class-wp-tc-comments-list-table.php";30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/threaded-comments-management/class-wp-tc-comments-list-table.php"; 31 31 $wp_tc_clt = true; 32 32 $wp_tc_ec = true; -
threaded-comments-management/trunk/wp-threaded-comments.php~
r424887 r429221 1 1 <?php 2 2 /* 3 Plugin Name: Threaded Comments 3 Plugin Name: Threaded Comments Management 4 4 Version: 1.0 5 5 Author: azram19 6 6 Plugin URI: http://gsoc2011.wordpress.com/threaded-comments 7 7 Description: Plugin improves threaded comments management. 8 Author URI: 8 Text Domain: wptc 9 9 License: GPL2 10 10 … … 25 25 */ 26 26 27 require_once("wp-tc-functions.php"); 28 require_once("class-wp-tc-xmlrpc-server.php"); 27 $wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php"; 28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/trunk/wp-tc-edit-comments.php"; 29 $wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php"; 30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/trunk/class-wp-tc-comments-list-table.php"; 31 $wp_tc_clt = true; 32 $wp_tc_ec = true; 33 require_once( "wp-tc-functions.php" ); 34 require_once( "class-wp-tc-xmlrpc-server.php" ); 29 35 30 remove_all_filters('wp_update_comment'); 31 add_filter('wp_update_comment', 'tc_update_comment', 1, 1); 32 add_filter('admin_init', 'tc_init', 1, 1); 33 add_filter('admin_print_styles', 'tc_styles'); 36 tc_check_symlinks(); 34 37 35 add_filter('wp_xmlrpc_server_class', array('wp_tc_xmlrpc_server', 'get_name')); 38 /* 39 * Overwrite update_comment with a function that supports modification of 40 * `comment_post_ID' and `comment_parent`. 41 */ 42 remove_all_filters( 'wp_update_comment' ); 43 add_filter( 'wp_update_comment', 'tc_update_comment', 1, 1 ); 44 45 add_filter( 'init', 'tc_init', 1, 1 ); 46 47 //Load javascript files and css 48 add_filter( 'admin_init', 'tc_js', 1, 1 ); 49 add_filter( 'admin_print_styles', 'tc_styles' ); 50 51 //Extend XML-RPC 52 add_filter( 'wp_xmlrpc_server_class', array( 'wp_tc_xmlrpc_server', 'get_name' ) ); 36 53 37 54 //Ajax actions 38 add_action( 'wp_ajax_search-post-by-title', 'tc_ajax_post_search');39 add_action( 'wp_ajax_move-by-title', 'tc_ajax_move_by_title');40 add_action( 'wp_ajax_reparent-comment', 'tc_ajax_reparent_comment');41 add_action( 'wp_ajax_move-comment', 'tc_ajax_move_comment');42 add_action( 'wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread');55 add_action( 'wp_ajax_search-post-by-title', 'tc_ajax_post_search' ); 56 add_action( 'wp_ajax_move-by-title', 'tc_ajax_move_by_title' ); 57 add_action( 'wp_ajax_move-comment', 'tc_ajax_move_comment' ); 58 add_action( 'wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread' ); 59 add_action( 'wp_ajax_save_settings-wptc', 'tc_ajax_save_settings' ); 43 60 44 add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable'); 61 //Disable sortable column in comments page 62 add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable' ); 45 63 46 add_action('admin_head-edit-comments.php', 'tc_redirect_to_threaded_view'); 47 add_action( 'trunk/wp-threaded-comments.php', 'tc_install');64 //Redirect eidt-comments.php to a custom page 65 add_action( 'admin_head-edit-comments.php', 'tc_redirect_to_threaded_view' ); 48 66 49 /*register_deactivation_hook(__FILE__, 'tc_uninstall'); 67 //Activate/Deactivate 68 register_deactivation_hook( __FILE__, 'tc_uninstall' ); 50 69 register_activation_hook( __FILE__, 'tc_install' ); 51 */ 70 71 //On-screen options 72 add_filter( 'screen_settings', 'tc_screen_settings', 10, 2 ); 73 add_filter( 'contextual_help', 'tc_contextual_help', 10, 3 ); 74 add_action( 'admin_notices', 'tc_admin_notices' ); 52 75 53 76 ?>
Note: See TracChangeset
for help on using the changeset viewer.