Plugin Directory

Changeset 3005652


Ignore:
Timestamp:
12/05/2023 12:29:14 PM (16 months ago)
Author:
firmcatalyst
Message:

warnings eliminated

Location:
fcp-first-screen-css/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • fcp-first-screen-css/trunk/first-screen.php

    r3004853 r3005652  
    33Plugin Name: First Screen CSS & Settings
    44Description: This is a professional tool to manipulate enqueued Styles and Scripts on your website; add custom CSS to the first screen and not first screen optionally, choose where to apply. Use it to improve your Core Web Vitals score or just add custom styling.
    5 Version: 1.7.0
     5Version: 1.7.1
    66Requires at least: 5.8
    77Tested up to: 6.4
  • fcp-first-screen-css/trunk/inc/admin/main.php

    r3004853 r3005652  
    6969// link the new css from the plugins list
    7070add_filter( 'plugin_action_links_'.FCPFSC_BSN, function($links) {
    71     $settings_link = '<a href="' . esc_url( admin_url( 'post-new.php?post_type='.FCPFSC_SLUG ) ) . '">Add new Settings</a>';
     71    $settings_link = '<a href="' . esc_url( admin_url( 'post-new.php?post_type='.FCPFSC_SLUG ) ) . '">Add new Settings Set</a>';
    7272    array_unshift( $links, $settings_link );
    7373    return $links;
  • fcp-first-screen-css/trunk/inc/apply/main.php

    r3004853 r3005652  
    4747
    4848    // get css by template
    49     $template = get_page_template_slug( $qo->ID );
    50     if ( $template ) { // not default '' and not not-applied false
     49    if ( isset($qo->ID) && $template = get_page_template_slug( $qo->ID ) ) { // not default '' and not not-applied false
    5150        $csss = array_merge( $csss, get_fcpfsc_ids( FCPFSC_PREF.'post-templates', $template ) );
    5251    }
     
    6059
    6160    // filter by exclude
    62     if ( $css_exclude = get_post_meta( $qo->ID, FCPFSC_PREF.'id-exclude' )[0] ?? null ) {
     61    if ( isset($qo->ID) && $css_exclude = get_post_meta( $qo->ID, FCPFSC_PREF.'id-exclude' )[0] ?? null ) {
    6362        $csss = array_values( array_diff( $csss, [ $css_exclude ] ) );
    6463    }
  • fcp-first-screen-css/trunk/readme.txt

    r3004853 r3005652  
    55Tested up to: 6.4
    66Requires PHP: 7.4
    7 Stable tag: 1.7.0
     7Stable tag: 1.7.1
    88Author: Vadim Volkov, Firmcatalyst
    99Author URI: https://firmcatalyst.com
Note: See TracChangeset for help on using the changeset viewer.