Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/23/2015 09:02:11 PM (9 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.

Fixes #6606 (2.3-branch).

File:
1 edited

Legend:

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

    r10066 r10130  
    14201420     *
    14211421     * @since 2.3.3
    1422      * @access protected
     1422     * @since 2.3.4 Visibility set to public for compatibility with WP < 4.0.0.
    14231423     *
    14241424     * @param array $actions The list of actions
     
    14261426     * @return string
    14271427     */
    1428     protected function row_actions( $actions, $always_visible = false ) {
     1428    public function row_actions( $actions, $always_visible = false ) {
    14291429        $action_count = count( $actions );
    14301430        $i = 0;
Note: See TracChangeset for help on using the changeset viewer.