Plugin Directory

Changeset 3291069


Ignore:
Timestamp:
05/11/2025 02:58:40 AM (9 months ago)
Author:
cyferweb
Message:

fix(login secure): block in admin and login page and minor adjustments

Location:
primelogin-pro
Files:
24 added
3 edited

Legend:

Unmodified
Added
Removed
  • primelogin-pro/trunk/prime-login-pro.php

    r3281409 r3291069  
    22/**
    33 * Plugin Name: PrimeLogin Pro | Login Page Customizer
    4  * Description: PrimeLogin Pro é o plugin definitivo para personalização da tela de login do WordPress. Dois modelos de layout disponíveis – ele transforma o acesso ao seu site em uma experiência única, reforçando a identidade da sua marca.
    5  * Version: 1.0.2
     4 * Description: Customize your WordPress login with custom logo, background, colors & split-screen layouts. Fully responsive, secure & code-free. Free version.
     5 * Version: 1.0.3
    66 * Author: Cyfer Development
    77 * Author URI: https://www.cyfer.com.br/
     
    99 * Requires at least: 5.0
    1010 * Tested up to: 6.8
    11  * Stable tag: 1.0.2
     11 * Stable tag: 1.0.3
    1212 * License: GPLv2 or later
    1313 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1919}
    2020
    21 define( 'PRIME_LOGIN_PRO_VERSION', '1.0.2' );
     21define( 'PRIME_LOGIN_PRO_VERSION', '1.0.3' );
    2222define( 'PRIME_LOGIN_PRO_PLUGIN_FILE', __FILE__ );
    2323
  • primelogin-pro/trunk/public/class-prime-login-pro-public.php

    r3281409 r3291069  
    174174    public function redirect_login_page()
    175175    {
     176        $customizations = get_option('prime_login_pro_customizations', array());
     177        if (empty($customizations['custom_admin_url'])) {
     178            return;
     179        }
     180
    176181        if ( strpos( $_SERVER['PHP_SELF'], 'wp-login.php' ) !== false && 'GET' === $_SERVER['REQUEST_METHOD'] ) {
    177182            // Send 404 header and load 404 template
     
    194199    public function hide_wp_admin()
    195200    {
     201        $customizations = get_option('prime_login_pro_customizations', array());
     202        if (empty($customizations['custom_admin_url'])) {
     203            return;
     204        }
     205
    196206        if ( ! is_user_logged_in() && is_admin() && ! defined( 'DOING_AJAX' ) ) {
    197207            wp_die(
  • primelogin-pro/trunk/readme.txt

    r3281409 r3291069  
    66Tested up to: 6.8
    77Requires PHP: 7.0
    8 Stable tag: 1.0.2
     8Stable tag: 1.0.3
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111Text Domain: primelogin-pro
    1212
    13 Personalize a página de login do seu WordPress com designs modernos e exclusivos. Versões Free e Premium.
     13Customize your WordPress login with custom logo, background, colors & split-screen layouts. Fully responsive, secure & code-free. Free version.
    1414
    15 == Descrição ==
    16 O PrimeLogin Pro transforma a experiência de acesso ao seu site, permitindo personalizar a página de login com duas versões:
    17 • **Template 1:** Um design moderno e minimalista.
    18 • **Template 2:** Um layout dividido exclusivo (60% de imagem, 40% do formulário) que reforça sua marca e aumenta a conversão.
     15== Description ==
     16Customize your WordPress login with custom logo, background, colors & split-screen layouts. Fully responsive, secure & code-free. Free version.
     17**Template 1:** Modern, minimalist design.
     18**Template 2:** Exclusive split-screen layout (60% image, 40% form) that reinforces your branding and boosts conversions.
    1919
    20 Recursos:
    21 – Painel administrativo completo para ajustar logo, cores, tipografia, espaçamentos e textos.
     20== Features ==
     211. Intuitive admin panel to adjust logo, background, colors, spacing, and button and link texts.
     222. Responsive layouts optimized for any device.
     233. Secure, code-free customization—no coding skills required.
     244. Elevate your site’s branding and conversion with a unique, impactful login experience!
    2225
    23 Eleve o branding e a conversão do seu site com uma experiência de login única e impactante!
    24 
    25 == Instalação ==
    26 1. Faça upload da pasta "primelogin-pro" para o diretório /wp-content/plugins/ do seu WordPress.
    27 2. Ative o plugin através do menu "Plugins" no painel administrativo.
    28 3. Acesse o menu "PrimeLogin" para configurar as opções. Na aba "Comprar Premium", adquira a versão Premium para liberar o layout exclusivo e personalizações avançadas.
     26== Installation ==
     271. Upload the "primelogin-pro" folder to the /wp-content/plugins/ directory of your WordPress installation.
     282. Activate the plugin through the "Plugins" menu in WordPress.
     293. Go to "PrimeLogin" in the admin menu to configure settings.
    2930
    3031== Frequently Asked Questions ==
    31 = O que é o PrimeLogin Pro? =
    32 PrimeLogin Pro é um plugin de login para WordPress que permite transformar e personalizar a página de acesso com designs modernos e recursos avançados.
     32= What is PrimeLogin Pro? =
     33PrimeLogin Pro is a WordPress plugin that lets you completely customize your login page with modern designs and advanced features.
    3334
    34 = Posso personalizar todos os elementos da página de login? =
    35 Sim. Os dois modelos de login são personalizáveis ​​com opções de logo, cores, tipografia, espaçamentos e textos.
     35= Can I customize all elements of the login page? =
     36Yes—both free templates support customization of logos, backgrounds, colors, typography, spacing, and texts.
    3637
    37 = Onde posso obter suporte? =
    38 Acesse a aba “Suporte” no menu do plugin para consultar nossa documentação e entrar em contato com nossa equipe.
     38= Where can I get support? =
     39Visit the "Support" tab in the plugin menu to access our documentation and contact our team.
    3940
    4041== Upgrade Notice ==
    41 Lançamento inicial do PrimeLogin Pro.
     42= 1.0.3 =
     43* Was blocking access to /wp-admin even without having a custom url defined and minor adjustments.
    4244
    4345== Screenshots ==
    44 1. **Tela de Login Free:** Visualize o design moderno e minimalista da versão gratuita.
    45 2. **Tela de Login Premium:** Veja o layout dividido exclusivo, com imagem personalizada e formulário otimizado.
     461. **Free Login Screen:** Preview the modern, minimalist design of the free version.
     472. **Split-Screen Login:** Showcase the exclusive split layout with personalized image and optimized form.
     483. **Admin Panel:** Access the admin panel to customize the login page with logos, backgrounds, colors, texts e etc...
    4649
    4750== Changelog ==
    48 = 1.0.0 =
    49 * Lançamento inicial do PrimeLogin Pro.
    50 = 1.0.1 =
    51 * Melhorias de compatibilidade com o WordPress 6.8.
     51= 1.0.3 =
     52* Was blocking access to /wp-admin even without having a custom url defined and minor adjustments.
     53
    5254= 1.0.2 =
    5355* Bug fixes in redirects and other minor improvements.
     56
     57= 1.0.1 =
     58* Improved compatibility with WordPress 6.8.
     59
     60= 1.0.0 =
     61* Initial release of PrimeLogin Pro.
Note: See TracChangeset for help on using the changeset viewer.