Changeset 5951 for trunk/src/includes/admin/tools.php
- Timestamp:
- 10/28/2015 04:07:50 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/tools.php
r5940 r5951 16 16 * Admin repair page 17 17 * 18 * @since bbPress (r2613) Converted from bbPress 1.219 * @since bbPress (r5885) Upgraded to list-table UI18 * @since 2.0.0 bbPress (r2613) Converted from bbPress 1.2 19 * @since 2.6.0 bbPress (r5885) Upgraded to list-table UI 20 20 * 21 21 * @todo Use a real list table … … 163 163 * Handle the processing and feedback of the admin tools page 164 164 * 165 * @since bbPress (r2613)165 * @since 2.0.0 bbPress (r2613) 166 166 * 167 167 * @uses bbp_admin_repair_list() To get the recount list … … 223 223 * Output the URL to run a specific repair tool 224 224 * 225 * @since bbPress (r5885)225 * @since 2.6.0 bbPress (r5885) 226 226 * 227 227 * @param string $component … … 234 234 * Return the URL to run a specific repair tool 235 235 * 236 * @since bbPress (r5885)236 * @since 2.6.0 bbPress (r5885) 237 237 * 238 238 * @param string $component … … 250 250 * Contextual help for Repair Forums tools page 251 251 * 252 * @since bbPress (r5314) 252 * @since 2.6.0 bbPress (r5314) 253 * 253 254 * @uses get_current_screen() 254 255 */ … … 288 289 * Contextual help for Reset Forums tools page 289 290 * 290 * @since bbPress (r5314) 291 * @since 2.6.0 bbPress (r5314) 292 * 291 293 * @uses get_current_screen() 292 294 */ … … 319 321 * Contextual help for Import Forums tools page 320 322 * 321 * @since bbPress (r5314) 323 * @since 2.6.0 bbPress (r5314) 324 * 322 325 * @uses get_current_screen() 323 326 */ … … 378 381 * Assemble the admin notices 379 382 * 380 * @since bbPress (r2613)383 * @since 2.0.0 bbPress (r2613) 381 384 * 382 385 * @param string|WP_Error $message A message to be displayed or {@link WP_Error} … … 432 435 * Register an admin area repair tool 433 436 * 434 * @since bbPress (r5885)437 * @since 2.6.0 bbPress (r5885) 435 438 * 436 439 * @param array $args … … 475 478 * Register the default repair tools 476 479 * 477 * @since bbPress (r5885)480 * @since 2.6.0 bbPress (r5885) 478 481 */ 479 482 function bbp_register_default_repair_tools() { … … 673 676 * Get the array of available repair tools 674 677 * 675 * @since bbPress (r5885)678 * @since 2.6.0 bbPress (r5885) 676 679 * 677 680 * @return array … … 707 710 * Output the repair list search form 708 711 * 709 * @since bbPress (r5885)712 * @since 2.6.0 bbPress (r5885) 710 713 */ 711 714 function bbp_admin_repair_list_search_form() { … … 748 751 * Maybe translate a repair tool component name 749 752 * 750 * @since bbPress (r5885)753 * @since 2.6.0 bbPress (r5885) 751 754 * 752 755 * @param string $component … … 780 783 * Get the array of the repair list 781 784 * 782 * @since bbPress (r2613)785 * @since 2.0.0 bbPress (r2613) 783 786 * 784 787 * @uses apply_filters() Calls 'bbp_repair_list' with the list array … … 837 840 * Get filter links for components for a specific admir repair tool 838 841 * 839 * @since bbPress (r5885)842 * @since 2.6.0 bbPress (r5885) 840 843 * 841 844 * @param array $item … … 869 872 * Get filter links for components for a specific admir repair tool 870 873 * 871 * @since bbPress (r5885)874 * @since 2.6.0 bbPress (r5885) 872 875 * 873 876 * @param array $args … … 952 955 * Recount topic replies 953 956 * 954 * @since bbPress (r2613)957 * @since 2.0.0 bbPress (r2613) 955 958 * 956 959 * @uses wpdb::query() To run our recount sql queries … … 1007 1010 * Recount topic voices 1008 1011 * 1009 * @since bbPress (r2613)1012 * @since 2.0.0 bbPress (r2613) 1010 1013 * 1011 1014 * @uses wpdb::query() To run our recount sql queries … … 1056 1059 * Recount topic hidden replies (spammed/trashed) 1057 1060 * 1058 * @since bbPress (r2747)1061 * @since 2.0.0 bbPress (r2747) 1059 1062 * 1060 1063 * @uses wpdb::query() To run our recount sql queries … … 1095 1098 * Repair group forum ID mappings after a bbPress 1.1 to bbPress 2.2 conversion 1096 1099 * 1097 * @since bbPress (r4395)1100 * @since 2.2.0 bbPress (r4395) 1098 1101 * 1099 1102 * @uses bbp_get_forum_post_type() To get the forum post type … … 1232 1235 * Recount forum topics 1233 1236 * 1234 * @since bbPress (r2613)1237 * @since 2.0.0 bbPress (r2613) 1235 1238 * 1236 1239 * @uses wpdb::query() To run our recount sql queries … … 1269 1272 * Recount forum replies 1270 1273 * 1271 * @since bbPress (r2613)1274 * @since 2.0.0 bbPress (r2613) 1272 1275 * 1273 1276 * @uses wpdb::query() To run our recount sql queries … … 1315 1318 * Recount topics by the users 1316 1319 * 1317 * @since bbPress (r3889)1320 * @since 2.1.0 bbPress (r3889) 1318 1321 * 1319 1322 * @uses bbp_get_topic_post_type() To get the topic post type … … 1367 1370 * Recount topic replied by the users 1368 1371 * 1369 * @since bbPress (r2613)1372 * @since 2.0.0 bbPress (r2613) 1370 1373 * 1371 1374 * @uses bbp_get_reply_post_type() To get the reply post type … … 1419 1422 * Clean the users' favorites 1420 1423 * 1421 * @since bbPress (r2613)1424 * @since 2.0.0 bbPress (r2613) 1422 1425 * 1423 1426 * @uses wpdb::query() To run our recount sql queries … … 1489 1492 * Clean the users' topic subscriptions 1490 1493 * 1491 * @since bbPress (r2668)1494 * @since 2.0.0 bbPress (r2668) 1492 1495 * 1493 1496 * @uses wpdb::query() To run our recount sql queries … … 1558 1561 * Clean the users' forum subscriptions 1559 1562 * 1560 * @since bbPress (r5155)1563 * @since 2.5.0 bbPress (r5155) 1561 1564 * 1562 1565 * @uses wpdb::query() To run our recount sql queries … … 1629 1632 * will be the default role defined in Settings > Forums (Participant). 1630 1633 * 1631 * @since bbPress (r4340)1634 * @since 2.2.0 bbPress (r4340) 1632 1635 * 1633 1636 * @uses bbp_get_user_role_map() To get the map of user roles … … 1686 1689 * Recaches the last post in every topic and forum 1687 1690 * 1688 * @since bbPress (r3040)1691 * @since 2.0.0 bbPress (r3040) 1689 1692 * 1690 1693 * @uses wpdb::query() To run our recount sql queries … … 1815 1818 * Repairs the relationship of sticky topics to the actual parent forum 1816 1819 * 1817 * @since bbPress (r4695)1820 * @since 2.3.0 bbPress (r4695) 1818 1821 * 1819 1822 * @uses wpdb::get_col() To run our recount sql queries … … 1885 1888 * https://bbpress.trac.wordpress.org/ticket/2577 1886 1889 * 1887 * @since bbPress (r5668)1890 * @since 2.6.0 bbPress (r5668) 1888 1891 * 1889 1892 * @uses wpdb::get_col() To run our recount sql queries … … 1934 1937 * Recaches the private and hidden forums 1935 1938 * 1936 * @since bbPress (r4104)1939 * @since 2.2.0 bbPress (r4104) 1937 1940 * 1938 1941 * @uses bbp_repair_forum_visibility() To update private and hidden forum ids … … 1955 1958 * Recaches the parent forum meta for each topic and reply 1956 1959 * 1957 * @since bbPress (r3876)1960 * @since 2.1.0 bbPress (r3876) 1958 1961 * 1959 1962 * @uses wpdb::query() To run our recount sql queries … … 2010 2013 * Recaches the topic for each post 2011 2014 * 2012 * @since bbPress (r3876)2015 * @since 2.1.0 bbPress (r3876) 2013 2016 * 2014 2017 * @uses wpdb::query() To run our recount sql queries … … 2065 2068 * Recalculate reply menu order 2066 2069 * 2067 * @since bbPress (r5367)2070 * @since 2.5.4 bbPress (r5367) 2068 2071 * 2069 2072 * @uses wpdb::query() To run our recount sql queries … … 2124 2127 * Admin reset page 2125 2128 * 2126 * @since bbPress (r2613)2129 * @since 2.0.0 bbPress (r2613) 2127 2130 * 2128 2131 * @uses check_admin_referer() To verify the nonce and the referer … … 2191 2194 * Handle the processing and feedback of the admin tools page 2192 2195 * 2193 * @since bbPress (r2613)2196 * @since 2.0.0 bbPress (r2613) 2194 2197 * 2195 2198 * @uses check_admin_referer() To verify the nonce and the referer
Note: See TracChangeset
for help on using the changeset viewer.