Tests: Use consistent trailing punctuation in markTestSkipped()
messages.
See #51344. git-svn-id: https://develop.svn.wordpress.org/trunk@49027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8b00da747
commit
310799a268
@ -92,7 +92,7 @@ class Tests_DB extends WP_UnitTestCase {
|
|||||||
// Switch to a locale using comma as a decimal point separator.
|
// Switch to a locale using comma as a decimal point separator.
|
||||||
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' );
|
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' );
|
||||||
if ( false === $flag ) {
|
if ( false === $flag ) {
|
||||||
$this->markTestSkipped( 'No European locales available for testing' );
|
$this->markTestSkipped( 'No European locales available for testing.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try an update query.
|
// Try an update query.
|
||||||
@ -716,7 +716,7 @@ class Tests_DB extends WP_UnitTestCase {
|
|||||||
function test_mysqli_flush_sync() {
|
function test_mysqli_flush_sync() {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
if ( ! $wpdb->use_mysqli ) {
|
if ( ! $wpdb->use_mysqli ) {
|
||||||
$this->markTestSkipped( 'mysqli not being used' );
|
$this->markTestSkipped( 'mysqli not being used.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$suppress = $wpdb->suppress_errors( true );
|
$suppress = $wpdb->suppress_errors( true );
|
||||||
@ -1048,7 +1048,7 @@ class Tests_DB extends WP_UnitTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( ! in_array( $expected_charset, array( 'utf8', 'utf8mb4', 'latin1' ), true ) ) {
|
if ( ! in_array( $expected_charset, array( 'utf8', 'utf8mb4', 'latin1' ), true ) ) {
|
||||||
$this->markTestSkipped( 'This test only works with utf8, utf8mb4 or latin1 character sets' );
|
$this->markTestSkipped( 'This test only works with utf8, utf8mb4 or latin1 character sets.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = array( 'post_content' => '¡foo foo foo!' );
|
$data = array( 'post_content' => '¡foo foo foo!' );
|
||||||
|
@ -513,7 +513,7 @@ class Tests_DB_Charset extends WP_UnitTestCase {
|
|||||||
|
|
||||||
$charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
|
$charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
|
||||||
if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
|
if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
|
||||||
$this->markTestSkipped( 'This test requires a utf8 character set' );
|
$this->markTestSkipped( 'This test requires a utf8 character set.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// \xf0\xff\xff\xff is invalid in utf8 and utf8mb4.
|
// \xf0\xff\xff\xff is invalid in utf8 and utf8mb4.
|
||||||
@ -640,7 +640,7 @@ class Tests_DB_Charset extends WP_UnitTestCase {
|
|||||||
|
|
||||||
$charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
|
$charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
|
||||||
if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
|
if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
|
||||||
$this->markTestSkipped( 'This test requires a utf8 character set' );
|
$this->markTestSkipped( 'This test requires a utf8 character set.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Invalid 3-byte and 4-byte sequences.
|
// Invalid 3-byte and 4-byte sequences.
|
||||||
@ -946,7 +946,7 @@ class Tests_DB_Charset extends WP_UnitTestCase {
|
|||||||
|
|
||||||
$charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
|
$charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
|
||||||
if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
|
if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
|
||||||
$this->markTestSkipped( 'This test requires a utf8 character set' );
|
$this->markTestSkipped( 'This test requires a utf8 character set.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertFalse( $wpdb->query( "INSERT INTO {$wpdb->posts} (post_content) VALUES ('foo\xf0\xff\xff\xffbar')" ) );
|
$this->assertFalse( $wpdb->query( "INSERT INTO {$wpdb->posts} (post_content) VALUES ('foo\xf0\xff\xff\xffbar')" ) );
|
||||||
@ -1045,7 +1045,7 @@ class Tests_DB_Charset extends WP_UnitTestCase {
|
|||||||
function test_strip_invalid_text_from_query_cp1251_is_safe() {
|
function test_strip_invalid_text_from_query_cp1251_is_safe() {
|
||||||
$tablename = 'test_cp1251_query_' . rand_str( 5 );
|
$tablename = 'test_cp1251_query_' . rand_str( 5 );
|
||||||
if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) {
|
if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) {
|
||||||
$this->markTestSkipped( "Test requires the 'cp1251' charset" );
|
$this->markTestSkipped( "Test requires the 'cp1251' charset." );
|
||||||
}
|
}
|
||||||
|
|
||||||
$safe_query = "INSERT INTO $tablename( `a` ) VALUES( 'safe data' )";
|
$safe_query = "INSERT INTO $tablename( `a` ) VALUES( 'safe data' )";
|
||||||
@ -1062,7 +1062,7 @@ class Tests_DB_Charset extends WP_UnitTestCase {
|
|||||||
function test_no_db_charset_defined() {
|
function test_no_db_charset_defined() {
|
||||||
$tablename = 'test_cp1251_query_' . rand_str( 5 );
|
$tablename = 'test_cp1251_query_' . rand_str( 5 );
|
||||||
if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) {
|
if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) {
|
||||||
$this->markTestSkipped( "Test requires the 'cp1251' charset" );
|
$this->markTestSkipped( "Test requires the 'cp1251' charset." );
|
||||||
}
|
}
|
||||||
|
|
||||||
$charset = self::$_wpdb->charset;
|
$charset = self::$_wpdb->charset;
|
||||||
|
@ -1081,7 +1081,7 @@ class Tests_Functions extends WP_UnitTestCase {
|
|||||||
*/
|
*/
|
||||||
function test_wp_raise_memory_limit() {
|
function test_wp_raise_memory_limit() {
|
||||||
if ( -1 !== WP_MAX_MEMORY_LIMIT ) {
|
if ( -1 !== WP_MAX_MEMORY_LIMIT ) {
|
||||||
$this->markTestSkipped( 'WP_MAX_MEMORY_LIMIT should be set to -1' );
|
$this->markTestSkipped( 'WP_MAX_MEMORY_LIMIT should be set to -1.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$ini_limit_before = ini_get( 'memory_limit' );
|
$ini_limit_before = ini_get( 'memory_limit' );
|
||||||
|
@ -39,7 +39,7 @@ class Tests_L10n_GetLocale extends WP_UnitTestCase {
|
|||||||
*/
|
*/
|
||||||
public function test_network_option_should_be_fallback_on_multisite() {
|
public function test_network_option_should_be_fallback_on_multisite() {
|
||||||
if ( ! is_multisite() ) {
|
if ( ! is_multisite() ) {
|
||||||
$this->markTestSkipped( __METHOD__ . ' requires Multisite' );
|
$this->markTestSkipped( __METHOD__ . ' requires Multisite.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
global $locale;
|
global $locale;
|
||||||
@ -59,7 +59,7 @@ class Tests_L10n_GetLocale extends WP_UnitTestCase {
|
|||||||
*/
|
*/
|
||||||
public function test_option_should_be_respected_on_nonmultisite() {
|
public function test_option_should_be_respected_on_nonmultisite() {
|
||||||
if ( is_multisite() ) {
|
if ( is_multisite() ) {
|
||||||
$this->markTestSkipped( __METHOD__ . ' does not apply to Multisite' );
|
$this->markTestSkipped( __METHOD__ . ' does not apply to Multisite.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
global $locale;
|
global $locale;
|
||||||
|
@ -73,7 +73,7 @@ class Tests_Get_User_Locale extends WP_UnitTestCase {
|
|||||||
*/
|
*/
|
||||||
public function test_user_locale_is_same_across_network() {
|
public function test_user_locale_is_same_across_network() {
|
||||||
if ( ! is_multisite() ) {
|
if ( ! is_multisite() ) {
|
||||||
$this->markTestSkipped( __METHOD__ . ' requires multisite' );
|
$this->markTestSkipped( __METHOD__ . ' requires Multisite.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$user_locale = get_user_locale();
|
$user_locale = get_user_locale();
|
||||||
|
@ -58,7 +58,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_add() {
|
public function test_add() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertNotEmpty( add_site_meta( self::$site_id, 'foo', 'bar' ) );
|
$this->assertNotEmpty( add_site_meta( self::$site_id, 'foo', 'bar' ) );
|
||||||
@ -67,7 +67,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_add_unique() {
|
public function test_add_unique() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertNotEmpty( add_site_meta( self::$site_id, 'foo', 'bar' ) );
|
$this->assertNotEmpty( add_site_meta( self::$site_id, 'foo', 'bar' ) );
|
||||||
@ -76,7 +76,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_delete() {
|
public function test_delete() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -87,7 +87,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_delete_with_invalid_meta_key_should_return_false() {
|
public function test_delete_with_invalid_meta_key_should_return_false() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertFalse( delete_site_meta( self::$site_id, 'foo' ) );
|
$this->assertFalse( delete_site_meta( self::$site_id, 'foo' ) );
|
||||||
@ -95,7 +95,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_delete_should_respect_meta_value() {
|
public function test_delete_should_respect_meta_value() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -109,7 +109,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_get_with_no_key_should_fetch_all_keys() {
|
public function test_get_with_no_key_should_fetch_all_keys() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -126,7 +126,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_get_with_key_should_fetch_all_for_key() {
|
public function test_get_with_key_should_fetch_all_for_key() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -141,7 +141,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_get_should_respect_single_true() {
|
public function test_get_should_respect_single_true() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -153,7 +153,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_update_should_pass_to_add_when_no_value_exists_for_key() {
|
public function test_update_should_pass_to_add_when_no_value_exists_for_key() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$actual = update_site_meta( self::$site_id, 'foo', 'bar' );
|
$actual = update_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -166,7 +166,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_update_should_return_true_when_updating_existing_value_for_key() {
|
public function test_update_should_return_true_when_updating_existing_value_for_key() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -180,7 +180,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_delete_by_key() {
|
public function test_delete_by_key() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'unique_delete_by_key', 'value', true );
|
add_site_meta( self::$site_id, 'unique_delete_by_key', 'value', true );
|
||||||
@ -197,7 +197,7 @@ if ( is_multisite() ) :
|
|||||||
|
|
||||||
public function test_site_meta_should_be_deleted_when_site_is_deleted() {
|
public function test_site_meta_should_be_deleted_when_site_is_deleted() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$site_id = self::factory()->blog->create(
|
$site_id = self::factory()->blog->create(
|
||||||
@ -223,7 +223,7 @@ if ( is_multisite() ) :
|
|||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
update_site_meta( self::$site_id, 'foo', 'bar' );
|
update_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -238,7 +238,7 @@ if ( is_multisite() ) :
|
|||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
update_site_meta( self::$site_id, 'foo', 'bar' );
|
update_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -259,7 +259,7 @@ if ( is_multisite() ) :
|
|||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
update_site_meta( self::$site_id, 'foo', 'bar' );
|
update_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -281,7 +281,7 @@ if ( is_multisite() ) :
|
|||||||
*/
|
*/
|
||||||
public function test_add_site_meta_should_bust_get_sites_cache() {
|
public function test_add_site_meta_should_bust_get_sites_cache() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -323,7 +323,7 @@ if ( is_multisite() ) :
|
|||||||
*/
|
*/
|
||||||
public function test_update_site_meta_should_bust_get_sites_cache() {
|
public function test_update_site_meta_should_bust_get_sites_cache() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
@ -366,7 +366,7 @@ if ( is_multisite() ) :
|
|||||||
*/
|
*/
|
||||||
public function test_delete_site_meta_should_bust_get_sites_cache() {
|
public function test_delete_site_meta_should_bust_get_sites_cache() {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_id, 'foo', 'bar' );
|
add_site_meta( self::$site_id, 'foo', 'bar' );
|
||||||
|
@ -883,7 +883,7 @@ if ( is_multisite() ) :
|
|||||||
*/
|
*/
|
||||||
public function test_wp_site_query_meta_query( $query, $expected, $strict ) {
|
public function test_wp_site_query_meta_query( $query, $expected, $strict ) {
|
||||||
if ( ! is_site_meta_supported() ) {
|
if ( ! is_site_meta_supported() ) {
|
||||||
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
|
$this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_site_meta( self::$site_ids['wordpress.org/'], 'foo', 'foo' );
|
add_site_meta( self::$site_ids['wordpress.org/'], 'foo', 'foo' );
|
||||||
|
@ -935,7 +935,7 @@ class Tests_Post extends WP_UnitTestCase {
|
|||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
if ( 'utf8' !== $wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
|
if ( 'utf8' !== $wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
|
||||||
$this->markTestSkipped( 'This test is only useful with the utf8 character set' );
|
$this->markTestSkipped( 'This test is only useful with the utf8 character set.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once ABSPATH . '/wp-admin/includes/post.php';
|
require_once ABSPATH . '/wp-admin/includes/post.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user