Skip to content

Commit

Permalink
Remove some code constants
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleperilli authored Dec 27, 2019
1 parent 60c5cb9 commit 9f1191c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions wordpress-constants
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@
define('PATH_CURRENT_SITE', '');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define( '$c', '" . wp_generate_password( 64, true, true ) . "' );";
define( '$c', '" . substr( array_shift( $from_api ), 28, 64 ) . "' );";

// https://github.com/WordPress/WordPress/blob/master/wordpress/wp-admin/includes/plugin.php
define( 'WP_SANDBOX_SCRAPING', true );
Expand Down Expand Up @@ -327,9 +325,6 @@
define('GETID3_TEMP_DIR', $temp_dir);
define('GETID3_HELPERAPPSDIR', $helperappsdir.DIRECTORY_SEPARATOR);

// https://github.com/WordPress/WordPress/blob/master/wordpress/wp-includes/ID3/module.audio-video.asf.php
define($GUIDname, $this->GUIDtoBytestring($hexstringvalue));

// https://github.com/WordPress/WordPress/blob/master/wordpress/wp-includes/ID3/module.audio-video.flv.php
define('GETID3_FLV_TAG_AUDIO', 8);
define('GETID3_FLV_TAG_VIDEO', 9);
Expand Down

4 comments on commit 9f1191c

@szepeviktor
Copy link
Member

@szepeviktor szepeviktor commented on 9f1191c Dec 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @danieleperilli !

This repo obviously works this ways:

  • put constants in the /source directory on the same path as in WordPress core
  • run the script!

Please follow this in recent changes.
Thank you.

@szepeviktor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danieleperilli What do you think?

@danieleperilli
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand. Unfortunately, I don’t have the time to contribute this way, I am sorry.

@szepeviktor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I suspected you would send one file.

Maybe I could slice your file and identify core path... :)

Please sign in to comment.