Changeset 5951 for trunk/src/includes/admin/settings.php
- Timestamp:
- 10/28/2015 04:07:50 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/settings.php (modified) (68 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/settings.php
r5948 r5951 16 16 * Get the Forums settings sections. 17 17 * 18 * @since bbPress (r4001) 18 * @since 2.1.0 bbPress (r4001) 19 * 19 20 * @return array 20 21 */ … … 77 78 * Get all of the settings fields. 78 79 * 79 * @since bbPress (r4001) 80 * @since 2.1.0 bbPress (r4001) 81 * 80 82 * @return type 81 83 */ … … 430 432 * Get settings fields by section. 431 433 * 432 * @since bbPress (r4001) 434 * @since 2.1.0 bbPress (r4001) 435 * 433 436 * @param string $section_id 434 437 * @return mixed False if section is invalid, array of fields otherwise. … … 454 457 * User settings section description for the settings page 455 458 * 456 * @since bbPress (r2786)459 * @since 2.0.0 bbPress (r2786) 457 460 */ 458 461 function bbp_admin_setting_callback_user_section() { … … 468 471 * Edit lock setting field 469 472 * 470 * @since bbPress (r2737)473 * @since 2.0.0 bbPress (r2737) 471 474 * 472 475 * @uses bbp_form_option() To output the option value … … 484 487 * Throttle setting field 485 488 * 486 * @since bbPress (r2737)489 * @since 2.0.0 bbPress (r2737) 487 490 * 488 491 * @uses bbp_form_option() To output the option value … … 500 503 * Allow anonymous posting setting field 501 504 * 502 * @since bbPress (r2737)505 * @since 2.0.0 bbPress (r2737) 503 506 * 504 507 * @uses checked() To display the checked attribute … … 516 519 * Allow global access setting field 517 520 * 518 * @since bbPress (r3378)521 * @since 2.0.0 bbPress (r3378) 519 522 * 520 523 * @uses checked() To display the checked attribute … … 553 556 * Features settings section description for the settings page 554 557 * 555 * @since bbPress (r2786)558 * @since 2.0.0 bbPress (r2786) 556 559 */ 557 560 function bbp_admin_setting_callback_features_section() { … … 566 569 * Allow favorites setting field 567 570 * 568 * @since bbPress (r2786)571 * @since 2.0.0 bbPress (r2786) 569 572 * 570 573 * @uses checked() To display the checked attribute … … 582 585 * Allow subscriptions setting field 583 586 * 584 * @since bbPress (r2737)587 * @since 2.0.0 bbPress (r2737) 585 588 * 586 589 * @uses checked() To display the checked attribute … … 598 601 * Allow topic tags setting field 599 602 * 600 * @since bbPress (r4944)603 * @since 2.4.0 bbPress (r4944) 601 604 * 602 605 * @uses checked() To display the checked attribute … … 614 617 * Allow forum-mods setting field 615 618 * 616 * @since bbPress (r5834)619 * @since 2.6.0 bbPress (r5834) 617 620 * 618 621 * @uses checked() To display the checked attribute … … 630 633 * Allow forum wide search 631 634 * 632 * @since bbPress (r4970)635 * @since 2.4.0 bbPress (r4970) 633 636 * 634 637 * @uses checked() To display the checked attribute … … 648 651 * Replies will be threaded if depth is 2 or greater 649 652 * 650 * @since bbPress (r4944)653 * @since 2.4.0 bbPress (r4944) 651 654 * 652 655 * @uses apply_filters() Calls 'bbp_thread_replies_depth_max' to set a … … 686 689 * Allow topic and reply revisions 687 690 * 688 * @since bbPress (r3412)691 * @since 2.0.0 bbPress (r3412) 689 692 * 690 693 * @uses checked() To display the checked attribute … … 702 705 * Use the WordPress editor setting field 703 706 * 704 * @since bbPress (r3586)707 * @since 2.1.0 bbPress (r3586) 705 708 * 706 709 * @uses checked() To display the checked attribute … … 718 721 * Main subtheme section 719 722 * 720 * @since bbPress (r2786)723 * @since 2.0.0 bbPress (r2786) 721 724 */ 722 725 function bbp_admin_setting_callback_subtheme_section() { … … 731 734 * Use the WordPress editor setting field 732 735 * 733 * @since bbPress (r3586)736 * @since 2.1.0 bbPress (r3586) 734 737 * 735 738 * @uses checked() To display the checked attribute … … 765 768 * Allow oEmbed in replies 766 769 * 767 * @since bbPress (r3752)770 * @since 2.1.0 bbPress (r3752) 768 771 * 769 772 * @uses checked() To display the checked attribute … … 783 786 * Per page settings section description for the settings page 784 787 * 785 * @since bbPress (r2786)788 * @since 2.0.0 bbPress (r2786) 786 789 */ 787 790 function bbp_admin_setting_callback_per_page_section() { … … 796 799 * Topics per page setting field 797 800 * 798 * @since bbPress (r2786)801 * @since 2.0.0 bbPress (r2786) 799 802 * 800 803 * @uses bbp_form_option() To output the option value … … 812 815 * Replies per page setting field 813 816 * 814 * @since bbPress (r2786)817 * @since 2.0.0 bbPress (r2786) 815 818 * 816 819 * @uses bbp_form_option() To output the option value … … 830 833 * Per page settings section description for the settings page 831 834 * 832 * @since bbPress (r2786)835 * @since 2.0.0 bbPress (r2786) 833 836 */ 834 837 function bbp_admin_setting_callback_per_rss_page_section() { … … 843 846 * Topics per RSS page setting field 844 847 * 845 * @since bbPress (r2786)848 * @since 2.0.0 bbPress (r2786) 846 849 * 847 850 * @uses bbp_form_option() To output the option value … … 859 862 * Replies per RSS page setting field 860 863 * 861 * @since bbPress (r2786)864 * @since 2.0.0 bbPress (r2786) 862 865 * 863 866 * @uses bbp_form_option() To output the option value … … 877 880 * Slugs settings section description for the settings page 878 881 * 879 * @since bbPress (r2786)882 * @since 2.0.0 bbPress (r2786) 880 883 */ 881 884 function bbp_admin_setting_callback_root_slug_section() { … … 894 897 * Root slug setting field 895 898 * 896 * @since bbPress (r2786)899 * @since 2.0.0 bbPress (r2786) 897 900 * 898 901 * @uses bbp_form_option() To output the option value … … 911 914 * Include root slug setting field 912 915 * 913 * @since bbPress (r2786)916 * @since 2.0.0 bbPress (r2786) 914 917 * 915 918 * @uses checked() To display the checked attribute … … 927 930 * Include root slug setting field 928 931 * 929 * @since bbPress (r2786)932 * @since 2.0.0 bbPress (r2786) 930 933 * 931 934 * @uses checked() To display the checked attribute … … 964 967 * Slugs settings section description for the settings page 965 968 * 966 * @since bbPress (r2786)969 * @since 2.0.0 bbPress (r2786) 967 970 */ 968 971 function bbp_admin_setting_callback_user_slug_section() { … … 977 980 * User slug setting field 978 981 * 979 * @since bbPress (r2786)982 * @since 2.0.0 bbPress (r2786) 980 983 * 981 984 * @uses bbp_form_option() To output the option value … … 994 997 * Topic archive slug setting field 995 998 * 996 * @since bbPress (r2786)999 * @since 2.0.0 bbPress (r2786) 997 1000 * 998 1001 * @uses bbp_form_option() To output the option value … … 1011 1014 * Reply archive slug setting field 1012 1015 * 1013 * @since bbPress (r4932)1016 * @since 2.4.0 bbPress (r4932) 1014 1017 * 1015 1018 * @uses bbp_form_option() To output the option value … … 1028 1031 * Favorites slug setting field 1029 1032 * 1030 * @since bbPress (r4932)1033 * @since 2.4.0 bbPress (r4932) 1031 1034 * 1032 1035 * @uses bbp_form_option() To output the option value … … 1045 1048 * Favorites slug setting field 1046 1049 * 1047 * @since bbPress (r4932)1050 * @since 2.4.0 bbPress (r4932) 1048 1051 * 1049 1052 * @uses bbp_form_option() To output the option value … … 1064 1067 * Slugs settings section description for the settings page 1065 1068 * 1066 * @since bbPress (r2786)1069 * @since 2.0.0 bbPress (r2786) 1067 1070 */ 1068 1071 function bbp_admin_setting_callback_single_slug_section() { … … 1077 1080 * Forum slug setting field 1078 1081 * 1079 * @since bbPress (r2786)1082 * @since 2.0.0 bbPress (r2786) 1080 1083 * 1081 1084 * @uses bbp_form_option() To output the option value … … 1094 1097 * Topic slug setting field 1095 1098 * 1096 * @since bbPress (r2786)1099 * @since 2.0.0 bbPress (r2786) 1097 1100 * 1098 1101 * @uses bbp_form_option() To output the option value … … 1111 1114 * Reply slug setting field 1112 1115 * 1113 * @since bbPress (r2786)1116 * @since 2.0.0 bbPress (r2786) 1114 1117 * 1115 1118 * @uses bbp_form_option() To output the option value … … 1128 1131 * Topic tag slug setting field 1129 1132 * 1130 * @since bbPress (r2786)1133 * @since 2.0.0 bbPress (r2786) 1131 1134 * 1132 1135 * @uses bbp_form_option() To output the option value … … 1146 1149 * View slug setting field 1147 1150 * 1148 * @since bbPress (r2789)1151 * @since 2.0.0 bbPress (r2789) 1149 1152 * 1150 1153 * @uses bbp_form_option() To output the option value … … 1163 1166 * Search slug setting field 1164 1167 * 1165 * @since bbPress (r4579)1168 * @since 2.3.0 bbPress (r4579) 1166 1169 * 1167 1170 * @uses bbp_form_option() To output the option value … … 1182 1185 * Extension settings section description for the settings page 1183 1186 * 1184 * @since bbPress (r3575)1187 * @since 2.1.0 bbPress (r3575) 1185 1188 */ 1186 1189 function bbp_admin_setting_callback_buddypress_section() { … … 1195 1198 * Allow BuddyPress group forums setting field 1196 1199 * 1197 * @since bbPress (r3575)1200 * @since 2.1.0 bbPress (r3575) 1198 1201 * 1199 1202 * @uses checked() To display the checked attribute … … 1211 1214 * Replies per page setting field 1212 1215 * 1213 * @since bbPress (r3575)1216 * @since 2.1.0 bbPress (r3575) 1214 1217 * 1215 1218 * @uses bbp_form_option() To output the option value … … 1239 1242 * Extension settings section description for the settings page 1240 1243 * 1241 * @since bbPress (r3575)1244 * @since 2.1.0 bbPress (r3575) 1242 1245 */ 1243 1246 function bbp_admin_setting_callback_akismet_section() { … … 1253 1256 * Allow Akismet setting field 1254 1257 * 1255 * @since bbPress (r3575)1258 * @since 2.1.0 bbPress (r3575) 1256 1259 * 1257 1260 * @uses checked() To display the checked attribute … … 1271 1274 * The main settings page 1272 1275 * 1273 * @since bbPress (r2643)1276 * @since 2.0.0 bbPress (r2643) 1274 1277 * 1275 1278 * @uses settings_fields() To output the hidden fields for the form … … 1304 1307 * Main settings section description for the settings page 1305 1308 * 1306 * @since bbPress (r3813)1309 * @since 2.1.0 bbPress (r3813) 1307 1310 */ 1308 1311 function bbp_converter_setting_callback_main_section() { … … 1317 1320 * Edit Platform setting field 1318 1321 * 1319 * @since bbPress (r3813)1322 * @since 2.1.0 bbPress (r3813) 1320 1323 */ 1321 1324 function bbp_converter_setting_callback_platform() { … … 1348 1351 * Edit Database Server setting field 1349 1352 * 1350 * @since bbPress (r3813)1353 * @since 2.1.0 bbPress (r3813) 1351 1354 */ 1352 1355 function bbp_converter_setting_callback_dbserver() { … … 1362 1365 * Edit Database Server Port setting field 1363 1366 * 1364 * @since bbPress (r3813)1367 * @since 2.1.0 bbPress (r3813) 1365 1368 */ 1366 1369 function bbp_converter_setting_callback_dbport() { … … 1376 1379 * Edit Database User setting field 1377 1380 * 1378 * @since bbPress (r3813)1381 * @since 2.1.0 bbPress (r3813) 1379 1382 */ 1380 1383 function bbp_converter_setting_callback_dbuser() { … … 1390 1393 * Edit Database Pass setting field 1391 1394 * 1392 * @since bbPress (r3813)1395 * @since 2.1.0 bbPress (r3813) 1393 1396 */ 1394 1397 function bbp_converter_setting_callback_dbpass() { … … 1404 1407 * Edit Database Name setting field 1405 1408 * 1406 * @since bbPress (r3813)1409 * @since 2.1.0 bbPress (r3813) 1407 1410 */ 1408 1411 function bbp_converter_setting_callback_dbname() { … … 1418 1421 * Main settings section description for the settings page 1419 1422 * 1420 * @since bbPress (r3813)1423 * @since 2.1.0 bbPress (r3813) 1421 1424 */ 1422 1425 function bbp_converter_setting_callback_options_section() { … … 1431 1434 * Edit Table Prefix setting field 1432 1435 * 1433 * @since bbPress (r3813)1436 * @since 2.1.0 bbPress (r3813) 1434 1437 */ 1435 1438 function bbp_converter_setting_callback_dbprefix() { … … 1445 1448 * Edit Rows Limit setting field 1446 1449 * 1447 * @since bbPress (r3813)1450 * @since 2.1.0 bbPress (r3813) 1448 1451 */ 1449 1452 function bbp_converter_setting_callback_rows() { … … 1460 1463 * Edit Delay Time setting field 1461 1464 * 1462 * @since bbPress (r3813)1465 * @since 2.1.0 bbPress (r3813) 1463 1466 */ 1464 1467 function bbp_converter_setting_callback_delay_time() { … … 1475 1478 * Edit Restart setting field 1476 1479 * 1477 * @since bbPress (r3813)1480 * @since 2.1.0 bbPress (r3813) 1478 1481 */ 1479 1482 function bbp_converter_setting_callback_restart() { … … 1490 1493 * Edit Clean setting field 1491 1494 * 1492 * @since bbPress (r3813)1495 * @since 2.1.0 bbPress (r3813) 1493 1496 */ 1494 1497 function bbp_converter_setting_callback_clean() { … … 1505 1508 * Edit Convert Users setting field 1506 1509 * 1507 * @since bbPress (r3813)1510 * @since 2.1.0 bbPress (r3813) 1508 1511 */ 1509 1512 function bbp_converter_setting_callback_convert_users() { … … 1556 1559 * Contextual help for Forums settings page 1557 1560 * 1558 * @since bbPress (r3119) 1561 * @since 2.0.0 bbPress (r3119) 1562 * 1559 1563 * @uses get_current_screen() 1560 1564 */ … … 1627 1631 * options array. 1628 1632 * 1629 * @since bbPress (r4347)1633 * @since 2.2.0 bbPress (r4347) 1630 1634 * 1631 1635 * @param string $option_key … … 1638 1642 * Output settings API option 1639 1643 * 1640 * @since bbPress (r3203)1644 * @since 2.0.0 bbPress (r3203) 1641 1645 * 1642 1646 * @uses bbp_get_bbp_form_option() … … 1652 1656 * Return settings API option 1653 1657 * 1654 * @since bbPress (r3203)1658 * @since 2.0.0 bbPress (r3203) 1655 1659 * 1656 1660 * @uses get_option() … … 1688 1692 * Used to check if a bbPress slug conflicts with an existing known slug. 1689 1693 * 1690 * @since bbPress (r3306)1694 * @since 2.0.0 bbPress (r3306) 1691 1695 * 1692 1696 * @param string $slug
Note: See TracChangeset
for help on using the changeset viewer.