🔞 ADULT: Changeset/ - Uncensored 2025

Changeset 1995912


Ignore:
Timestamp:
12/16/2018 04:30:56 PM (7 years ago)
Author:
GunGeekATX
Message:

1.1.8 release

Location:
wp-revision-list
Files:
13 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-revision-list/trunk/includes/class-wp-revision-list-core.php

    r1195795 r1995912  
    1818
    1919        public function is_revision_list_screen( $is_revision_list_screen, $screen = null ) {
    20             if ( empty ( $screen ) ) {
    21                 $screen = get_current_screen();
     20            if ( function_exists( 'get_current_screen') ) {
     21                if ( empty ( $screen ) ) {
     22                    $screen = get_current_screen();
     23                }
     24                $is_revision_list_screen = $screen->base == 'edit' && in_array( $screen->post_type, $this->selected_post_types( array() ) );
    2225            }
    23             $is_revision_list_screen = $screen->base == 'edit' && in_array( $screen->post_type, $this->selected_post_types( array() ) );
    2426            return $is_revision_list_screen;
    2527        }
  • wp-revision-list/trunk/lang/wp-revision-list.pot

    r1954259 r1995912  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WP Revision List 1.1.7\n"
     5"Project-Id-Version: WP Revision List 1.1.8\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-revision-list\n"
    7 "POT-Creation-Date: 2018-10-09 23:23:17+00:00\n"
     7"POT-Creation-Date: 2018-12-16 16:27:38+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    1515