Plugin Directory

Changeset 3274230


Ignore:
Timestamp:
04/16/2025 07:28:13 AM (11 months ago)
Author:
Annubis
Message:

update to wp 6.8

Location:
wp-smart-seo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-smart-seo/trunk/readme.txt

    r3217516 r3274230  
    55Version: 1.8.1
    66Requires at least: 4.0
    7 Tested up to: 6.7.1
     7Tested up to: 6.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wp-smart-seo/trunk/wp-smart-seo.php

    r3217516 r3274230  
    88Author URI: http://www.ericmaechler.com
    99Requires at least: 4.0
    10 Tested up to: 6.7.1
     10Tested up to: 6.8
    1111Text Domain: wp-smart-seo
    1212Domain Path: /languages
     
    1414
    1515
    16 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
     16if (! defined('ABSPATH')) exit; // Exit if accessed directly
    1717
    1818
    19 function my_plugin_init_wpsmartseo() {
    20     load_plugin_textdomain( 'wp-smart-seo', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    21   }
    22   add_action('init', 'my_plugin_init_wpsmartseo');
     19function my_plugin_init_wpsmartseo()
     20{
     21  load_plugin_textdomain('wp-smart-seo', false, dirname(plugin_basename(__FILE__)) . '/languages');
     22}
     23add_action('init', 'my_plugin_init_wpsmartseo');
    2324
    2425
    2526include 'conf.php';
    2627
    27 remove_action( 'wp_head', '_wp_render_title_tag', 1 );
     28remove_action('wp_head', '_wp_render_title_tag', 1);
    2829
    2930/* add meta box */
     
    4546
    4647
    47 function enqueue_styles_wpsmartseo() {
    48 // Beispiel für ein Plugin
    49 wp_enqueue_style( 'custom', plugins_url('css/wp-smart-seo.css',__FILE__), array(), 1.0, 'screen' );
     48function enqueue_styles_wpsmartseo()
     49{
     50  // Beispiel für ein Plugin
     51  wp_enqueue_style('custom', plugins_url('css/wp-smart-seo.css', __FILE__), array(), 1.0, 'screen');
    5052}
    51 add_action( 'admin_enqueue_scripts', 'enqueue_styles_wpsmartseo');
     53add_action('admin_enqueue_scripts', 'enqueue_styles_wpsmartseo');
    5254
    5355
    5456
    55 function enqueue_admin_scripts_wpsmartseo() {
    56 // Beispiel für ein Plugin
    57 wp_enqueue_script( 'custom-script', plugins_url( 'js/wp-smart-seo.js', __FILE__ ), array( 'jquery' ), '1.0' );
     57function enqueue_admin_scripts_wpsmartseo()
     58{
     59  // Beispiel für ein Plugin
     60  wp_enqueue_script('custom-script', plugins_url('js/wp-smart-seo.js', __FILE__), array('jquery'), '1.0');
    5861}
    59    
    60 add_action( 'admin_enqueue_scripts', 'enqueue_admin_scripts_wpsmartseo');
    6162
    62 ?>
     63add_action('admin_enqueue_scripts', 'enqueue_admin_scripts_wpsmartseo');
Note: See TracChangeset for help on using the changeset viewer.