Plugin Directory

Changeset 3095386


Ignore:
Timestamp:
05/30/2024 10:43:06 PM (10 months ago)
Author:
sebastopolys
Message:

update feature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • maldita-inflacion/tags/1.0.4/src/malinf-malinfInit.php

    r2873969 r3095386  
    99use MALINF\apilog\malinfCrontask;
    1010use MALINF\backend\malinfAdminpost;
     11
    1112use MALINF\backend\malinfGetplpage;
    1213
     
    6263
    6364    public function backstyle(){
    64        if(esc_html($this->pag->getUrlPage())=='malinf_admin'
    65        ||esc_html($this->pag->getUrlPage())=='malinf_welcome'){
     65       if(esc_html($this->pag->getUrlPage('page'))=='malinf_admin'
     66       ||esc_html($this->pag->getUrlPage('page'))=='malinf_welcome'
     67       ||esc_html($this->pag->getUrlPage('page'))=='malinf_config'){
    6668            add_action('admin_enqueue_scripts',[$this, 'bastyle']);
    6769        }
Note: See TracChangeset for help on using the changeset viewer.