Changeset 6573 for trunk/src/templates/default/bbpress-functions.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress-functions.php
r6558 r6573 42 42 * @since 2.1.0 bbPress (r3732) 43 43 * 44 * @uses BBP_Default::setup_globals()45 * @uses BBP_Default::setup_actions()46 44 */ 47 45 public function __construct( $properties = array() ) { … … 65 63 * @access private 66 64 * 67 * @uses add_filter() To add various filters68 * @uses add_action() To add various actions69 65 */ 70 66 private function setup_actions() { … … 123 119 * @since 2.1.0 bbPress (r3732) 124 120 * 125 * @uses wp_enqueue_style() To enqueue the styles126 121 */ 127 122 public function enqueue_styles() { … … 150 145 * @since 2.1.0 bbPress (r3732) 151 146 * 152 * @uses bbp_is_single_forum() To check if it's the forum page153 * @uses bbp_is_single_topic() To check if it's the topic page154 * @uses bbp_thread_replies() To check if threaded replies are enabled155 * @uses bbp_is_single_user_edit() To check if it's the profile edit page156 * @uses wp_enqueue_script() To enqueue the scripts157 147 */ 158 148 public function enqueue_scripts() { … … 219 209 * @since 2.1.0 bbPress (r3732) 220 210 * 221 * @uses bbp_is_single_forum() To check if it's the forum page222 * @uses bbp_is_single_topic() To check if it's the topic page223 * @uses wp_localize_script() To localize the script224 211 */ 225 212 public function localize_topic_script() { … … 240 227 * @since 2.1.0 bbPress (r3732) 241 228 * 242 * @uses bbp_is_favorites_active() To check if favorites are active243 * @uses bbp_is_user_logged_in() To check if user is logged in244 * @uses bbp_get_current_user_id() To get the current user id245 * @uses current_user_can() To check if the current user can edit the user246 * @uses bbp_get_topic() To get the topic247 * @uses wp_verify_nonce() To verify the nonce & check the referer248 * @uses bbp_is_user_favorite() To check if the topic is user's favorite249 * @uses bbp_remove_user_favorite() To remove the topic from user's favorites250 * @uses bbp_add_user_favorite() To add the topic from user's favorites251 * @uses bbp_ajax_response() To return JSON252 229 */ 253 230 public function ajax_favorite() { … … 314 291 * @since 2.1.0 bbPress (r3732) 315 292 * 316 * @uses bbp_is_subscriptions_active() To check if the subscriptions are active317 * @uses bbp_is_user_logged_in() To check if user is logged in318 * @uses bbp_get_current_user_id() To get the current user id319 * @uses current_user_can() To check if the current user can edit the user320 * @uses bbp_get_topic() To get the topic321 * @uses wp_verify_nonce() To verify the nonce322 * @uses bbp_is_user_subscribed() To check if the topic is in user's subscriptions323 * @uses bbp_remove_user_subscriptions() To remove the topic from user's subscriptions324 * @uses bbp_add_user_subscriptions() To add the topic from user's subscriptions325 * @uses bbp_ajax_response() To return JSON326 293 */ 327 294 public function ajax_subscription() {
Note: See TracChangeset
for help on using the changeset viewer.