55 * Plugin URI: https://github.com/s3rgiosan/littlefoot
66 * Requires at least: 6.4
77 * Requires PHP: 7.4
8- * Version: 1.3.0
8+ * Version: 1.3.1
99 * Author: Sérgio Santos
1010 * Author URI: https://s3rgiosan.dev/?utm_source=wp-plugins&utm_medium=littlefoot&utm_campaign=author-uri
1111 * License: MIT
1515 * @package Littlefoot
1616 */
1717
18- namespace s3rgiosan \WP \Littlefoot ;
18+ namespace S3S \WP \Littlefoot ;
1919
2020// If this file is called directly, abort.
2121if ( ! defined ( 'WPINC ' ) ) {
2222 die;
2323}
2424
25- define ( 'S3RGIOSAN_LITTLEFOOT_PATH ' , plugin_dir_path ( __FILE__ ) );
26- define ( 'S3RGIOSAN_LITTLEFOOT_URL ' , plugin_dir_url ( __FILE__ ) );
25+ define ( 'S3S_LITTLEFOOT_PATH ' , plugin_dir_path ( __FILE__ ) );
26+ define ( 'S3S_LITTLEFOOT_URL ' , plugin_dir_url ( __FILE__ ) );
2727
28- if ( file_exists ( S3RGIOSAN_LITTLEFOOT_PATH . 'vendor/autoload.php ' ) ) {
29- require_once S3RGIOSAN_LITTLEFOOT_PATH . 'vendor/autoload.php ' ;
28+ if ( file_exists ( S3S_LITTLEFOOT_PATH . 'vendor/autoload.php ' ) ) {
29+ require_once S3S_LITTLEFOOT_PATH . 'vendor/autoload.php ' ;
3030}
3131
3232/**
@@ -45,7 +45,7 @@ function enqueue_assets() {
4545
4646 $ asset_file = sprintf (
4747 '%s/build/%s.asset.php ' ,
48- untrailingslashit ( S3RGIOSAN_LITTLEFOOT_PATH ),
48+ untrailingslashit ( S3S_LITTLEFOOT_PATH ),
4949 $ filename
5050 );
5151
@@ -57,7 +57,7 @@ function enqueue_assets() {
5757 "littlefoot- $ asset_handle " ,
5858 sprintf (
5959 '%s/build/%s.js ' ,
60- untrailingslashit ( S3RGIOSAN_LITTLEFOOT_URL ),
60+ untrailingslashit ( S3S_LITTLEFOOT_URL ),
6161 $ filename
6262 ),
6363 $ dependencies ,
@@ -74,15 +74,15 @@ function enqueue_assets() {
7474
7575 $ asset_file = sprintf (
7676 '%s/build/%s.css ' ,
77- untrailingslashit ( S3RGIOSAN_LITTLEFOOT_PATH ),
77+ untrailingslashit ( S3S_LITTLEFOOT_PATH ),
7878 $ filename
7979 );
8080
8181 wp_register_style (
8282 "littlefoot- $ asset_handle " ,
8383 sprintf (
8484 '%s/build/%s.css ' ,
85- untrailingslashit ( S3RGIOSAN_LITTLEFOOT_URL ),
85+ untrailingslashit ( S3S_LITTLEFOOT_URL ),
8686 $ filename
8787 ),
8888 [],
0 commit comments