質問編集履歴

3

キャプチャ追加

2016/06/25 15:54

投稿

KazuakiHarigaya
KazuakiHarigaya

スコア82

test CHANGED
File without changes
test CHANGED
@@ -21,6 +21,12 @@
21
21
  wordpress バージョン 4.5.2
22
22
 
23
23
  buddypress バージョン 2.6.0
24
+
25
+
26
+
27
+ 管理画面のタイムゾーンの現状です。撮影日2016-06-26 00:49:53
28
+
29
+ ![管理画面の現状の設定](75a0a8a236e76fff82ea9a8eedba4627.png)
24
30
 
25
31
 
26
32
 
@@ -50,6 +56,8 @@
50
56
 
51
57
 
52
58
 
59
+
60
+
53
61
  ご協力ください。
54
62
 
55
63
  よろしくお願いいたします。

2

リンクに修正

2016/06/25 15:54

投稿

KazuakiHarigaya
KazuakiHarigaya

スコア82

test CHANGED
File without changes
test CHANGED
@@ -34,15 +34,19 @@
34
34
 
35
35
  **bp_the_thread_message_time_since()**
36
36
 
37
- https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/message.php#L41
37
+ [https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/message.php#L41](https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/message.php#L41)
38
38
 
39
39
 
40
40
 
41
41
  **bp_message_thread_last_post_date()**
42
42
 
43
- https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php#L101
43
+ [https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php#L101](https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php#L101)
44
44
 
45
45
 
46
+
47
+ 辿ると関数定義しているのは、このファイルです。
48
+
49
+ [https://github.com/buddypress/BuddyPress/blob/67f91f7fb98b90b1bc2d1f23f40d0cc936dd0302/src/bp-messages/bp-messages-template.php](https://github.com/buddypress/BuddyPress/blob/67f91f7fb98b90b1bc2d1f23f40d0cc936dd0302/src/bp-messages/bp-messages-template.php)
46
50
 
47
51
 
48
52
 

1

日付部分のコードを追記

2016/06/24 17:41

投稿

KazuakiHarigaya
KazuakiHarigaya

スコア82

test CHANGED
File without changes
test CHANGED
@@ -24,6 +24,26 @@
24
24
 
25
25
 
26
26
 
27
+ ### 追記
28
+
29
+ 日付や時間を表示している箇所はいくつもあるのですが、現状必要な箇所はこれになります。
30
+
31
+ どちらもメッセージが送られてからの時間を表示する関数です。約9時間遅れます。
32
+
33
+
34
+
35
+ **bp_the_thread_message_time_since()**
36
+
37
+ https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/message.php#L41
38
+
39
+
40
+
41
+ **bp_message_thread_last_post_date()**
42
+
43
+ https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php#L101
44
+
45
+
46
+
27
47
 
28
48
 
29
49
  ご協力ください。