Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/23/2015 09:04:35 PM (11 years ago)
Author:
r-a-y
Message:

Admin: Set row_actions() method to public for compatibility with older versions of WordPress.

Fixes a fatal error for those still using WordPress < 4.0.

Props johnjamesjacoby, imath.

Anti-props r-a-y.

See #6606 (trunk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10127 r10131  
    14531453         *
    14541454         * @since 2.3.3
    1455          * @access protected
     1455         * @since 2.3.4 Visibility set to public for compatibility with WP < 4.0.0.
    14561456         *
    14571457         * @param array $actions The list of actions
     
    14591459         * @return string
    14601460         */
    1461         protected function row_actions( $actions, $always_visible = false ) {
     1461        public function row_actions( $actions, $always_visible = false ) {
    14621462                $action_count = count( $actions );
    14631463                $i = 0;
Note: See TracChangeset for help on using the changeset viewer.