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-groups/bp-groups-admin.php

    r10066 r10130  
    14851485     *
    14861486     * @since 2.3.3
    1487      * @access protected
     1487     * @since 2.3.4 Visibility set to public for compatibility with WP < 4.0.0.
    14881488     *
    14891489     * @param array $actions The list of actions
     
    14911491     * @return string
    14921492     */
    1493     protected function row_actions( $actions, $always_visible = false ) {
     1493    public function row_actions( $actions, $always_visible = false ) {
    14941494        $action_count = count( $actions );
    14951495        $i = 0;
Note: See TracChangeset for help on using the changeset viewer.